Details
-
Bug
-
Resolution: Unresolved
-
Medium
-
None
-
6.7.2, 6.8.0
-
None
-
16
-
Severity 2 - Major
-
1
-
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
- 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>
- 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.