Zooming print preview in new print UI flickers, clamps at 100%
Categories
(Core :: Print Preview, defect, P2)
Tracking
()
Tracking | Status | |
---|---|---|
firefox81 | --- | affected |
People
(Reporter: svoisen, Unassigned)
Details
(Whiteboard: [print2020][old-ui+])
STR
- Enable the new print UI via
print.tab_modal.enabled
- Cmd or Ctrl+P to print.
- Focus the print preview and use Cmd or Ctrl+(mousewheel) to zoom in and out.
- Note the flickering of the headers/footers. You cannot zoom in larger than fit-to-window.
- Enable "Zoom Text Only" and repeat.
- When zooming, the text will grow/shrink, but there's no page reflow.
Suggestions
We should probably set a larger max zoom level and disable the "zoom text only" functionality for the print preview. Additionally, we should get UX input on adding buttons or other zoom controls to more easily expose print preview zooming as a feature to users.
Reporter | ||
Updated•4 years ago
|
Reporter | ||
Comment 1•4 years ago
|
||
Additionally, changing any UI control resets the zoom level. I assume this is the result of bug 1636728 however.
Reporter | ||
Comment 2•4 years ago
|
||
Turns out we get this "for free" in some sense with desktop pinch zooming enabled (apz.allow_zooming
).
Reporter | ||
Updated•4 years ago
|
Updated•4 years ago
|
Comment 3•4 years ago
|
||
Do you still experience the flickering aspect of this report? I can't reproduce that.
Comment 4•4 years ago
|
||
Also, I'm not sure where the clamping to 100% comes from, but presumably the frontend code somewhere? Should we move this to Toolkit?
Reporter | ||
Comment 5•4 years ago
|
||
(In reply to Jonathan Watt [:jwatt] from comment #3)
Do you still experience the flickering aspect of this report? I can't reproduce that.
Yes, by simply trying to zoom beyond the 100% clamp with the mousewheel.
Mark: Per comment 4, is the zoom clamping being imposed by the frontend?
Comment 6•4 years ago
|
||
I see the same behaviour in the print preview with print.tab_modal.enabled
set to false, so I don't think this is related to the frontend.
I haven't looked at the code, but since it clamps to the initial sizing of fitting a page to the window size that code seems like a good place to look.
Reporter | ||
Updated•4 years ago
|
Updated•4 years ago
|
Reporter | ||
Updated•4 years ago
|
Updated•3 years ago
|
Updated•3 years ago
|
Description
•