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 771329 - gtk_window_set_skip_taskbar_hint and gtk_window_set_skip_pager_hint not working in Wayland
gtk_window_set_skip_taskbar_hint and gtk_window_set_skip_pager_hint not worki...
Status: RESOLVED OBSOLETE
Product: gtk+
Classification: Platform
Component: Backend: Wayland
3.20.x
Other Linux
: Normal normal
: ---
Assigned To: gtk-bugs
gtk-bugs
Depends on:
Blocks:
 
 
Reported: 2016-09-12 22:39 UTC by Gerald Nunn
Modified: 2018-04-15 00:30 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Gerald Nunn 2016-09-12 22:39:13 UTC
I'm adding a quake mode to my gtk3 terminal emulator where it appears at the top of the screen similar to guake, tilda, etc. As part of this mode I use the APIs gtk_window_set_skip_taskbar_hint and gtk_window_set_skip_pager_hint so the terminal window does not appear as part of the gnome shell overview or has the app in the top bar.

Under X11 this works as expected, under Wayland the terminal still appears in the gnome shell overview and has the app menu in the top bar.

I'm using the 3.20.9-1 package in Arch Linux.
Comment 1 Matthias Clasen 2016-09-13 16:00:35 UTC
These are not concepts that Wayland has. I think you'll be much better off doing this sort of thing inside the compositor or with a special compositor interface, under Wayland.
Comment 2 Gerald Nunn 2016-09-13 16:36:06 UTC
Thanks, I'll have a look at that and see what I can figure out, not very familiar with Wayland at this point. 

BTW, should those two methods be documented as not functional under Wayland and this changed to a documentation issue?
Comment 3 Emmanuele Bassi (:ebassi) 2016-09-13 16:44:50 UTC
(In reply to Gerald Nunn from comment #2)

> BTW, should those two methods be documented as not functional under Wayland
> and this changed to a documentation issue?

The API in question sets hints; these are not guaranteed to work depending on platform, window manager, or user configuration. You cannot rely on these hints to have any effect.

There's a case that could be made that GNOME Shell could expose an ad hoc protocol under Wayland that GTK+ could use to communicate the same behaviour.
Comment 4 Gerald Nunn 2016-09-13 17:23:52 UTC
Fair enough, thank you.
Comment 5 Matthias Clasen 2016-09-14 14:10:06 UTC
(In reply to Emmanuele Bassi (:ebassi) from comment #3)

> There's a case that could be made that GNOME Shell could expose an ad hoc
> protocol under Wayland that GTK+ could use to communicate the same behaviour.

The natural place would be the existing gtk-shell interface.
Comment 6 Matthias Clasen 2018-02-10 05:23:34 UTC
We're moving to gitlab! As part of this move, we are moving bugs to NEEDINFO if they haven't seen activity in more than a year. If this issue is still important to you and still relevant with GTK+ 3.22 or master, please reopen it and we will migrate it to gitlab.
Comment 7 Matthias Clasen 2018-04-15 00:30:27 UTC
As announced a while ago, we are migrating to gitlab, and bugs that haven't seen activity in the last year or so will be not be migrated, but closed out in bugzilla.

If this bug is still relevant to you, you can open a new issue describing the symptoms and how to reproduce it with gtk 3.22.x or master in gitlab:

https://gitlab.gnome.org/GNOME/gtk/issues/new