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

Change in the number of characters that fit into the column width after upgrading Confluence.

    XMLWordPrintable

Details

    Description

      Issue Summary

      When Confluence is upgraded from v7.19.0 to v8.5.5, the number of characters that fit into the column width of the tables change.

      This is reproducible on Data Center: yes

      Steps to Reproduce (Upgrading Confluence):

      In Confluence v7.19:

      1. Create a Page.
      2. Add a Table with enough data (or use the below storage format)
      3. Upgrade Confluence to v8.5.5.

      Steps to Reproduce (Using Storage Format):

      1. Import the below storage format in Confluence v7.19 and v8.5.5 to notice the difference.
        • <h1><strong>Version History</strong></h1>
          <table class="wrapped fixed-table"><colgroup><col style="width: 73.0px;" /><col style="width: 94.0px;" /><col style="width: 309.0px;" /><col style="width: 114.0px;" /></colgroup>
          <tbody>
          <tr>
          <th>Version</th>
          <th>Date</th>
          <th>Description</th>
          <th>Author</th></tr>
          <tr>
          <td>1.0</td>
          <td>2023-04-27</td>
          <td>Document creation.</td>
          <td>Test the Column Width</td></tr>
          <tr>
          <td><br /></td>
          <td><br /></td>
          <td><br /></td>
          <td><br /></td></tr>
          <tr>
          <td colspan="1"><br /></td>
          <td colspan="1"><br /></td>
          <td colspan="1"><br /></td>
          <td colspan="1"><br /></td></tr></tbody></table>
          

      Expected Results

      The table displays as it was displayed in v7.19.

      Actual Results

      • Table column width with in the table changes as below.
      • We observed the number of pixels required in Confluence v7.19 and v8.5 to fit the characters within the column is different.
        • Confluence v7.19 requires 73.0px
          • <table class="wrapped fixed-table"><colgroup><col style="width: 73.0px;" /><col style="width: 94.0px;" /><col style="width: 309.0px;" /><col style="width: 114.0px;" /></colgroup>
            
        • Confluence 8.5 requires 88.0px
          • <table class="wrapped fixed-table"><colgroup> <col style="width: 88.0px;" /> <col style="width: 94.0px;" /> <col style="width: 309.0px;" /> <col style="width: 114.0px;" /> </colgroup>
            

      Workaround

      The current workaround is to modify the column width manually. However, there is no workaround to make changes to multiple tables/pages.

      Attachments

        Activity

          People

            Unassigned Unassigned
            91d55d8c0ba7 Sunil Kumar C
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: