-
Notifications
You must be signed in to change notification settings - Fork 280
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Close Tab icon and New Tab Icon gone #3142
Comments
I have the same issue on macOS with Firefox 101.0.1 (64-bit). Reopening the browser sometimes seems to fix this issue. |
@calin-stan, |
Reproduced on default nightly 103.0a1 (2022-06-16) (64-bit) under the following condition.
Doesn't reproduce on same version under this condition
|
The icons are gone for me using the default theme and Firefox v101.0.1 (64-bit) on WIN 7. |
Is this same to #3134 ? |
Yes, the symptoms are same as #3134. And from my reproducing condition, I now doubt Firefox's theme system for the root of bug. Current workaround in v103 seems to use the system theme, not custom themes. |
Suddenly the icons are back after a reboot. I tried a reboot previously, but it didn't help at that time... |
@naokiri Could you try inspection of the TST sidebar when you see the problem?
The last screenshot indicates that the closebox icon is rendered with TST defines Such an inspection result on various failure cases may help my debugging. |
Sure. I tried on 103.0a1 (2022-06-18) (64-bit) First I checked the inspector, and the result for background seems fine. And interestingly, when I disable and enable the mask by clicking the checkbox of the Next I tried the development option for 'Activate workaround for the Bug ~~`. It was enabled by default. First I disabled the checkbox. Then, the disappeared close button and plus button on TST appeared, but in black color. Not the expected Next, I enabled the checkbox. Then, the close button and plus button on TST disappeared. So this didn't fix the problem. |
I tried again and found that disabling and enabling Update: This fix seems to happen when I enable or disable any css of the tabitem. Just updating the css on tabitem fixes the issue and renders the close and plus button. |
Thanks a lot! It really looks that the root problem is something unknown edge-case bug of Firefox itself around CSS mask... |
I tried doing what Naokiri did, and for my side, disabling and re enabling the mask, or Let me know if I need to provide anything else to be of help. |
Oops, it is due to a bug of Firefox's development tool. The path should be resolved with a base URL of the addon's namespace, but actually it is resolved with a base URL of the development tool itself on the inspector view. You can see the image if you manually resolve the path like as |
I also met this issue on Mac with FIrefox 102.0. It's gone after uncheck "Activate workaround for the Bug 1388193 and Bug 1421329 to simulate SVG icons". Isn't that meant to fix this bug? |
I've added an experimental workaround with the commit b01fa48. A development build including the change is available: https://github.com/piroor/treestyletab#development-builds I hope it should solve the problem... |
@piroor it is working now, thanks! :) |
I've just been updated to the latest TST version and have noticed that the custom CSS for an alternative throbber doesn't work anymore. Looking at the patch notes, I think it is linked to this issue because of its interaction with CSS masks I'm pretty sure I picked that CSS from your wiki: :root.blocking-throbber #blocking-screen .throbber::before, #tabbar tab-item:not(.collapsed).loading .throbber::before {
background: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB3aWR0aD0iMTYiIGhlaWdodD0iMTYiIHZpZXdCb3g9IjAgMCAxMDAgMTAwIj4KPGNpcmNsZSBjeD0iNTAiIGN5PSI1MCIgZmlsbD0ibm9uZSIgc3Ryb2tlPSJjb250ZXh0LWZpbGwiIHN0cm9rZS13aWR0aD0iMTgiIHI9IjM2IiBzdHJva2UtZGFzaGFycmF5PSIxNjkuNjQ2MDAzMjkzODQ4ODIgNTguNTQ4NjY3NzY0NjE2Mjc2Ij4KICA8YW5pbWF0ZVRyYW5zZm9ybSBhdHRyaWJ1dGVOYW1lPSJ0cmFuc2Zvcm0iIHR5cGU9InJvdGF0ZSIgcmVwZWF0Q291bnQ9ImluZGVmaW5pdGUiIGR1cj0iMS44ODY3OTI0NTI4MzAxODg1cyIgdmFsdWVzPSIwIDUwIDUwOzM2MCA1MCA1MCIga2V5VGltZXM9IjA7MSI+PC9hbmltYXRlVHJhbnNmb3JtPgo8L2NpcmNsZT4KPC9zdmc+") !important;
mask: unset !important;
} Not really too important, as compared to the two missing buttons of this issue, but anyway I wanted you to know. (Of course, if the nonsensical, imo, default throbber, which doesn't animate and has a very different style to all other icons in Firefox, was improved... that would fix it too 😝 ) |
@jvzr, using your SVG, I plugged it into my similar CSS and this seems to work for both Photon and Proton. (Your version only works with one and not the other right now.)
If you want to simplify it a little, you can also use the built in (to Firefox) loading PNG. [But there is always a risk they remove it at some point]
|
@irvinm , p.s. I haven't had time to troubleshoot Firefox, but one workaround seems to be to close FF, delete "cache2", start in safe mode and then restart in regular mode. I also have another strange issue that started 1-2 months ago, and I am not sure if it is related to FF, and if so, to which addon. My commit charge is slowly increasing from about 6 GB after booting up to the max of my page file size, 31 GB. Closing/restarting FF releases a several GB at a time but after about 2 days my commit is 26/31 with no programs running. At that point I need to reboot the computer do avoid programs crashing after starting them. I am running WIN7- 64 bit |
The last release fixed the problem I mentioned. Thank you @piroor -san! |
This issue has been closed due to no response within 14 days after labeled as "maybe fixed", 7 days after last reopened, and 7 days after last commented. |
I do not see close and new tab buttons right now. Addon version is 3.9.2. |
Related bug of Firefox side: 1763420 - Sidebar images linked in css are not always rendered |
Hitting this issue again on 106.0.2 on Windows. Is there a current workaround? Even restarting FF/rebooting isn't helping. |
Uninstalling then clicking "Undo" to install again seems to bring the icons back. Alas, they disappear again after restart. |
TST 3.9.10 has a change about this issue: the workaround should work more certainly now. |
Strangely, I have never had the issue of the close tab "X" on tabs missing until 3.9.10. It is now missing!??? Also sidebar scrollbar is gone. "+" sign for new tab at bottom of sidebar moved to the right from center where it was previously. |
@zekeblue The missing icons problem is like a ghost - someone never see that but someone see that very frequently. Missing scrollbar problem is off topic, so please open new issue for that. (BTW I think it can happen if Firefox saves and restores old width of the sidebar in wrong way and removing |
Thank you. Interesting result! Deleting xulstore.json not only restored the scrollbar and the off center new tab button, it also restore the missing "x" on the highlighted tab. I will monitor and see if this fix sticks. |
The close Tab icon and the new Tab Icon disappeared. I think after a Firefox update to v101.0.1 (64-bit) on WIN 7:

(they are still there on the regular Firefox Tabs)
The text was updated successfully, but these errors were encountered: