When tapping Private Browsing button on home-screen, the homescreen UI jumps upwards for a moment (causing visual jitter and possible mis-directed taps)
Categories
(Firefox for Android :: Homepage, defect)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox149 | --- | unaffected |
| firefox150 | + | verified |
| firefox151 | --- | verified |
| firefox152 | --- | verified |
People
(Reporter: dholbert, Assigned: petru)
References
(Regression)
Details
(Keywords: regression)
Attachments
(6 files)
|
1.42 MB,
video/mp4
|
Details | |
|
114.96 KB,
image/jpeg
|
Details | |
|
91.74 KB,
image/jpeg
|
Details | |
|
Bug 2027911 - Set e2e strategy for shown fragments as soon as they're attached. r=#android-reviewers
48 bytes,
text/x-phabricator-request
|
Details | Review | |
|
48 bytes,
text/x-phabricator-request
|
phab-bot
:
approval-mozilla-beta+
|
Details | Review |
|
48 bytes,
text/x-phabricator-request
|
phab-bot
:
approval-mozilla-release+
|
Details | Review |
Steps to reproduce
- Open a new tab (viewing the Nightly new-tab home page)
- Repeatedly tap the Private Browsing button at the top right corner, to switch into & out-of private browsing mode. Watch the top of your screen carefully.
Expected behavior
Should toggle back and forth between private browsing mode.
Actual behavior
- As I'm toggling back and forth, I sometimes see the home page content briefly jump upwards into the toolbar area.
- This isn't just visual; it also puts the "Show All" topsites-link directly underneath my finger, where the Private Browsing toggle-button recently was -- so if I tap that area rapidly, I unexpectedly am taken to the Top Sites "Show All" area (and then possibly on from there to whatever Top Site occupies that portion of the Show All screen, which in my case is Wikipedia)
Device information
- Firefox version: Nightly 151.0a1
- Android device model: Pixel 4a, Pixel 10 Pro XL
- Android OS version: 13 (on Pixel 4a), 16 (on Pixel 10 Pro XL)
Any additional information?
This is a recent regression, with this regression range (when bisecting on my Pixel 4a with Android 13):
https://hg-edge.mozilla.org/mozilla-central/pushloghtml?fromchange=09bbcab331fb723c4ab6316d486e2500fb8f4365&tochange=e52ef55079f792c6f0cb79aa121a119866637e1f
I'm not yet sure what in that range would be the regressor...
| Reporter | ||
Comment 1•4 months ago
|
||
| Reporter | ||
Comment 2•4 months ago
|
||
| Reporter | ||
Comment 3•4 months ago
|
||
| Reporter | ||
Comment 4•4 months ago
|
||
Note: the above screencast/snapshots were taken using my Pixel 4a with the first-bad build (Nightly 2026-03-18) (just because that's what I had available after bisecting, when I went into "record a screencast" mode).
This bug persists in latest Nightly 2026-03-30.
| Reporter | ||
Comment 5•4 months ago
|
||
I see a version of this bug in Firefox Beta 150, too. On my main phone (Pixel 10 Pro XL), Beta has a different layout at the top of the home screen (with Private Browsing button at top-left and a "News" button in top-right) -- but I see the same sort of buttons-flickering-into-toolbar-area when I toggle between private/regular mode.
| Comment hidden (typo) |
| Reporter | ||
Comment 7•4 months ago
|
||
(and on my Pixel 4a with a fresh install of beta150, I see basically the same behavior that I captured in the attached screencast.)
| Reporter | ||
Comment 8•4 months ago
•
|
||
[Tracking Requested - why for this release]: Visual regression (noticeable flicker, and possibility of mis-tapped buttons) in prominent UI, the new-tab home screen
Updated•4 months ago
|
Comment 9•4 months ago
|
||
The bug is marked as tracked for firefox150 (beta). However, the bug still isn't assigned.
:gl, could you please find an assignee for this tracked bug? If you disagree with the tracking decision, please talk with the release managers.
For more information, please visit BugBot documentation.
| Reporter | ||
Comment 11•4 months ago
|
||
Likely so, but I'm not in a position to assign someone (I work on unrelated stuff and am just the reporter here.).
Updated•3 months ago
|
| Assignee | ||
Comment 12•3 months ago
|
||
The bug report showed that the current doOnPreDraw - after the fragment's layout is built
but before it is drawn on screen - is too slow for out needs.
Moved to using doOnAttach instead that runs when that view is attached to a window - if the
view is already attached it runs immediately, otherwise it runs the next time the view attaches.
It is a one-shot callback that automatically gets disposed after the first run.
Updated•3 months ago
|
| Assignee | ||
Comment 13•3 months ago
|
||
If the fix is good it should probably be uplifted to 150.
| Assignee | ||
Updated•3 months ago
|
Comment 14•3 months ago
|
||
Comment 15•3 months ago
|
||
| bugherder | ||
| Assignee | ||
Updated•3 months ago
|
Comment 16•3 months ago
|
||
The patch landed in nightly and beta is affected.
:petru, is this bug important enough to require an uplift?
- If yes, please nominate the patch for beta approval.
- See https://wiki.mozilla.org/Release_Management/Requesting_an_Uplift for documentation on how to request an uplift.
- If no, please set
status-firefox151towontfix.
For more information, please visit BugBot documentation.
Comment 17•3 months ago
|
||
Verified as fixed on the latest Firefox for Android Nightly 152.0a1 from 4/24 with a Samsung Galaxy S24 (Android 16), and a Pixel tablet (Android 16).
To test this scenario, I've disabled the "Private Mode and Stories Entry Point" toggle from Secret settings.
Comment 18•3 months ago
|
||
Please add uplift requests
| Assignee | ||
Comment 19•3 months ago
|
||
The bug report showed that the current doOnPreDraw - after the fragment's layout is built
but before it is drawn on screen - is too slow for out needs.
Moved to using doOnAttach instead that runs when that view is attached to a window - if the
view is already attached it runs immediately, otherwise it runs the next time the view attaches.
It is a one-shot callback that automatically gets disposed after the first run.
Original Revision: https://phabricator.services.mozilla.com/D295765
Updated•3 months ago
|
| Assignee | ||
Comment 20•3 months ago
|
||
The bug report showed that the current doOnPreDraw - after the fragment's layout is built
but before it is drawn on screen - is too slow for out needs.
Moved to using doOnAttach instead that runs when that view is attached to a window - if the
view is already attached it runs immediately, otherwise it runs the next time the view attaches.
It is a one-shot callback that automatically gets disposed after the first run.
Original Revision: https://phabricator.services.mozilla.com/D295765
Updated•3 months ago
|
| Assignee | ||
Comment 21•3 months ago
•
|
||
(In reply to Donal Meehan [:dmeehan] from comment #18)
Please add uplift requests
Thanks for the ping!
Added now uplift requests for the two small fixes, this and the one from bug 2029378 (as a stack).
Updated•3 months ago
|
Updated•3 months ago
|
Comment 22•3 months ago
|
||
| uplift | ||
Updated•3 months ago
|
Updated•3 months ago
|
Comment 23•3 months ago
|
||
| uplift | ||
Comment 24•3 months ago
|
||
Verified as fixed on the latest Firefox for Android Beta 151.0b3, and RC 150.0.1 with a Samsung Galaxy S24 (Android 16), and a Pixel 6 (Android 17).
To test this scenario, I've disabled the "Private Mode and Stories Entry Point" toggle from Secret settings.
Description
•