SUMMARY STEPS TO REPRODUCE 1. Open a pdf file containing forms 2. Click "Display forms" 3. Try to edit text fiels OBSERVED RESULT Each key press takes more than 4 seconds to appear. If several keys are pressed the window switches to the "unresponsive" state. EXPECTED RESULT Keys pressed should appear immediately. SOFTWARE/OS VERSIONS Linux/KDE Plasma: up to date KDE Neon (available in About System) KDE Plasma Version: KDE Frameworks Version: 5.105.0 Qt Version: 5.15.9 ADDITIONAL INFORMATION
Created attachment 158891 [details] A file presenting the problem
In the attached file, it happens only in the largest text field.
It looks like it is related to 1) the number of newlines and 2) the number of fonts in the system. But likely a poppler issue.
Any chance you can compile a patched poppler ? https://gitlab.freedesktop.org/poppler/poppler/-/merge_requests/1384
This has already been merged. Should I compile it and test it? If yes, how can I retrieve the correct version?
(In reply to Gaël de Chalendar (aka Kleag) from comment #5) > This has already been merged. Should I compile it and test it? If yes, how > can I retrieve the correct version? The correct version would be git master. But you might also be able to get away with getting poppler from your linux distribution and just apply that patch on top.
I built the master of poppler. Installed it in a local folder. Added its bin and lib to PATH and LD_LIBRARY_PATH and started okular from this shell. The bug seems to be effectively corrected.
(In reply to Gaël de Chalendar (aka Kleag) from comment #7) > I built the master of poppler. Installed it in a local folder. Added its bin > and lib to PATH and LD_LIBRARY_PATH and started okular from this shell. The > bug seems to be effectively corrected. thank you for your quick reply. I'm going to mark this as "resolved, upstream". It does not require any more work from KDE people; only from poppler people and distributors.
Great. Thanks a lot for your quick actions.