Closed Bug 1899304 Opened 1 year ago Closed 1 year ago

Quickly clicking on another tab after closing a tab causes the tab to remain opened

Categories

(Firefox for Android :: Tabs, defect, P3)

Firefox 128
All
Android
defect

Tracking

()

RESOLVED DUPLICATE of bug 1897803

People

(Reporter: Rummskartoffel, Unassigned)

References

Details

(Whiteboard: [fxdroid][group4])

Attachments

(1 file)

Steps to reproduce:

  1. Open at least two tabs.
  2. Open the tab list.
  3. Swipe to close one of the tabs.
  4. Quickly tap on another tab to switch to it.
  5. 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.

See Also: → 1897803

I was able to reproduce this on a Samsung S21 (Android 14) and Samsung A35 (Android 14). Please see recording for more details.

Status: UNCONFIRMED → NEW
Ever confirmed: true
Severity: -- → S3
Priority: -- → P3
Summary: Quickly exiting tab list after closing a tab causes the tab to remain opened → Quickly clicking on another tab after closing a tab causes the tab to remain opened

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.

Whiteboard: [fxdroid][group4]

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.

Status: NEW → RESOLVED
Closed: 1 year ago
Duplicate of bug: 1897803
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: