Duplicate Taskbar Tab can be created if a tab is added to taskbar and removed from taskbar repeatedly
Categories
(Firefox :: Web Apps, defect, P3)
Tracking
()
People
(Reporter: acornestean, Unassigned)
References
(Blocks 1 open bug)
Details
Attachments
(3 files)
Affected versions:
- Nightly (144.0a1/20250826095322)
- Beta (143.0b4/20250825091315)
Description:
A.
Repeatedly adding and removing a tab (4 actions in total) to/from taskbar, ending with the removal of the tab so it ends back in the main browser instance will prompt the user to pin the Taskbar Tab. Selecting to pin the Taskbar Tab to the taskbar will create a Taskbar Tab on the taskbar with the original tab still in the main browser instance.
Clicking the pinned Taskbar Tab will not open that item, but a duplicate Taskbar Tab item will be created and launched. The duplicate can be pinned as well, as a pinning notification is triggered for it. Returning the duplicate Taskbar Tab to the main browser instance via the pageAction will still keep the first Taskbar Tab on the taskbar which can only be removed via unpinning from the right click context menu.
B.
Repeatedly adding and removing a tab (9 actions in total) to/from taskbar, ending with the adding of the tab will trigger the notification multiple times. Selecting to pin the Taskbar Tab will also create a duplicate item on the taskbar keeping the same behavior as described above.
Steps to reproduce:
A.
- Open https://www.wikipedia.org/ in a tab (make sure it’s not the only opened tab)
- Click the pageAction to add the tab to taskbar
- Once the Taskbar Tab window opens click the pageAction to remove it from taskbar
- Repeat Steps 2 & 3 again so there are 4 actions of adding and removing a tab to/from taskbar and ending with the tab back in the main browser instance
- A pinning notification will be displayed. Select to pin the Taskbar Tab to the taskbar
- Notice a Taskbar Tab item appears on the taskbar
- Click the Taskbar Tab item
- Notice the original Taskbar Tab item does not launch, but instead a duplicate Taskbar Tab item is created which then launches
- Notice that when the duplicate launches, a pinning notification is triggered for it as well
- Return the duplicate Taskbar Tab back to the main browser instance via the pageAction
- Click the original Taskbar Tab again and notice a duplicate is created and opened again
NOTE: This means that the original Taskbar Tab can be removed from the taskbar only by unpinning it via the right click context menu
B.
- Open https://www.wikipedia.org/ in a tab (make sure it’s not the only opened tab)
- Click the pageAction to add the tab to taskbar
- Once the Taskbar Tab window opens click the pageAction to remove it from taskbar
- Repeat Steps 2 & 3 again so there are 9 actions of adding and removing a tab to/from taskbar and ending with a Taskbar Tab on the taskbar
- A pinning notification will be displayed. Select to pin the Taskbar Tab to the taskbar
- Notice a duplicate taskbar item is created (this time the duplicate appears after the original opened Taskbar Tab and it behaves as the original tab from scenario A.)
- Notice a second pinning notification is triggered
- Click the duplicate taskbar item
- Notice the duplicate Taskbar Tab item does not launch, but instead a new window of the original Taskbar Tab item is opened
NOTE: The original Taskbar Tab can be returned to the main browser instance, but the duplicate can only be removed from the taskbar by unpinning it via the right click context menu
NOTE for B: After performing Step 4, wait and do not select anything on the notification. Another notification will appear shortly, on top of the first one. Wait 10 seconds and then select Yes on the first notification and Yes on the second notification a few seconds later. As a result the issue with Scenario B will no longer occur.
Expected results:
Only one Taskbar Tab item should be created for one tab, regardless of the user adding/removing that tab to/from the taskbar.
Actual results:
Duplicate Taskbar Tabs can be created if a tab is added to taskbar and removed from taskbar repeatedly
| Reporter | ||
Comment 1•7 months ago
|
||
| Reporter | ||
Comment 2•7 months ago
|
||
| Reporter | ||
Comment 3•7 months ago
|
||
Comment 4•7 months ago
|
||
This is a combination of interactions between Bug 1975791 and Bug 1985658.
Updated•7 months ago
|
Updated•6 months ago
|
Description
•