Closed
Bug 1360639
Opened 8 years ago
Closed 8 years ago
Space behind toolbar can be seen when entering/leaving the tabs tray
Categories
(GeckoView :: General, defect)
Tracking
(firefox54 unaffected, firefox55 fixed)
RESOLVED
FIXED
mozilla55
Tracking | Status | |
---|---|---|
firefox54 | --- | unaffected |
firefox55 | --- | fixed |
People
(Reporter: JanH, Assigned: rbarker)
References
(Depends on 1 open bug)
Details
Attachments
(2 files)
When the web content slides out of/into view on opening/closing the tabs tray, a flash of red can be glimpsed.
Assignee | ||
Comment 1•8 years ago
|
||
Do you have steps to reproduce? I'm not seeing it on my device.
Flags: needinfo?(jh+bugzilla)
Reporter | ||
Comment 2•8 years ago
|
||
Flags: needinfo?(jh+bugzilla)
Assignee | ||
Updated•8 years ago
|
Assignee: nobody → rbarker
Assignee | ||
Comment 3•8 years ago
|
||
The problem seems to be that when hiding the page for the tab view, the toolbar chrome and the content view are not animated together so the toolbar is not covering the content while being animated off screen. Since this is an android animation I don't see a good solution. To mitigate the problem, instead of drawing a red rectangle where the toolbar should be, just leave the clear color which on android is the pages background color.
Comment hidden (mozreview-request) |
Comment 5•8 years ago
|
||
mozreview-review |
Comment on attachment 8863021 [details]
Bug 1360639 - Use the page background color when no dynamic toolbar snapshot is available
https://reviewboard.mozilla.org/r/134864/#review137804
::: gfx/layers/composite/LayerManagerComposite.cpp:1150
(Diff revision 1)
> - if (!effects.mPrimaryEffect) {
> - // No toolbar texture so just draw a red square
> + // If GetToolbarEffect return null, nothing is rendered so if not covered with the real toolbar chrome
> + // the clear color will be visible which on Android is the pages background color.
I'm having a lot of trouble parsing this comment. Please stop the first sentence after "nothing is rendered" and make the rest of it a separate sentence (or sentences), rewording as needed.
Attachment #8863021 -
Flags: review?(bugmail) → review+
Reporter | ||
Comment 6•8 years ago
|
||
Interestingly enough now, having unplugged my phone from my computer in the meantime, I'm no longer really seeing this either. So presumably something there must have been eating CPU cycles and caused the toolbar diverge noticeably from the content beneath it.
Folks with really slow phone will probably still appreciate it even during normal usage, though.
Pushed by rbarker@mozilla.com:
https://hg.mozilla.org/integration/mozilla-inbound/rev/43268ba5e94c
Use the page background color when no dynamic toolbar snapshot is available r=kats
Comment 8•8 years ago
|
||
bugherder |
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 55
Updated•6 years ago
|
Product: Firefox for Android → GeckoView
Updated•6 years ago
|
Target Milestone: Firefox 55 → mozilla55
Comment 9•2 years ago
|
||
Moving toolbar bugs to the new GeckoView::Toolbar component.
Component: General → Toolbar
Updated•6 months ago
|
Component: Toolbar → General
You need to log in
before you can comment on or make changes to this bug.
Description
•