Closed
Bug 741275
Opened 13 years ago
Closed 13 years ago
Add back support for making a thumbnail after pageload
Categories
(Firefox for Android Graveyard :: General, defect)
Tracking
(firefox15 verified, blocking-fennec1.0 beta+)
VERIFIED
FIXED
Firefox 14
People
(Reporter: mfinkle, Assigned: gbrown)
References
Details
Attachments
(1 file, 1 obsolete file)
1.20 KB,
patch
|
gbrown
:
review+
|
Details | Diff | Splinter Review |
Bug 740146 removed the screenshot code, but also removed making a thumbnail after a pageload. We should add that back:
https://hg.mozilla.org/integration/mozilla-inbound/rev/d3f20d0371d0#l1.180
Right now, we only make thumbnails when opening the TabTray. About:Home also depends on thumbnails and might be empty until the TabTray is displayed.
![]() |
Assignee | |
Comment 1•13 years ago
|
||
Darn, how did that happen? Purely unintentional...
![]() |
Assignee | |
Updated•13 years ago
|
Assignee: nobody → gbrown
![]() |
Assignee | |
Comment 2•13 years ago
|
||
I think it's as simple as calling getAndProcessThumbnailForTab - it seems to work for me - and that the remainder of the old SessionSnapshotRunnable is no longer relevant.
Attachment #611498 -
Flags: review?(mark.finkle)
Reporter | ||
Comment 3•13 years ago
|
||
Comment on attachment 611498 [details] [diff] [review]
add back thumbnail creation on page load
>+ if (Tabs.getInstance().isSelectedTab(tab)) {
>+ GeckoAppShell.getHandler().postDelayed(new Runnable() {
>+ public void run() {
>+ getAndProcessThumbnailForTab(tab);
>+ }
>+ }, 500);
>+ }
Just remove the isSelected check. I'm pretty sure we want to always make the thumbnail on a pageload.
Attachment #611498 -
Flags: review?(mark.finkle) → review+
![]() |
Assignee | |
Comment 4•13 years ago
|
||
Removed check for selected tab and re-tested. r=mfinkle carried.
Attachment #611498 -
Attachment is obsolete: true
Attachment #611535 -
Flags: review+
![]() |
Assignee | |
Updated•13 years ago
|
Keywords: checkin-needed
Reporter | ||
Comment 5•13 years ago
|
||
Needed for proper thumbnail creation
blocking-fennec1.0: --- → beta+
Comment 6•13 years ago
|
||
Comment 7•13 years ago
|
||
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
Comment 8•13 years ago
|
||
Thumbnail is created after pageload on the latest Nightly. Closing bug as verified fixed on:
Firefox 15.0a1 (2012-05-22)
Device: Galaxy Nexus
OS: Android 4.0.2
Status: RESOLVED → VERIFIED
status-firefox15:
--- → verified
Updated•4 years ago
|
Product: Firefox for Android → Firefox for Android Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•