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 759429 - Wayland windows don't have minimize and maximize buttons
Wayland windows don't have minimize and maximize buttons
Status: RESOLVED OBSOLETE
Product: gtk+
Classification: Platform
Component: Backend: Wayland
3.18.x
Other Linux
: Normal normal
: ---
Assigned To: gtk-bugs
gtk-bugs
Depends on:
Blocks:
 
 
Reported: 2015-12-14 00:29 UTC by Ben
Modified: 2018-04-15 00:20 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Ben 2015-12-14 00:29:32 UTC
I don't see minimize or maximize buttons even though
org.gnome.desktop.wm.preferences button-layout = 'appmenu:minimize,maximize,close'

Xwayland windows do have it
Comment 1 Jonas Ådahl 2015-12-14 03:18:34 UTC
What applications can you reproduce this? I tried with gnome-terminal, files, gtk3-demo, gnome-music under Wayland (all ussing the Wayland backend) and the minimize and maximize buttons came up.
Comment 2 Ben 2015-12-14 06:20:35 UTC
It happens in gnome-terminal, nautilus, and gtk3-demo
Comment 3 Matthias Clasen 2015-12-14 11:31:46 UTC
Works here as well. If you can open the gtk inspector in an affected application and check out the values of the following properties, that would be helpful:

GtkSettings::decoration-layout
GtkHeaderBar::decoration-layout
Comment 4 Ben 2015-12-14 17:23:09 UTC
GtkSettings::decoration-layout = 'menu:close' (source: XSettings)
GtkHeaderBar::decoration-layout = NULL
Comment 5 Matthias Clasen 2015-12-15 18:32:30 UTC
What does

echo $XDG_CURRENT_DESKTOP

say ?

The wayland backend reads the button-layout setting from either of these places, depending on the value of that environment variable

#define WM_SETTINGS_SCHEMA "org.gnome.desktop.wm.preferences"
#define CLASSIC_WM_SETTINGS_SCHEMA "org.gnome.shell.extensions.classic-overrides"
Comment 6 Ben 2015-12-15 22:33:52 UTC
XDG_CURRENT_DESKTOP = 'GNOME'

Both GSettings entries have minimize and maximize

Additionally, if i run a program from jhbuild it works fine, but I don't know whether jhbuild has a separate GSettings backend.
Comment 7 Matthias Clasen 2016-01-08 14:22:42 UTC
Still not reproducible here. You will have to debug this on your side, I'm afraid.
Comment 8 Matthias Clasen 2018-02-10 05:20:06 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 9 Matthias Clasen 2018-04-15 00:20:51 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