RESOLVED FIXED 53561
Stepping through print previews in WebKit2 mode steps in and out of printing mode a lot
https://bugs.webkit.org/show_bug.cgi?id=53561
Summary Stepping through print previews in WebKit2 mode steps in and out of printing ...
Alexey Proskuryakov
Reported 2011-02-01 17:40:27 PST
This makes performance of stepping through print preview really bad on documents with many pages, such as <http://www.whatwg.org/specs/web-apps/current-work/> <rdar://problem/8900228>
Attachments
proposed patch (5.70 KB, patch)
2011-02-01 17:47 PST, Alexey Proskuryakov
sam: review+
Alexey Proskuryakov
Comment 1 2011-02-01 17:47:39 PST
Created attachment 80862 [details] proposed patch
Sam Weinig
Comment 2 2011-02-01 18:35:18 PST
Comment on attachment 80862 [details] proposed patch I think this would be cleaner if we added beginPrinting() endPrinting() calls to PageClient, and do the autodisplay() calls in the mac implementation of them. What do you think?
Alexey Proskuryakov
Comment 3 2011-02-02 10:20:58 PST
I don't like beginPrinting/endPrinting - we already have methods with these names, and they do different things, being called at a different time. It might be better to just get a WKView (or NSWindow) pointer somehow, and have this code inside WKPrintingView, not in a page client. Not sure how to best do that, will land as is for now.
Alexey Proskuryakov
Comment 4 2011-02-02 10:52:17 PST
Note You need to log in before you can comment on or make changes to this bug.