https://bugs.kde.org/show_bug.cgi?id=426430
Bug ID: 426430 Summary: Typewriter annotation doesn't use corrected page orientation Product: okular Version: 1.11.0 Platform: Flatpak OS: Linux Status: REPORTED Severity: normal Priority: NOR Component: general Assignee: okular-devel@kde.org Reporter: skierp...@gmail.com Target Milestone: --- SUMMARY I needed to annotate a PDF with some text, but the PDF had been scanned sideways. So I used View > Orientation > Rotate Right to fix its orientation, then F6 > T to add my text annotation. But Okular also rotated this new annotation, so it appeared sideways. STEPS TO REPRODUCE 1. Open a PDF in Okular (this bug will be clearer if it was scanned sideways hence has wrong orientation). 2. Choose View > Orientation > Rotate Right (or Left) to correct its orientation. 3. Now use the Typewriter tool (F6 > T) to enter a text annotation. OBSERVED RESULT Okular places the text annotation upright on the page according to its _original_ orientation, meaning that it is rotated relative to the page with the corrected orientation. EXPECTED RESULT If you've corrected the page orientation, Okular should place text upright according to the current _corrected_ orientation, not the original page. SOFTWARE/OS VERSIONS Linux/KDE Plasma: KDE Plasma Version: 5.18.5 KDE Frameworks Version: 5.73.0 Qt Version: 5.15.0 (xcb) ADDITIONAL INFORMATION This occurs in Fedora 32's packaged Okular 1.9.3, and I reproduced in the kdeapps flatpak, version 1.11.70. I tried saving the PDF with corrected orientation as a new PDF, opening the new PDF in okular, and then annotating that, and it didn't help, okular "remembered" the original orientation. https://github.com/mozilla/pdf.js/issues/7631#issuecomment-247857666 talks about annotations, rotations, a NoRotate flag in PDF, this might be relevant. -- You are receiving this mail because: You are the assignee for the bug.