Sometimes, tab-modal Print Preview briefly flashes a higher-zoom version of the document, when you've made a small change to a print setting
Categories
(Core :: Print Preview, task)
Tracking
()
People
(Reporter: dholbert, Unassigned)
Details
(Whiteboard: [print2020])
(I reproduced this earlier today, though I can't reproduce at the moment. So I don't have great STR / screencast at the moment.)
Approximate STR:
- Ctrl+P to start a print operation
- Change the print settings in a way that doesn't really impact the rendering. E.g.:
- Change the page range "end" to 1 fewer than the total number of pages
- Change the custom margin to 0.51 instead of 0.5
EXPECTED RESULTS:
No jarring flash/jump in the content.
ACTUAL RESULTS:
When this bug happens, I see a very brief paint of much-larger content, and then we paint the content at its correct size again.
I'm not sure what's going on. Working theory: I think we do two reflows, where the first one is to find out the page size so we can compute the zoom factor, and then there's a second fast incremental reflow that applies the zoom factor; and maybe this jarring larger paint is somehow getting scheduled between those two reflows? If so, we should try to prevent a paint from happening at that point, probably.
(I'm also not sure why I was able to reproduce this reliably earlier today and now cannot. I haven't installed any updates; it might be due to system load, or the particular page that I was previewing, or other factors.)
Reporter | ||
Updated•4 years ago
|
Description
•