Uploaded image for project: 'Confluence Data Center'
  1. Confluence Data Center
  2. CONFSERVER-52836

Tables/columns in PDF export corrupted when images are inserted to table

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Low
    • None
    • 6.1.3, 6.2.3, 6.3.1
    • Page - Export / Import
    • None

    Description

      Summary

      Tables in PDF are corrupted when images are inserted to table

      Environment

      Confluence 6.2.3, Linux64bit, Chrome 55.0.2883.95 (64-bit)

      Steps to Reproduce

      1. Create table1 3 columns by 4 rows
      2. Before inserting any data adjust columns width
      3. Insert jpg pictures to one column, add some text to other columns (I resized each picture size by 1px as workaround to other bug related with images not displayed in PDF export CONFSERVER-34385)
      4. Create table2
      5. Don't change columns widths
      6. Insert the same images as for previous table1 and insert some text in remaining cells.
      7. Save the page
      8. Export page to PDF

      Steps to reproduce recording

      Expected Results

      Table1 and Table2 exported to PDF will have the same column widths as in Confluence page

      Actual Results

      Columns widths in PDF file for Table1 are sized evenly which is different than original Confluence page

      Workaround

      • Install plugin "Confluence Source Editor"
      • Go to problematic page and click on edit. Enter source editing mode.
      • Find table which is not rendered properly in PDF file
      • Remove content containing <colgroup></colgroup> tag

      Attachments

        1. actual.png
          actual.png
          103 kB
        2. expected.png
          expected.png
          126 kB

        Activity

          People

            Unassigned Unassigned
            gkowalczyk GMK
            Votes:
            5 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated: