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 604237 - Remove minimize button?
Remove minimize button?
Status: RESOLVED FIXED
Product: gnome-shell
Classification: Core
Component: general
unspecified
Other Linux
: Normal normal
: ---
Assigned To: gnome-shell-maint
gnome-shell-maint
Depends on: 630548 635683 635686
Blocks:
 
 
Reported: 2009-12-10 03:43 UTC by lexual
Modified: 2011-02-23 00:39 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description lexual 2009-12-10 03:43:15 UTC
https://bugzilla.gnome.org/show_bug.cgi?id=578147

From above bug.

What is the correct behaviour of the minimize button in gnome-shell?

Is the button even needed?
Comment 1 lexual 2009-12-10 03:44:21 UTC
possibly related discussion ?
https://bugzilla.gnome.org/show_bug.cgi?id=571109
Comment 2 William Jon McCann 2010-10-16 21:51:51 UTC
Also sort of related to bug 607338.  But the question "do we need a special tiny button in the titlebar of every window to minimize it?" is a very good one.  Perhaps hotkeys and an item in the app menu is enough?  Perhaps they are too tiny and fiddley and accidentally triggered on touch devices?
Comment 3 William Jon McCann 2010-11-12 16:19:49 UTC
I'm leaning towards removing both minimize and maximize.  Maximize can be done as a gesture (bug 630548).

I guess this could be accomplished using the button_layout mutter setting.  However, when I did that the theme didn't seem to recognize that it didn't have them there and drew the wrong close button.  Jakub recommended the following:
diff --git a/themes/Adwaita/metacity-1/metacity-theme-3.xml b/themes/Adwaita/met
index 50fc5bf..e81d5cc 100644
--- a/themes/Adwaita/metacity-1/metacity-theme-3.xml
+++ b/themes/Adwaita/metacity-1/metacity-theme-3.xml
@@ -960,7 +960,7 @@
 
   <!-- window types -->
 
-  <window type="normal" style_set="normal"/>
+  <window type="normal" style_set="utility"/>
Comment 4 Cyril Arnaud 2010-11-29 19:20:29 UTC
I really like the idea described here : https://bugzilla.gnome.org/show_bug.cgi?id=607338
The "minimize" action is replaced by a "parking lot" action.
By minimizing the window, it goes to a reserved space in the overview (see http://d.imagehost.org/0672/minimize2.png)

I really like the idea, because eventhough you can mimic this behavior (parking application in reserved spaces) by using several workspaces (and DND), it seems that the developers tend to consider that different workspaces will be used by power users only (see http://jimmac.musichall.cz/log/?p=1126 and http://jimmac.musichall.cz/log/?p=1107).

So, I am only guessing, that removing the minimized button will make things harder to understand for regular users.
But in the other hand keeping the minimized button with the current behavior is even more confusing (where is this window ? I just minimized it ...)

IMHO, removing the button violates the Principle of Least Astonishment (http://live.gnome.org/GnomeShell/Design) and for me the "parking" behavior will be great to teach the beginners to use the different sections of the overview and workspaces. (Design a self-teaching interface for beginners http://live.gnome.org/GnomeShell/Design).
Comment 5 Christian Göbel 2011-01-22 21:34:19 UTC
The situation at the moment: 
Click on "Minimize-button"  ->  hide this window

Note that depending on the use-case this can be very useful, since using by using the "Minimize-button", the window is out of the way - but the state/contents of the window is preserved. 

Removing these buttons is hardly a solution for most of the users. The vast majority of Users I know never use gestures - they do not even know that gestures exist. 

I think that there are different issues here: 
a) The minimize-metaphor does not correspond to the actual behaviour

Possible solution for a): Either change the metaphor from "Minimize-button" to "Hide-button" OR  Adapt the behaviour to the metaphor. The comments above illustrate how the minimize metaphor could be translated to the Gnome-Shell i.e. show a small "picture" of the window.

b) The ICON on the button do not fit to the Gnome-Shell. Typically the minimize icon is represented by a small bar. This fits graphically to the Window List in the old Gnome-Panel which is not used in the Gnome-Shell. 

Possible solution for b): Adapt the icon to the Gnome-Shell. If it is used as a "Hide-button" this should be visualised (e.g. by a single dot). It the button is used as a "Minimize-Button" than a small rectangle would be a more adequate graphical metaphor than a small bar.
Comment 6 William Jon McCann 2011-02-01 16:21:49 UTC
At this point I think this can be done by changing the gconf key 
/desktop/gnome/shell/windows/button_layout = ":close"
Comment 7 Owen Taylor 2011-02-23 00:39:48 UTC
Schema changed to :close, see

 http://mail.gnome.org/archives/gnome-shell-list/2011-February/msg00192.html

for detailed discussion. Sorry about the line wrapping, evolution wasn't
working so I used an incompetent web-mail substitute.