Closed
Bug 481527
Opened 16 years ago
Closed 15 years ago
rework tab preview logic to always use drawImage, also do drawing from CanvasBrowser
Categories
(Firefox for Android Graveyard :: General, defect)
Tracking
(Not tracked)
RESOLVED
INVALID
People
(Reporter: taras.mozilla, Assigned: taras.mozilla)
References
Details
Attachments
(1 file, 1 obsolete file)
7.41 KB,
patch
|
pavlov
:
review-
|
Details | Diff | Splinter Review |
Should take visibleBounds into account when doing drawImage onto the preview,
Also don't update tab previews when closing tabs, etc.
Assignee | ||
Comment 1•16 years ago
|
||
This does what I want. I nuked all drawWindow calls(which often didn't work anyways). tab drawing is lazy.
Still need to ensure that offscreen parts of the canvas aren't copied as those may not be flushed at the time of thumbnailing.
Assignee | ||
Comment 2•16 years ago
|
||
This patch now does what I expect. Bugs fixed
a) When pressing newtab while firstrun is loaded, wrong tab preview is drawn
Triggered by the page drawing happening after tab is drawn.
b) when loading m.endgadget.net wrong tab preview is drawn
mozafterpaint triggers too late for fast-loading pages
c) Don't use drawWindow
c-II) Don't drawWindow every bloody tab when closing a tab high in the tab list
d) should be a small speed gain as tab painting now happens lazily in preparation for a pan.
e) tab preview is wrong during page load(ie only gets updated when a page finishes loading)
f) The tab drawing code is half of what it was before.
g) I really shouldn't be using an alphabetic list for this.
Attachment #369201 -
Attachment is obsolete: true
Attachment #369729 -
Flags: review?(mark.finkle)
Updated•16 years ago
|
Attachment #369729 -
Flags: review?(mark.finkle) → review-
Comment 4•16 years ago
|
||
Comment on attachment 369729 [details] [diff] [review]
wfm
please keep the thumbnail knowledge out of the CanvasBrowser code -- move it to browser.js and simply add a drawTo(dest) function to CanvasBrowser
Updated•16 years ago
|
Flags: wanted-fennec1.0?
Updated•16 years ago
|
Flags: wanted-fennec1.0? → wanted-fennec1.0+
Updated•16 years ago
|
Assignee: nobody → tglek
Status: NEW → ASSIGNED
Assignee | ||
Comment 5•15 years ago
|
||
the code in question changed so this doesn't apply
Status: ASSIGNED → RESOLVED
Closed: 15 years ago
Resolution: --- → INVALID
You need to log in
before you can comment on or make changes to this bug.
Description
•