GNOME Bugzilla – Bug 738562
Minimise and maximise buttons are missing in GNOME 3.14 by default
Last modified: 2015-06-04 14:25:59 UTC
Minimise and maximise buttons are missing in GNOME 3.14 by default 1. Wait for session-dependent defaults to GSettings. 2. We could make first-run / welcome window in gnome-flashback module. Where we could ask user if he wants back all buttons. Ask for layout he prefers and then update org.gnome.desktop.wm.preferences button-layout. This way it should work nice for both sessions - metacity and compiz.
Created attachment 288568 [details] [review] Move button-layout to metacity schema
This is worked around in the Classic session by providing a GSettings overrides schema which is used in g-s-d[2]. I believe a solution based on this approach would be more pragmatic. I am willing to work on a patch if needed. [1] https://git.gnome.org/browse/gnome-shell-extensions/tree/data/org.gnome.shell.extensions.classic-overrides.gschema.xml.in [2] https://git.gnome.org/browse/gnome-settings-daemon/tree/plugins/xsettings/gsd-xsettings-manager.c#n334
Created attachment 298059 [details] [review] gnome-flashback: Provide WM settings override schema
Created attachment 298060 [details] [review] g-s-d: xsettings: swap out WM settings for Flashback
Thanks for trying to help, but this is not going to be accepted... GNOME Shell devs are not quite interested in GNOME Flashback so they are not going to accept patch for gsd (which adds flashback specific code). They even don't want accept patches/changes that could allows us to use session without using org.gnome.Shell dbus name (these changes does not add anything specific to our session): https://bugzilla.gnome.org/show_bug.cgi?id=739534
(In reply to Alberts Muktupāvels from comment #5) > Thanks for trying to help, but this is not going to be accepted... > > GNOME Shell devs are not quite interested in GNOME Flashback so they are not > going to accept patch for gsd (which adds flashback specific code). This patch fixes an issue which also applied to Classic in a similar fashion, therefore from a technical perspective this makes a lot of sense. If you're on board with this solution, I'm willing to work on getting it into g-s-d. > They even don't want accept patches/changes that could allows us to use > session without using org.gnome.Shell dbus name (these changes does not add > anything specific to our session): > https://bugzilla.gnome.org/show_bug.cgi?id=739534 That change would have required a corresponding change to gnome-shell; this one would not.
(In reply to Yaakov Selkowitz from comment #6) > (In reply to Alberts Muktupāvels from comment #5) > > Thanks for trying to help, but this is not going to be accepted... > > > > GNOME Shell devs are not quite interested in GNOME Flashback so they are not > > going to accept patch for gsd (which adds flashback specific code). > > This patch fixes an issue which also applied to Classic in a similar > fashion, therefore from a technical perspective this makes a lot of sense. > If you're on board with this solution, I'm willing to work on getting it > into g-s-d. Classic is official session, Flashback is not and that is big difference. But ok, if you can get gsd patch accepted then I will accept patch for gnome-flashback. Please post here gsd bug link. > > They even don't want accept patches/changes that could allows us to use > > session without using org.gnome.Shell dbus name (these changes does not add > > anything specific to our session): > > https://bugzilla.gnome.org/show_bug.cgi?id=739534 > > That change would have required a corresponding change to gnome-shell; this > one would not. that bug is about patches for gnome-session, gnome-shell, gnome-settings-daeomon and of course to this module. And I think this is bigger problem than missing buttons.
This will be fixed in next release and is already in master. I have added workarounds to GNOME Flashback that will take care about setting Gtk/ShellShowsAppMenu to FALSE and Gtk/DecorationLayout to menu:minimize,maximize,close - can be changed from org.gnome.gnome-flashback.workarounds fix-button-layout setting. Metacity has been updated to use button layout from GtkSettings.