Closed
Description
Attach (recommended) or Link to PDF file
compressed.tracemonkey-pldi-09 (5).pdf
Web browser and its version
Edge Version 132.0.2957.140 (Official build) (64-bit), Chrome Version 132.0.6834.160 (Official Build) (64-bit), Firefox Version 135.0 (64-Bit)
Operating system and its version
Windows 10 Version 22H2
PDF.js version
4.10.38
Is the bug present in the latest PDF.js version?
Yes
Is a browser extension
No
Steps to reproduce the problem
- Open the attached document OR open demo document, add annotations, save and open saved document.
- Rotate clockwise 90 Degrees.
- Click on any annotation tool in the toolbar.
What is the expected behavior?
Annotations' positions and size do not change (relative to the page) when the document is rotated and the annotation tools in the toolbar are clicked.
What went wrong?
The annotations will change position / size (most obvious with the highlight annotation).
Link to a viewer
No response
Additional context
Can also be reproduced without rotating the page if document is in landscape format.