Closed
Bug 1197176
Opened 9 years ago
Closed 9 years ago
Coming back to fennec from the task switcher sometimes doesn't repaint the content area
Categories
(Firefox for Android Graveyard :: Toolbar, defect)
Tracking
(firefox41+ verified, firefox42 verified, firefox43 verified)
VERIFIED
FIXED
Firefox 43
People
(Reporter: kats, Assigned: kats)
References
Details
Attachments
(1 file)
1.23 KB,
patch
|
snorp
:
review+
Sylvestre
:
approval-mozilla-aurora+
ritu
:
approval-mozilla-beta+
|
Details | Diff | Splinter Review |
This seems to be happening pretty frequently on Fennec Nightly, possibly a regression from bug 1180295.
Start Fennec, load a page. Enter the android task switcher, and then re-enter Fennec. The content area is black, but as soon as you touch the screen it repaints correctly.
It looks like we're not requesting a composite when we come back to the foreground. Might be related to bug 1193753 although I can't reproduce that one and I can reproduce this one pretty consistently.
Assignee | ||
Comment 1•9 years ago
|
||
This seems to be very timing-specific. If I wait on the task switcher for a couple of seconds before re-entering Fennec I don't see the problem and everything looks good. If I re-enter Fenenc as soon as possible I see the chrome and content areas flash black and then sometimes the content area gets stuck in black.
Adding some logging seems to indicate that pausing the compositor (which happens synchronously from the java UI thread) is taking a while and if I restore Fennec before it's done I get the flashing/glitching. If I wait until the compositor pause is complete there's no issue.
Assignee | ||
Comment 2•9 years ago
|
||
This seems to do the job.
Attachment #8651016 -
Flags: review?(snorp)
Assignee | ||
Comment 3•9 years ago
|
||
(In reply to Kartikaya Gupta (email:kats@mozilla.com) from comment #1)
> This seems to be very timing-specific.
For the record this timing-specific-ness seemed to amplified on my local debug build. On the Nightly build I don't think I could resume fennec fast enough to hit this. However on Nightly I noticed that on some pages the issue would reproduce consistently with a scroll offset of 0 but as soon as the page was scrolled even a little bit it wouldn't reproduce. No idea what's going on but the patch fixes it on my local debug build so I'm hoping it'll fix it on Nightly also.
Comment on attachment 8651016 [details] [diff] [review]
Patch
Review of attachment 8651016 [details] [diff] [review]:
-----------------------------------------------------------------
Very weird....a SurfaceView shouldn't really be doing anything itself as far as drawing goes. It just handles positioning and sizing for a Surface which the surfaceflinger paints.
Attachment #8651016 -
Flags: review?(snorp) → review+
Comment 6•9 years ago
|
||
Status: ASSIGNED → RESOLVED
Closed: 9 years ago
status-firefox43:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → Firefox 43
Assignee | ||
Comment 7•9 years ago
|
||
Comment on attachment 8651016 [details] [diff] [review]
Patch
Approval Request Comment
[Feature/regressing bug #]: according to the discussion on bug 1193753, there was probably a pre-existing issue in the code (since forever) that was exposed by bug 1143575.
[User impact if declined]: according to the discussion on bug 1193753, uplifting this may fix a problem with a black screen showing up when closing the settings in fenenc
[Describe test coverage new/current, TreeHerder]: not much but it's a small patch that can't really hurt
[Risks and why]: low risk. worst case we do an extra composite when it's not needed
[String/UUID change made/needed]: none
Attachment #8651016 -
Flags: approval-mozilla-aurora?
Updated•9 years ago
|
status-firefox42:
--- → affected
Comment 8•9 years ago
|
||
Comment on attachment 8651016 [details] [diff] [review]
Patch
OK, let's try it. We have time to fix potential fall out. Thanks
Attachment #8651016 -
Flags: approval-mozilla-aurora? → approval-mozilla-aurora+
Comment 9•9 years ago
|
||
Kartikaya, bug 1154732 was resolved dup of this issue. Given that this bug also impacts FF41, could you please request uplift to Beta? The patch looks fairly safe and simple.
Flags: needinfo?(bugmail.mozilla)
Moving the FF41 tracking flag from bug 1154732 to here.
status-firefox41:
--- → affected
tracking-firefox41:
--- → +
Assignee | ||
Comment 14•9 years ago
|
||
I'm not at all convinced that bug 1154732 is a dup of this, and I requested verification on that bug. However this patch is trivial and we can request an uplift to beta regardless.
Flags: needinfo?(bugmail.mozilla)
Assignee | ||
Comment 15•9 years ago
|
||
Comment on attachment 8651016 [details] [diff] [review]
Patch
Approval Request Comment
(see comment 7 and comment 12)
Attachment #8651016 -
Flags: approval-mozilla-beta?
Comment on attachment 8651016 [details] [diff] [review]
Patch
Patch has been in Nightly for a while, seems safe to uplift to Beta41 as it's a one-liner.
Attachment #8651016 -
Flags: approval-mozilla-beta? → approval-mozilla-beta+
Comment 17•9 years ago
|
||
Comment 18•9 years ago
|
||
Verified as fixed in builds:
43.0a1 2015-09-03;
42.0a2 2015-09-03;
Device: Asus Transformer Pad (Android 4.2.1).
Comment 19•9 years ago
|
||
Verified as fixed in build 41 Beta 8;
Device: Asus Transformer Pad (Android 4.2.1).
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
•