SUMMARY If the view is rotated (View -> Orientation), Trim to Selection does not work correctly. STEPS TO REPRODUCE 1. Open a document. 2. Rotate it by 90° (View -> Orientation). 3. Activate Trim to Selection and draw a rectangle on the header of a page. OBSERVED RESULT The page is trimmed to a narrow portion at one side, so only the beginnings of all lines are visible. Behaves exactly as in Bug 334297. EXPECTED RESULT Page is trimmed to the drawn selection rectangle. SOFTWARE/OS VERSIONS Okular 1.7.2 KDE Neon 5.15 KDE Plasma Version: 5.15.5 KDE Frameworks Version: 5.58.0 Qt Version: 5.12.0 ADDITIONAL INFORMATION This causes the same issue as Bug 342003 (just tested).