After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 749074 - [Wayland] System tray icons of GTK3 XWayland apps aren't displayed
[Wayland] System tray icons of GTK3 XWayland apps aren't displayed
Status: RESOLVED DUPLICATE of bug 758677
Product: gnome-shell
Classification: Core
Component: message-tray
3.20.x
Other Linux
: Normal normal
: ---
Assigned To: gnome-shell-maint
gnome-shell-maint
Depends on:
Blocks:
 
 
Reported: 2015-05-07 14:50 UTC by Juraj Fiala
Modified: 2016-10-12 18:57 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Juraj Fiala 2015-05-07 14:50:35 UTC
Arch Linux, fully updated, GNOME 3.16.1.

While in the Wayland session I can't see the tray icons of neither Transmission nor Liferea.

Brace yourselves, guess ahead: maybe all GTK3 Xwayland apps are affected? I'm not sure because I can't really tell which are Wayland and which Xwayland, just by the FPS.

Thanks.
Comment 1 Florian Müllner 2015-05-08 12:16:31 UTC
(In reply to Juraj Fiala from comment #0)
> I'm not sure because I can't really tell which are Wayland and which
> Xwayland

Easy - there's no such things as "tray icons" in wayland, so all legacy status icons use XWayland. Quite possibly a duplicate of bug 721596 ...
Comment 2 Juraj Fiala 2015-05-08 13:32:58 UTC
Not really. That issue talks about blank space in the system tray, where just the graphical icons are missing, which is not what I experience. My fault, didn't explain it correctly.

There's no clickable space where an icon should be but somehow isn't. The icons, or entries, of these apps in Wayland are simply non-existent. If you have an empty tray, open Transmission or Liferea and turn on their tray icons, the tray stays empty.

Sorry, should have explained it better the first time.

> there's no such things as "tray icons" in wayland, so all legacy status
> icons use XWayland.

Thanks for pointing that out.
Comment 3 Florian Müllner 2015-05-08 13:46:09 UTC
(In reply to Juraj Fiala from comment #2)
> There's no clickable space where an icon should be but somehow isn't. The
> icons, or entries, of these apps in Wayland are simply non-existent. If you
> have an empty tray, open Transmission or Liferea and turn on their tray
> icons, the tray stays empty.

If the tray is truly empty, it should be hidden completely rather than shown empty. So I wouldn't discard that the icon is there, but ends up with a 0x0 size which makes it both invisible and unclickable.
If you open the looking glass dialog (alt-f2 lg), what number does "Main.legacyTray._iconBox.get_n_children()" report?
Comment 4 Juraj Fiala 2015-05-08 13:56:35 UTC
By empty I meant that it's hidden, as it should.

Tried the command, with Transmission open and it's tray icon enabled:

>>> Main.legacyTray._iconBox.get_n_children()
r(1) = 0
Comment 5 Juraj Fiala 2015-05-09 16:38:14 UTC
> as it should
...if no tray icon was supposed to be there.

I think I should have called this bug "Some apps fail to create a system tray entry" or something.
Comment 6 Juraj Fiala 2016-03-23 18:26:49 UTC
OK, still present in 3.2O. Gtk3 XWayland apps don't display a tray icon, others work fine.
Comment 7 Juraj Fiala 2016-10-12 18:57:49 UTC
Duplicating against a newer but more appropriate bug.

*** This bug has been marked as a duplicate of bug 758677 ***