Uploaded image for project: 'Confluence Server and Data Center'
  1. Confluence Server and Data Center
  2. CONFSERVER-55314

PDF export increase in size when using info, tip, warning and note macro.

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Gathering Impact (View Workflow)
    • Priority: Medium
    • Resolution: Unresolved
    • Affects Version/s: 6.8.0, 6.7.2
    • Fix Version/s: None
    • Component/s: Page - Export / Import
    • Labels:
      None

      Description

      Summary

      Adding the info, tip, warning and note macro to the page will increase size of the PDF export. Adding multiple macros will exponentialy increase size of the page pdf export.

      Environment

      Confluence 6.8.0

      Steps to Reproduce

      1. Create a page with this storage format:
        <ac:structured-macro ac:name="info" ac:schema-version="1" ac:macro-id="8e9e864e-e193-4ed1-ade8-de1eea98ec2a"><ac:rich-text-body>
        <p>123</p></ac:rich-text-body></ac:structured-macro><ac:structured-macro ac:name="warning" ac:schema-version="1" ac:macro-id="8b236388-368b-4d85-9e2a-5e61819bc860"><ac:rich-text-body>
        <p>123</p></ac:rich-text-body></ac:structured-macro><ac:structured-macro ac:name="note" ac:schema-version="1" ac:macro-id="d01d05f6-2aa4-453b-8804-7f1bf006f75a"><ac:rich-text-body>
        <p>123</p></ac:rich-text-body></ac:structured-macro><ac:structured-macro ac:name="tip" ac:schema-version="1" ac:macro-id="541616e9-ca10-4c05-bb74-84a81dea507a"><ac:rich-text-body>
        <p>123</p></ac:rich-text-body></ac:structured-macro>
        

      2. Do a PDF export

      Expected Results

      • Size of the page should be around ~7k and adding double amount of macros should increase size of the page 2x or ~14k.

      Actual Results

      Number of macros File size (bytes)
      0 2511
      4 7445
      8 20426
      16 37678
      32 103288
      64 326455
      128 1144154
      256 4020092
      512 15543817

      Notes

      Behavior was not observed in Confluence 5.10.8

      Workaround

      No known workaround.

        Attachments

          Activity

            People

            Assignee:
            Unassigned Unassigned
            Reporter:
            gpaunovic g
            Votes:
            22 Vote for this issue
            Watchers:
            20 Start watching this issue

              Dates

              Created:
              Updated: