Bug 408495 - Trim to Selection does not work when the view is rotated
Summary: Trim to Selection does not work when the view is rotated
Status: REPORTED
Alias: None
Product: okular
Classification: Applications
Component: general (show other bugs)
Version: 1.7.2
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Okular developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-06-09 17:25 UTC by Laura David Hurka
Modified: 2019-06-09 17:25 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Laura David Hurka 2019-06-09 17:25:16 UTC
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).