GNOME Bugzilla – Bug 759429
Wayland windows don't have minimize and maximize buttons
Last modified: 2018-04-15 00:20:51 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
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.
It happens in gnome-terminal, nautilus, and gtk3-demo
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
GtkSettings::decoration-layout = 'menu:close' (source: XSettings) GtkHeaderBar::decoration-layout = NULL
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"
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.
Still not reproducible here. You will have to debug this on your side, I'm afraid.
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.
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