Bug 451519

Summary: Typewriter ignores rotation
Product: [Applications] okular Reporter: jakobdev
Component: generalAssignee: Okular developers <okular-devel>
Status: REPORTED ---    
Severity: normal CC: mikael
Priority: NOR    
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: Manjaro   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: A testfile that needs to be rotated
A screenshot that shows the problem

Description jakobdev 2022-03-15 08:41:48 UTC
Created attachment 147504 [details]
A testfile that needs to be rotated

Steps to reporduce:

1. Open a Document
2. Rotate it
3. Add a Typewriter Annotation

You will see, that the Typewriter still uses the old direction, which results in vertical text.
Comment 1 jakobdev 2022-03-15 08:43:32 UTC
Created attachment 147505 [details]
A screenshot that shows the problem
Comment 2 Mikael 2022-03-16 10:42:22 UTC
I still have this problem with Okular 21.08.3 installed as Flatpak on Debian Buster from Flathub. My testing shows that annotations made in Okular always assume the page is in 'Portrait' format. So if I open a PDF document with 'Landscape' format (without doing any rotation in Okular) and add some annotations; then even if the annotations appear correctly in Okular they will be rotated after saving and opening the PDF-file in another pdf viewer (such as the pdf.online web-app powered by PDFTRON or in Acrobat reader). This affects 'Typewriter' and 'Inline notes' because they show visible text on top of the PDF-pages.