Quickly clicking on another tab after closing a tab causes the tab to remain opened
Categories
(Firefox for Android :: Tabs, defect, P3)
Tracking
()
People
(Reporter: Rummskartoffel, Unassigned)
References
Details
(Whiteboard: [fxdroid][group4])
Attachments
(1 file)
1.04 MB,
video/mp4
|
Details |
Steps to reproduce:
- Open at least two tabs.
- Open the tab list.
- Swipe to close one of the tabs.
- Quickly tap on another tab to switch to it.
- Once the tab list has closed, open it again.
Actual results:
The tab you tried to close is still open.
Expected results:
The tab you tried to close should have been closed.
I feel like this issue appeared within the last month (Nightly) or so, but I can't say for sure.
I was able to reproduce this on a Samsung S21 (Android 14) and Samsung A35 (Android 14). Please see recording for more details.
In TabListItem.kt
, in TabListItem
, there is a shouldClickListen
parameter that can be toggled to true or false. In the onItemDismiss
property in SwipeToDismissBox
here, there is a call to onCloseClick
. Before this call, we can set the shouldClickListen
parameter to false. After this call, we can set the shouldClickListen
parameter back to true and that should prevent the user from switching tabs while the close animation / process is occurring.
Updated•1 year ago
|
Comment 4•1 year ago
|
||
Hey Rummskartoffel, thanks for filing this bug. This looks like a dupe of Bug 1897803, so I'm closing this one in favor of that.
Description
•