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 758677 - GtkStatusIcon: Don't silently fail under Wayland breaking some applications
GtkStatusIcon: Don't silently fail under Wayland breaking some applications
Status: RESOLVED OBSOLETE
Product: gtk+
Classification: Platform
Component: Backend: Wayland
3.18.x
Other All
: Normal normal
: ---
Assigned To: gtk-bugs
gtk-bugs
: 749074 (view as bug list)
Depends on:
Blocks: WaylandRelated
 
 
Reported: 2015-11-25 20:46 UTC by Christian Stadelmann
Modified: 2018-05-02 16:51 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Christian Stadelmann 2015-11-25 20:46:15 UTC
some applications use(d) to minimize or close to tray. GtkStatusIcon is deprecated in Gtk 3.14. Using a GtkStatusIcon silently fails if Gtk is running with a wayland backend. This breaks some applications (e.g. redshift, exaile, transmission, …).

Can you please add some code to not fail silently?

Gtk3 could e.g. display a warning message that tray icons are not supported. I know that this is not a good idea, but I don't have something better.
Comment 1 Michael Catanzaro 2016-08-01 00:35:23 UTC
(In reply to Christian Stadelmann from comment #0)
> Gtk3 could e.g. display a warning message that tray icons are not supported.
> I know that this is not a good idea, but I don't have something better.

This seems like a fine solution to me; it would be a big mistake to support status icons in Wayland.
Comment 2 Strangiato 2016-08-15 18:28:03 UTC
(In reply to Michael Catanzaro from comment #1)
> it would be a big mistake to support status icons in Wayland.

was you ironic? I hope so.
Comment 3 Michael Catanzaro 2016-08-15 19:12:20 UTC
(In reply to Strangiato from comment #2)
> was you ironic?

Nope. GtkStatusIcon has been deprecated for years. Applications can use notifications instead.
Comment 4 Juraj Fiala 2016-10-12 18:57:49 UTC
*** Bug 749074 has been marked as a duplicate of this bug. ***
Comment 5 GNOME Infrastructure Team 2018-05-02 16:51:28 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to GNOME's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.gnome.org/GNOME/gtk/issues/585.