I recently upgraded to fedora 40 and have run into a really annoying GUI bug that I cant seem to fix so I figured I would ask someone here.
When I pin firefox (this happens only with firefox) to the cinnamon taskbar and click it, it will launch as normal but will not group under the panel icon (as in the image below). Ive tried unpinning and repinning, restarting cinnamon, removing the desktop entry in the start menu and readding it, and a little bit of tinkering with the exec line in said file but nothing seems to work. Every other application including Thunderbird does not seem affected by this bug
I do have multiple profiles for firefox, but I have it set so that it opens my default which it does successfully when I click the icon. If I set exec to open the ProfileManager instead, the resulting dialogue box (see below) does appear under the panel icon, but launching the browser from there doesnt put it under the panel icon. I figured the multiple profiles might be the issue since this only happens with firefox, but I cant seem to figure out where the problem is here.
Any possible advice in fixing this would be greatly appreciated!
you are at least the third or fourth in the group …
I have exactly the same problem, not only with Firefox, but also with Thunderbird.
I have found a workaround for Firefox, but unfortunately not for Thunderbird. And it’s really just a workaround that has to be repeated with every new Firefox version.
Here is my post with the workaround:
And here is the other post in which another user describes the same problem:
And finally here’s a post describing the issue with Thunderbird:
I was going to say I tried the instructions you gave and it didnt seem to do anything, but I didnt even know I had org.mozilla.firefox.desktop in /usr/share/applications as I dont have it installed under flatpak so… I tried deleting it and it appears to be working now!
I have my firefox.desktop file under ~/.local/share/applications so I believe that is where my menu/panel entry is pulling from.
I also have /usr/share/applications/org.mozilla.thunderbird.desktop but I dont have this issue with Thunderbird so I havent bothered deleting it.
Not sure if any of that can help in your case or if this will maintain over different firefox versions. Ill have to check next update.
Update: Deleting the file in /usr/share/applications didnt last but I found another reliable way to fix my issue in the meantime
If you have multiple profiles on firefox, you can load up one profile via commandline, open the other with the shortcut, and then pin the shortcut icon to the panel. Here are the steps that worked for me.
Unpin firefox from the taskbar if it isnt already. Make sure no instance of Firefox is running.
Run nohup firefox -p PROFILENAME & in a terminal with PROFILENAME referring to a profile that is not the default
Open the firefox shortcut
Right click it on the taskbar and click ‘Pin to panel’
I have to do this everytime I reboot my computer, so its a temporary solution but it always seems to work.