Bug 464025

Summary: Highlighting in horizontal layout works incorrectly
Product: [Applications] okular Reporter: popescu
Component: markdown backendAssignee: Okular developers <okular-devel>
Status: REPORTED ---    
Severity: normal    
Priority: NOR    
Version First Reported In: 22.12.1   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: showcase of the problem

Description popescu 2023-01-08 22:20:31 UTC
Created attachment 155121 [details]
showcase of the problem

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 with text
2. Rotate page (view -> orientation -> rotate left/right)
3. Use highlighter tool on text

OBSERVED RESULT
The highlight has some giant oval shape and has nothing to do with the text being highlighted.

EXPECTED RESULT
Highlighted text just as in vertical layout.

SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma: 
(available in About System)
KDE Plasma Version: 
KDE Frameworks Version: 
Qt Version: 

ADDITIONAL INFORMATION