Open
Bug 1686450
Opened 4 years ago
Updated 3 years ago
Paginator values are not updated instantaneously when resizing the browser window
Categories
(Toolkit :: Printing, defect, P5)
Toolkit
Printing
Tracking
()
NEW
People
(Reporter: asoncutean, Unassigned, Mentored)
References
(Blocks 1 open bug)
Details
(Whiteboard: [print2021_v86] [old-ui-])
Attachments
(1 file)
4.14 MB,
image/gif
|
Details |
Affected versions
- 85.0b8
- 86.0a1 (2021-01-12)
Affected platforms
- Windows 10
- Windows 7
- macOS 10.15
- Ubuntu 20.04
Steps to reproduce
- Make sure print.tab_modal.enabled is set to true in about:config
- Open Print modal on any long page
- Scroll the Preview a little bit and observe that the paginator reflects correctly the page numerotation
- Resize the window
- Hover the preview and observe the paginator value
Expected result
- The paginator updates its value in accordance with the resize action
Actual result
- The paginator value remains the one shown before the resize action
Regression range
- Not a regression, behavior present since paginator implementation
Additional notes
- Paginator updates its value post resize at soon as the preview is scrolled again
Reporter | ||
Updated•4 years ago
|
Has STR: --- → yes
Comment 1•4 years ago
|
||
We might need to listen for resize events in addition to scroll events to catch this
Component: Print Preview → Printing
Product: Core → Toolkit
Comment 2•3 years ago
|
||
The resize listener would go in PrintingChild.jsm [1], it should be able to reuse the scroll handler [2].
[1] https://searchfox.org/mozilla-central/rev/a9851cca236e03d088d7528dd27445080475a68e/toolkit/actors/PrintingChild.jsm#41
[2] https://searchfox.org/mozilla-central/rev/a9851cca236e03d088d7528dd27445080475a68e/toolkit/actors/PrintingChild.jsm#103
Mentor: mstriemer
Priority: -- → P5
You need to log in
before you can comment on or make changes to this bug.
Description
•