Betterbird / thunderbird-patches

Betterbird is a fork of Mozilla Thunderbird. Here are the patches that provide all the goodness.
Other
455 stars 20 forks source link

Tray icon on Gnome only works if used through XWayland #221

Closed piekay closed 8 months ago

piekay commented 9 months ago

Expected Behavior: a tray icon appears when the option: "minimize to tray" is enabled

Real-World behavior: when enabling minimize to tray on the native Wayland version it behaves like the option isn't selected and neither minimizes to tray, nor displays the tray icon. If I enable always show icon in about:config, then the icon is displayed, but the application still behaves like the option "minimize to tray" wasn't ticked

OS: NixOS 23.05 Betterbird versions: 102.15.1 and 115.3.2 respectively Gnome-Shell version: 44.2 gnome-shell-extension-appindicator version: 53

Betterbird commented 9 months ago

Hmm, well, so if you enable "always on", the icon is displayed. Whether it will minimise depends on your desktop. Which desktop are you using? Gnome? Check the documentation:

System Tray support (Windows and Linux)

The following is supported:

OS / Desktop | System tray | System tray always | Tooltip with folder list | Minimize to tray -- | -- | -- | -- | -- Windows | Yes | Yes | Yes | Yes Linux / KDE | Yes | Yes | Yes | Yes Linux / Gnome | Yes | Yes | No | Yes(*) Linux / Cinnamon | Yes | Yes | Yes | No Linux / Mate | Yes | Yes | Yes | Yes(**) Linux / Xfce | Yes | Yes | Yes | Yes "Minimize to tray" on Linux from version 102.5.0 and 115.2.0. 102.5.0 only supports KDE and Gnome.

(*) For Gnome you need to install the "AppIndicator and KStatusNotifierItem Support" extension. Double-click to activate.
(**) The Mate desktop is supported from BB 115.3.1-bb14 build after 2 October 2023.

Relevant preferences:

102.15.1 has some of this support, but not all. So please test on 115.4.2.

Maybe issue #214 has some relevant information.

piekay commented 9 months ago

I will continue all testing on 115.4.2.

I am using Gnome with the Appindicator Extension, but on Wayland only the ```

mail.biff.show_tray_icon_always


option is working. 

I couldn't find anything helpful in the discussion you mentioned yet, but I will keep an eye on it. 
mfschumann commented 9 months ago

Are you using the flatpak version of Betterbird? If so, there is a chance that the issue will be fixed in version 115.5.1 which will be published later today.

piekay commented 8 months ago

this seems to be an issue with NixOS. I have used it as a side project on a Laptop, but I've switched back to my main OS where this bug doesn't occur. So I sadly can't help with testing, but since this was a niche use case in the first place I guess that this won't happen again