Created attachment 162186 [details] screen recording of a stamp being placed (mouse down) and then rotated after release SUMMARY When adding a stamp to my PDF, it appears sideways on the PDF after adding it. Unfortunately this document has lots of PII as it is for building plans - I was wanting to use a stamp sign "sign" it. PDFs generated by Firefox (printing a page) did not exhibit this behaviour. One lead might be that the problem PDF has a page rotation of 270 degrees whereas the Firefox one does not. PDF DETAILS PdfInfo for the PDF (A3, Landscape) that exhibits the problem: Producer: iLovePDF ModDate: Tue Oct 10 13:34:36 2023 AWST Custom Metadata: no Metadata Stream: no Tagged: no UserProperties: no Suspects: no Form: none JavaScript: no Pages: 3 Encrypted: no Page size: 842 x 1191 pts (A3) Page rot: 270 File size: 1241154 bytes Optimized: no PDF version: 1.7 --- PDF Info for a Firefox Print to PDF (A3, Landscape) that does not exhibit the problem Creator: Mozilla Firefox 118.0.1 Producer: cairo 1.17.4 (https://cairographics.org) CreationDate: Tue Oct 10 21:09:20 2023 AWST Custom Metadata: no Metadata Stream: no Tagged: no UserProperties: no Suspects: no Form: none JavaScript: no Pages: 2 Encrypted: no Page size: 1191 x 842 pts (A3) Page rot: 0 File size: 55240 bytes Optimized: no PDF version: 1.5 --- STEPS TO REPRODUCE 1. Find a PDF that exhibits the problem (hopefully one without lots of PII) 2. Select a Stamp 3. Left Mouse Down and observe the stamp in the correct orientation 4. Release left mouse button and see the stamp rotated OBSERVED RESULT While mouse button down, see stamp in correct orientation on mouse button release see image rotated 90 degrees Counter Clockwise (or 270 degrees clockwise) EXPECTED RESULT Stamp is in correct orientation SOFTWARE/OS VERSIONS Operating System: KDE neon 5.27 KDE Plasma Version: 5.27.8 KDE Frameworks Version: 5.110.0 Qt Version: 5.15.10 Kernel Version: 6.5.6-060506-generic (64-bit) Graphics Platform: Wayland Processors: 24 × AMD Ryzen 9 7900X 12-Core Processor Memory: 30.5 GiB of RAM Graphics Processor: AMD Radeon RX 7900 XT Manufacturer: Gigabyte Technology Co., Ltd. Product Name: B650 AORUS ELITE AX ADDITIONAL INFORMATION
Confirmed this on my system. On the day I created the stamp, it worked properly. Today, with a different PDF, it is exhibiting the same behavior as in the bug report. As a workaround, I added the stamp in Okular, and then used Libre Office Draw to rotate the image Operating System: Solus 4.5 KDE Plasma Version: 6.0.5 KDE Frameworks Version: 6.2.0 Qt Version: 6.7.1 Kernel Version: 6.8.11-292.current (64-bit) Graphics Platform: X11 Okular 24.02.2
pdfinfo for the PDF that exhibits the problem CreationDate: Wed May 8 10:03:13 2024 CDT Custom Metadata: no Metadata Stream: no Tagged: no UserProperties: no Suspects: no Form: none JavaScript: no Pages: 4 Encrypted: no Page size: 841.68 x 595.2 pts (A4) Page rot: 270 File size: 1759725 bytes Optimized: no PDF version: 1.4
A possibly relevant merge request was started @ https://invent.kde.org/graphics/okular/-/merge_requests/1042