The close tab button fails to work when trying to close multiple tabs that are using Glance
Preliminary Checks
- [x] I have read and understood the important section above.
- [x] I have searched existing issues and avoided creating duplicates.
- [x] I am not filing an enhancement request.
- [x] I have checked that this issue cannot be reproduced on Mozilla Firefox.
- [x] I have checked that this issue can be reproduced once I removed all my Mods and Custom CSS.
What happened?
The behavior of the close tab button seems to not be consistent when trying to close multiple tabs that contain Glance view (see video1).
The first tab closes with its Glance. However the second closes only the Glance view but leaves a slightly transparent grey foreground and the Glance tab icon (see video2). The foreground disappears after a press on
Expected behavior
The successful closing of all tabs that contain Glance view when using the close tab button.
Actual behavior
Only the first tab, that is using Glance, is closing. The other tabs only have their Glance view closed.
Steps to reproduce
- Open Glance view in two different tabs
- Focus on a third tab
- Try to close all tabs that are using Glance
Screenshots and videos
https://github.com/user-attachments/assets/f63bb8b4-9e52-4df5-98e3-469e5f4220f8
https://github.com/user-attachments/assets/ccd67e6c-14ff-4258-a19b-08ead1db2c1f
Version
1.14.10b
What platform are you seeing the problem on?
Windows - x64
What component is this issue related to?
Glance
Relevant log output if applicable
I see the same issue on linux x64 (Arch Linux Rolling Release) - happens any time I try to close a glance tab using the "X" in the corner - I get the gray seen in the second video and cannot close the tab without force restarting the browser. Only difference is I have this issue on ALL tabs that use glance, not just if multiple tabs use glance (unless there is a window I don't know about with a glance tab open)
Edit: this was fixed by updating from the AUR. See the patch notes for v1.14.9b
Glance tabs just don't work for me. I can't close them or do anything. I have to restart the browser just to continue
@FluffyPuppyKasey, which version are you on?
Hi, @Ivaon. I'm Dosu, and I'm helping the desktop team manage their backlog and am marking this issue as stale.
Issue Summary:
- You reported that closing multiple tabs in Glance view only properly closes the first tab, with others leaving a grey overlay and the icon visible.
- RealSourceOfficial confirmed the issue on Arch Linux but noted it was fixed in version 1.14.9b.
- FluffyPuppyKasey still experiences problems on version 1.14.11b, requiring a browser restart to clear Glance tabs.
- You asked about the version to help diagnose ongoing issues.
- The issue appears partially resolved but may persist for some users on newer versions.
What's Next:
- Please let me know if you are still experiencing this issue on the latest version of the desktop repository by commenting here.
- If I don’t hear back within 10 days, I will automatically close this issue.
Thanks for your understanding and contribution!
Logs:
Uncaught TypeError: can't access property "querySelector", this.browserWrapper is null
closeGlance chrome://browser/content/zen-components/ZenGlanceManager.mjs:783
manageTabClose chrome://browser/content/zen-components/ZenGlanceManager.mjs:1297
removeTab chrome://browser/content/tabbrowser/tabbrowser.js:5184
on_click chrome://browser/content/tabbrowser/tab.js:598
handleEvent chrome://global/content/customElements.js:459
ZenGlanceManager.mjs:783:28