Duplicate Taskbar Tab is created when trying to launch a pinned Taskbar Tab if taskbartabs.json file is deleted
Categories
(Firefox :: Web Apps, defect, P3)
Tracking
()
People
(Reporter: acornestean, Unassigned)
References
(Blocks 1 open bug)
Details
Attachments
(1 file)
|
7.20 MB,
video/mp4
|
Details |
Affected Version:
Nightly - 143.0a1/20250730213201
Beta – 142.0b5/20250730090632
Description:
Trying to launch a Taskbar Tab pinned to the taskbar when the main Firefox instance is closed and the taskbartabs.json file from the profile folder is deleted will cause a duplicate Taskbar Tab to be created and be launched. The original pinned shortcut will become inactive and not launch a Taskbar Tab window.
Additionally, the second Taskbar Tab that is created will have a different icon compared to the original Taskbar Tab.
If the taskbartabs.json file is left as is and not deleted, the issue will not occur.
See attached video for more details.
Step to reproduce:
- Launch Firefox with a new profile
- Access about:profiles and identify the in-use profile. Click the “Open Folder” button of the “Root Directory” row of the profile entry to open the profile folder and set it aside for later use
- Enable Taskbar Tabs via
browser.taskbarTabs.enabledin about:config and restart the browser - Access https://www.wikipedia.org/ and click the pageAction to create a Taskbar Tab
- Pin the Taskbar Tab to the taskbar when prompted
- Close the Taskbar Tab and the main Firefox instance
- In the profile folder window from Step (2), locate the
taskbartabsfolder (a refresh might be needed for the folder to show up since the window was opened beforehand) - Delete the
taskbartabs.jsonfile from thetaskbartabsfolder - Click the pinned Taskbar Tab on the taskbar to launch it
- Notice the original Taskbar Tab does not launch, but instead a duplicate Taskbar Tab is created
- Pin the newly created Taskbar Tab and notice its icon is different from the original Taskbar Tab
- Click the original Taskbar Tab again and notice a new window for the second Taskbar Tab is opened i.e. the original Taskbar Tab is inactive
NOTE:
The issue does not occur if the same steps are performed but the taskbartabs.json file is not deleted. For this:
- Return the second Taskbar Tab to the main Firefox instance via the pageAction. This will cause the second Taskbar Tab to be unpinned and the main Firefox instance to launch
- Unpin the original/first Taskbar Tabs from the taskbar
- Create a new Taskbar Tab from the one returned in Step (1) via the pageAction and pin it to the taskbar
- Close the main Firefox instance and the newly created Taskbar Tab
- Click the pinned Taskbar Tab on the taskbar to launch it
- Notice that the Taskbar Tab is properly launched and a secondary Taskbar Tab is not created
Actual results:
- A duplicate Taskbar Tab is created when trying to launch a pinned Taskbar Tab if taskbartabs.json file is deleted beforehand.
- The original Taskbar Tab becomes inactive
- The second Taskbar Tab has a different icon compared to the original Taskbar Tab
Expected:
The original pinned Taskbar Tab should launch even when the taskbartabs.json file is deleted.
Updated•8 months ago
|
Updated•6 months ago
|
Description
•