-
-
Notifications
You must be signed in to change notification settings - Fork 14
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
Workaround for Wayland desktops #70
Comments
Another Thunderbird system tray extension, Birdtray, has the same issue. However, in their issue, the maintainer, mentions a new Wayland protocol specifically designed for system trays, the Wayland Toplevel Management protocol. It is currently unstable and probably still not implemented in Gnome and KDE — as mentionned in Birdtray's issue — but hopefully, it will eventually reach stable and offer a way to solve that issue? |
Thanks for the tip. But we need to wait for it the work at least a bit before I will have a try. |
I recently switched to EndeavourOS (Arch-based distro) gnome which has wayland and xorg (wayland is default), i set everything up on xorg (and activated gnome extension "AppIndicator and KStatusNotifierItem Support"), then switched to wayland and it's still working, restarted, run wayland from the start, stil working. Gnome version is 41.2. Did not try to set it up on wayland cause it's statet that it doesn't work. Mabe the gnome extension is the key. I don't know much about it, just wanted to share the info. :) |
IIRC, there's a compatibility layer between Wayland and X11 for now because a lot of softwares have no support whatsoever of Wayland yet. I suppose it's why it' working right now. But, as the time passes, X11 is expected to slowly become deprecated and Wayland become the standard. |
Hi, I just switched to Wayland on Leap/Plasma and noticed the problem Any news? |
Making Thunderbird run under XWayland mode makes it work properly. Basically, edit your desktop entry and change |
Would it be possible to reimplement this in Betterbird? |
Or MOZ_ENABLE_WAYLAND=0, which specifically applies to only Thunderbird and Firefox. I feel like the readme should point to one of those instead of recommending to disable Wayland completely (or as an alternative). |
Betterbird now has a working systray on linux, included on Wayland |
If I understand the code correctly, the relevant code is here. It uses internal Mozilla API which, in the present case, cannot be used if I'm not mistaken. |
@ouztheone thank you for the simple workaround. Tested in Ubuntu 23.10 and it worked nicely. Will change the README. |
@Ximi1970 I'm using Arch Linux so you can count that too. |
Betterbird's minimize to tray feature doesn't actually work on Wayland in Wayland mode (with Exec=env MOZ_ENABLE_WAYLAND=1): Betterbird/thunderbird-patches#279 |
If I were to develop a Plasma implementation, would you accept it? |
If you can put al the logic inside a separate windowctrl-unix-wayland.cpp and .h with minimal changes in the main windowctrl.cpp AND make it also work for GNOME, I could consider adding extra packages for wayland. |
Uh. Do I really have to make it work with GNOME? I don't use it and I don't know how to develop for it. Edit : I found Plasma's custom Wayland protocol that seems to be a solution to this problem under Plasma. Gnome seem to also have its own set of Wayland custom protocols but I could find one that would clearly solve the problem. Maybe I'm just unfamiliar with Wayland's vocabulary (surfaces and all). If someone with a better understanding of Wayland could give me a hint, I think I may be able to propose something. |
This add-on and companion app will never work with FULL Wayland desktops due to the design of Wayland. (No interaction between window clients)
Please have a look at the workaround:
#159 (comment)
The text was updated successfully, but these errors were encountered: