Bug 445902

Summary: when the line breaks in the middle of the page, the line cannot be highlighted anymore from anywhere, you have to move to the place where the line broke to get it to recognize the line as a part of the highlight (sometimes works)
Product: [Applications] okular Reporter: strangequark <random1123581321>
Component: generalAssignee: Okular developers <okular-devel>
Status: RESOLVED NOT A BUG    
Severity: minor CC: aacid
Priority: NOR    
Version First Reported In: 21.08.3   
Target Milestone: ---   
Platform: Neon   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description strangequark 2021-11-22 07:13:48 UTC
SUMMARY
Pretty much the summary above


STEPS TO REPRODUCE
1. Try to highlight the ending of a paragraph where the text ends somewhere near the middle of the line. Start the highlight from a couple lines above the end of the paragraph.

OBSERVED RESULT
When the highlighter *is* over the end line, but it's at the right - beyond the end of the text - it doesn't highlight that last line

EXPECTED RESULT
It should be able to highlight the text no matter where over the line it is.

SOFTWARE/OS VERSIONS
Operating System: KDE neon 5.23
KDE Plasma Version: 5.23.3
KDE Frameworks Version: 5.88.0
Qt Version: 5.15.3

ADDITIONAL INFORMATION
This sometimes work, but it also sometimes doesn't, depending on the document
Comment 1 Albert Astals Cid 2021-11-22 09:13:59 UTC
Please attach a document and a video/gif (try using peek for example) of what you mean because I can't figure out what you're reporting.
Comment 2 strangequark 2021-11-22 10:22:37 UTC
(In reply to Albert Astals Cid from comment #1)
> Please attach a document and a video/gif (try using peek for example) of
> what you mean because I can't figure out what you're reporting.

Actually, I can't reproduce it at all anymore. It must have been something with the document I had open.
Sorry for wasting your time.