Window Buttons inside TABBAR disappear on launch or don't follow GTK Theme (in Plasma DE)
Hello,
There seems to be an issue with the Window Buttons [not] displaying inside the TABBAR in some circumstances.
I failed to "properly" troubleshoot this issue, but I can provide info on when this is happening.
- This has been happening on KDE Plasma. 5.27.x and maybe more but only tested in 5.27.x, have not tried other DEs (except Ubuntu).
- Have not tested on multiple Arch distros so far.
- Wayland vs X11, both show the same results in same circumstances.
First off, let's look at Firefox. Window Buttons not only display inside the TABBAR but also follow the GTK Theme of Window Decorations (Sweet Theme here):
Unless Librewolf deliberately changed this, we should be expecting the same to behave on Librewolf. However, 2 different situations are occuring:
1- On some installations of the same Linux distro flavor (Garuda Dr460nized), the buttons display but don't follow the GTK theme - Firefox does as mentioned above:
2- On some other installations of that above same distro, the buttons vanish about a quarter of a second after the first time you launch Librewolf during the session (to try that again, logoff Plasma, relogin and launch Librewolf). The subsequent launches in the same session, probably cuz it's in RAM, you just don't see the buttons at all, it opens up too fast:
Number1 may be understandable cuz sometimes GTK apps don't follow the Plasma theme, although here Firefox does follow, so I am expecting Librewolf to follow as well, except if designed by you to not follow Firefox's behavior. That I don't know.
Number2 is much harder to understand from a design point of view. Since no button and no menubar are displayed "by default", the user has no GUI method to perform some interactions with Librewolf, like a simple QUIT app. Workarounds outside Librewolf are required in order to quit it.
Three more tests:
-
If installed in Ubuntu 22.04.2 LTS, the buttons are displayed inside the TABBAR and follow the theme. This yields me to think they also should be for Arch.
-
If launching the AppImage in the Arch system, for about 0.25 to 0.75 second the buttons are displayed inside the TABBAR and do follow the GTK theme. But they vanish right away.
-
When I launch Librewolf from CLI on those Arch machines without the buttons, I get:
[Parent 2388, Main Thread] WARNING: dbusmenu_menuitem_property_set_shortcut: assertion 'gtk_accelerator_valid(key, modifier)' failed: 'glib warning', file /builds/librewolf-community/browser/arch/src/firefox-111.0.1/toolkit/xre/nsSigHandlers.cpp:167
(LibreWolf:2388): LIBDBUSMENU-GTK-CRITICAL **: 23:58:38.204: dbusmenu_menuitem_property_set_shortcut: assertion 'gtk_accelerator_valid(key, modifier)' failed
On the same machines when CLI launching Firefox I get no message at all.
Thank you