Closed tab sometimes remains visible in tab tray
Categories
(Firefox for Android :: Tabs, defect)
Tracking
()
People
(Reporter: dholbert, Unassigned)
References
(Regression)
Details
(Keywords: regression)
Attachments
(4 files)
Steps to reproduce
- Close the currently active tab (the one with a border) in the tabs tray, by clicking the "x" on its corner.
- Scroll around, see if you can still see it.
Expected behavior
Tab should disappear.
Actual behavior
Sometimes the tab stays there, painting behind other tabs.
Device information
- Firefox version: 151.0a1 2026-04-18
- Android device model: Pixel 10 Pro XL
- Android OS version: 16
Any additional information?
This was happening reliably to me for a minute or so today, in my regular and private browsing tab tray. I caught it on a screencast (see attached, first half). And then as I was recording, it stopped reproducing (second half of screencast). So there might be some fiddly aspect to making this happen.
EDIT: I've got it reproducing again; I think the tab that you close just needs to be the active one. Edited STR to reflect this.
Today was the first time I've ever seen this behavior, so I'm tentatively flagging this as a regression.
| Reporter | ||
Comment 1•7 months ago
|
||
| Reporter | ||
Comment 2•7 months ago
|
||
Ah ok, I can reproduce reliably again - I think the key thing is to close the currently active tab. That's the one that seems to cause this problem.
| Reporter | ||
Comment 3•7 months ago
|
||
Updated•7 months ago
|
Comment 4•7 months ago
|
||
:giorga, since you are the author of the regressor, bug 2027195, could you take a look? Also, could you set the severity field?
For more information, please visit BugBot documentation.
Updated•7 months ago
|
I’ve been testing this on a Xiaomi 14 (Android 16) and it seems like the UI refresh is consistently lagging exactly one step behind. Closing the active tab triggers the glitch every time, but background tabs actually close fine unless there's another tab sitting to its right in the same row.
Interestingly, the overview only holds one ghost at a time. If I have a ghost and then close a second tab, the first one finally clears out. That second tab might then become a new ghost itself depending on the action, but it's not a guarantee. Also, just minimizing the app and coming back to it from the background forces a refresh and fixes the layout instantly.
Attaching a video that shows the ghost swapping and how the row position affects it.
Comment 9•7 months ago
|
||
I'm able to reproduce this state consistently by closing the tab in the row immediately above the active tab. With the fix for Bug 2033339 I can no longer reproduce it. This will be landing today.
Updated•7 months ago
|
Comment 11•7 months ago
|
||
This appears to be fixed in the latest Nightly
Comment 12•7 months ago
|
||
It was fixed with this https://phabricator.services.mozilla.com/D295278
Comment 14•7 months ago
|
||
Currently reproducing the bug on:
152.0a1 (Build #2016156423), eab44672da9da46690ead6cc9fa93187537fdd21
Comment 15•7 months ago
|
||
(In reply to Iorga Gabriel from comment #12)
It was fixed with this https://phabricator.services.mozilla.com/D295278
Should this be resolved, or do you plan on tracking any further patches here?
Comment 16•7 months ago
|
||
I'll mark this for QA to make sure, but this should be resolved by the patch from Bug 2033339
Comment 17•7 months ago
|
||
Verified as fixed on the latest Firefox for Android Nightly 152.0a1 builds from 4/21, and 4/22.
Tested with Pixel 6 (Android 17), Samsung Galaxy S24 (Android 16), and Samsung Galaxy z Fold4 (Android 16).
Comment 18•7 months ago
|
||
The bug is marked as tracked for firefox151 (beta). However, the bug still isn't assigned and has low severity.
:007, could you please find an assignee and increase the severity for this tracked bug? Given that it is a regression and we know the cause, we could also simply backout the regressor. If you disagree with the tracking decision, please talk with the release managers.
For more information, please visit BugBot documentation.
Comment 19•7 months ago
|
||
Mira, could you also confirm it's ok on Fx151 beta? We could resolve this if it's ok there also
Comment 20•7 months ago
|
||
Verified as fixed also on Firefox for Android 151.0b1 build 2 with a Pixel tablet (Android 16), and a Samsung Galaxy S24 (Android 16).
Updated•7 months ago
|
Updated•7 months ago
|
Description
•