Bug 475426 - Stamps are rendered sideways
Summary: Stamps are rendered sideways
Status: REPORTED
Alias: None
Product: okular
Classification: Applications
Component: PDF backend (show other bugs)
Version: 23.08.1
Platform: Neon Linux
: NOR normal
Target Milestone: ---
Assignee: Okular developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-10-10 13:27 UTC by Jason Playne
Modified: 2023-10-10 13:27 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments
screen recording of a stamp being placed (mouse down) and then rotated after release (1.10 MB, video/webm)
2023-10-10 13:27 UTC, Jason Playne
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jason Playne 2023-10-10 13:27:28 UTC
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