Closed
Bug 838440
Opened 12 years ago
Closed 12 years ago
Thumbnails disappear after rotation
Categories
(Firefox for Android Graveyard :: General, defect)
Tracking
(firefox20+ verified, firefox21+ verified, firefox22 verified, fennec20+)
VERIFIED
FIXED
Firefox 22
People
(Reporter: bnicholson, Assigned: wesj)
References
Details
(Keywords: regression)
Attachments
(1 file)
834 bytes,
patch
|
lucasr
:
review+
lsblakk
:
approval-mozilla-aurora+
lsblakk
:
approval-mozilla-beta+
|
Details | Diff | Splinter Review |
STR:
1) Open about:home
2) Rotate to landscape orientation
3) Turn off phone's screen
4) Rotate to vertical orientation
5) Turn screen back on
After these STR, the thumbnails on about:home are all shown as placeholder images instead of the real thumbnails.
Comment 1•12 years ago
|
||
wfm
Comment 2•12 years ago
|
||
Oh scratch that; yeah see this.
tracking-fennec: --- → ?
status-firefox20:
--- → affected
status-firefox21:
--- → affected
Keywords: regression,
regressionwindow-wanted
Comment 3•12 years ago
|
||
The regression window for this issue is:
good build:
2012/11/01
bad build
2012/11/02
possible push-log:
http://hg.mozilla.org/mozilla-central/pushloghtml?fromchange=5bd5bb168eb1&tochange=556b9cfb269f
Reporter | ||
Comment 4•12 years ago
|
||
Lucas, think this could be a regression from bug 785945?
Updated•12 years ago
|
Assignee | ||
Comment 5•12 years ago
|
||
Going to see if the fixes in bug 826639 help with this.
Assignee | ||
Comment 6•12 years ago
|
||
Nope. We do get an update call to update the thumbnails when our orientation changes, and we do it, but that all happens while we're in the background invisible. Since there are no views to update (we're hidden), we fetch all the thumbnails and throw them away here:
http://mxr.mozilla.org/mozilla-central/source/mobile/android/base/AboutHomeContent.java#383
Then when about:home is shown and we do have views, we happily create about_home_topsite_items that have the firefox icon as their default background image.
This forces us to update about:home when we resume the activity and fixes the bug. Its easy to take to aurora and/or beta if we want. I tried a few other ways to detect when we come back from a power down, but couldn't find anything.
Attachment #719783 -
Flags: review?(lucasr.at.mozilla)
Updated•12 years ago
|
tracking-firefox21:
--- → +
Updated•12 years ago
|
Keywords: regressionwindow-wanted
Comment 7•12 years ago
|
||
Lucas - can you get to this review this week? We're going to build FF20 beta 4 on Tues Mar 12th and would like to get this verified and uplifted to beta prior to that so it can get proper testing on beta with users before shipping.
Flags: needinfo?(lucasr.at.mozilla)
Updated•12 years ago
|
Attachment #719783 -
Flags: review?(lucasr.at.mozilla) → review+
Assignee | ||
Comment 8•12 years ago
|
||
Assignee | ||
Comment 9•12 years ago
|
||
Comment on attachment 719783 [details] [diff] [review]
Patch
[Approval Request Comment]
Bug caused by (feature/regressing bug #): 785945
User impact if declined: If the screen if off when you rotate your phone (in your pocket?), thumbnails can disappear for awhile.
Testing completed (on m-c, etc.): Landed on mc today
Risk to taking this patch (and alternatives if risky): Low risk. Pretty simple change that just refreshes about:home (in Java) any time we're restored from the background. May have a slight performance impact, but we've optimized about:home to refresh quickly, so it should be miniscule. If its not, we've got other problems.
String or UUID changes made by this patch: None.
Attachment #719783 -
Flags: approval-mozilla-beta?
Attachment #719783 -
Flags: approval-mozilla-aurora?
Comment 10•12 years ago
|
||
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 22
Comment 11•12 years ago
|
||
Comment on attachment 719783 [details] [diff] [review]
Patch
Looks good - please land to branches today in preparation for tomorrow's Beta.
Attachment #719783 -
Flags: approval-mozilla-beta?
Attachment #719783 -
Flags: approval-mozilla-beta+
Attachment #719783 -
Flags: approval-mozilla-aurora?
Attachment #719783 -
Flags: approval-mozilla-aurora+
Assignee | ||
Comment 12•12 years ago
|
||
https://hg.mozilla.org/releases/mozilla-beta/rev/9c89f0cb66ab
https://hg.mozilla.org/releases/mozilla-aurora/rev/77574e5bb0e9
Flags: needinfo?(lucasr.at.mozilla)
Updated•12 years ago
|
Comment 13•12 years ago
|
||
Unable to reproduce the issue anymore on Nightly 22.0a1 2013-03-14, Aurora 21.0a2 2013-03-14, Firefox Mobile 20 beta 5 on the Samsung Galaxy Tab 2 7.0 (Android 4.1.1) and LG Nexus 4 (Android 4.2.2). Marking the issue as verified.
Status: RESOLVED → 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
•