Weird behavior with image resizer
Categories
(Firefox :: PDF Viewer, defect, P1)
Tracking
()
Tracking | Status | |
---|---|---|
firefox-esr115 | --- | unaffected |
firefox126 | --- | unaffected |
firefox127 | --- | verified |
firefox128 | --- | verified |
People
(Reporter: marco, Assigned: calixte)
References
(Regression)
Details
(Keywords: regression)
Attachments
(3 files)
While resizing an image to a smaller size, the image starts sliding down and moves outside the resize box.
Comment 1•9 months ago
|
||
I tried this and wasn't able to reproduce it - Can you provide a PDF?
Reporter | ||
Comment 2•9 months ago
|
||
It's happening on any PDF for me, I think Calixte was able to reproduce and has a potential fix.
Assignee | ||
Comment 3•9 months ago
|
||
It can be easily reproduced in decreasing enough the size in using one of the diagonal resizers.
It's a regression from bug 1894705 and especially from:
https://github.com/mozilla/pdf.js/pull/18019
Comment 4•9 months ago
|
||
Comment 5•9 months ago
|
||
Updated•9 months ago
|
Assignee | ||
Comment 6•9 months ago
|
||
Updated•9 months ago
|
Comment 7•9 months ago
|
||
beta Uplift Approval Request
- User impact if declined: Added images in a pdf could be at a wrong position
- Code covered by automated testing: yes
- Fix verified in Nightly: no
- Needs manual QE test: yes
- Steps to reproduce for manual QE testing: See comment#3
- Risk associated with taking this patch: Low
- Explanation of risk level: Small change and it's a backout
- String changes made/needed: No
- Is Android affected?: no
Reporter | ||
Updated•9 months ago
|
Comment 8•9 months ago
|
||
Set release status flags based on info from the regressing bug 1894705
Updated•9 months ago
|
Comment 9•9 months ago
|
||
I am attempting to verify this fix in all OSes, but I am having a hard time reproducing it. Could you provide some more information about its reproduction? Resizing the browser window that has a PDF with images in focus does not seem to create any unwanted behavior. Also, I don't know of a way to resize an image inside a PDF since it's a viewer and not an editor. I may have misunderstood the steps to reproduce here...
Thank you!
Reporter | ||
Comment 10•9 months ago
|
||
There is a button in the toolbar, in the top right, to add an image. The first step is to add an image, then use the resizing controls (the diagonal one) to make it smaller.
Comment 11•9 months ago
|
||
I can reproduce this issue in Beta v127.0b1 and confirm the fix in Nightly v128.0a1. This issue was tested in Windows 10, MacOS 11 and Ubuntu 22.
This fix will be verified in Beta 127 when it lands. Thank you.
Updated•9 months ago
|
Comment 12•9 months ago
|
||
uplift |
Updated•9 months ago
|
Comment 13•9 months ago
|
||
This fix was verified in Beta v127.0b3 on Windows 10, MacOS 11 and Ubuntu 22.
Description
•