SUMMARY *** NOTE: If you are reporting a crash, please try to attach a backtrace with debug symbols. See https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports *** STEPS TO REPRODUCE 1. open pdf 2. select underline annotation 3. try to select a line including the last letter OBSERVED RESULT underline stops at the letter before the last, except when selecting the next line, too EXPECTED RESULT underlined letters in one line. SOFTWARE/OS VERSIONS Linux/KDE Plasma: 5.11.0-44.generic (X11) (available in About System) KDE Plasma Version: 5.23.80 KDE Frameworks Version: 5.90.0 Qt Version: 5.15.3 ADDITIONAL INFORMATION This might be related to https://bugs.kde.org/show_bug.cgi?id=449043 . As a test, I choose the file autotests/data/file1.pdf from the okular sources.
Can you attach a video/gif of that (or put it in imgur)? I can underline just fine.
Created attachment 146361 [details] video showing all steps
(In reply to Albert Astals Cid from comment #1) > Can you attach a video/gif of that (or put it in imgur)? I can underline > just fine. It seems to happen only in a specific cirumstance: 1. open the test file autotests/data/file1.pdf 2. make sure, that the sidebar is shown (settings -> show sidebar) 3. set the zoom level to 400 % (that is a minimal value for me. with larger zoom levels, the problem occurs, with smaller it disapears. My display resolution is 1920x1080) 4. zoom to the end of the first line 5. close okular 6. restart okular from the commandline with the same file as only argument (for me, it shows the file at the end of the first line) 7. select "underline annotation" 8. try to underline starting from the word "file" to the end (for me the underline stops at the letter a in "was") 9. reset the zoom level to 100 % 10. try to underline the full line (the underline stops at the letter "a" again). But one can select the first and the second line together, which includes the end of the first line and the last character.
Defenitely can not reproduce myself :/
height of underline is inconsistent https://gitlab.freedesktop.org/poppler/poppler/-/issues/1215 Hace años que este bug no se corrige