https://bugs.kde.org/show_bug.cgi?id=459209
Bug ID: 459209 Summary: Using tab character in form increases file size by several MB Classification: Unclassified Product: okular Version: 22.04.3 Platform: Debian testing OS: Linux Status: REPORTED Severity: normal Priority: NOR Component: PDF backend Assignee: okular-devel@kde.org Reporter: flor...@fwdekker.com Target Milestone: --- Created attachment 152096 --> https://bugs.kde.org/attachment.cgi?id=152096&action=edit Form that grows when you use a tab symbol in an input SUMMARY If a user puts a tab character into a form, the size of the PDF is increased by several megabytes once saved, even if the tab character is removed immediately after placing it. As a result, I cannot comfortably use Okular to fill in forms without being paranoid about absent-mindedly entering and removing a tab character. STEPS TO REPRODUCE 1. Open the PDF that is attached to this issue. 2. Select "Show Forms". 3. Select the input box to the right of "In welk land heeft u kosten gemaakt?". 4. Press the tab key, or paste the tab symbol (` `). Optionally, press backspace to remove the tab symbol again. (Using Ctrl+Z to remove the character "undoes" the bug correctly.) 5. Deselect "Show Forms". 6. Save the PDF file (using Ctrl+S). 7. Check the file size. OBSERVED RESULT The size of the form has increased by several megabytes, even if the tab symbol is removed with backspace before saving. EXPECTED RESULT The size of the form does not increase (significantly) after saving. SOFTWARE/OS VERSIONS Linux/KDE Plasma: Debian testing KDE Plasma Version: 5.25.4 KDE Frameworks Version: 5.97.0 Qt Version: 5.15.4 ADDITIONAL INFORMATION I wasn't sure which component to select for this issue. My apologies if it is incorrect. -- You are receiving this mail because: You are the assignee for the bug.