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 591390 - remove icon and menu from titlebar
remove icon and menu from titlebar
Status: RESOLVED FIXED
Product: gnome-shell
Classification: Core
Component: general
unspecified
Other Linux
: Normal normal
: ---
Assigned To: gnome-shell-maint
gnome-shell-maint
: 600291 (view as bug list)
Depends on: 615586
Blocks: 591406
 
 
Reported: 2009-08-10 23:46 UTC by William Jon McCann
Modified: 2010-04-13 17:59 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Remove icon and menu from titlebar (2.60 KB, patch)
2010-04-12 22:05 UTC, Owen Taylor
committed Details | Review

Description William Jon McCann 2009-08-10 23:46:39 UTC
We should remove the menu from /apps/metacity/general/button_layout so it would be:
":minimize,maximize,close"

This probably depends on having #590429
Comment 1 Jon Nettleton 2009-09-04 02:38:27 UTC
How will you gnome at a quick glance what window is in the background if it does not have an icon on the frame?
Comment 2 William Jon McCann 2009-09-04 02:53:46 UTC
gnome?  Well really the odds that a) you ensure that those 22 pixels are unobscurred at all times and b) that you can't tell from the rest of the visual clues are both true are very small I think.  If there isn't enough of the window visible to identify it you either a) click on it to bring it to the foreground to see the app more clearly (and its name) b) use the alt+tab switcher to go to it c) go to the overview where everything is displayed fairly unambigously.

I've been running this way for a couple of months and I haven't had any trouble with gnome 2 or with gnome shell.
Comment 3 Dean Sas 2009-09-24 22:35:13 UTC
No icons is also the default in Ubuntu Karmic for both gnome 2 + shell. The app icon has been replaced by a button for opening the window menu.
Comment 4 William Jon McCann 2009-11-06 20:58:01 UTC
*** Bug 600291 has been marked as a duplicate of this bug. ***
Comment 5 Dan Winship 2009-11-13 15:50:41 UTC
isn't this basically just a theme issue?
Comment 6 Owen Taylor 2010-04-12 22:05:40 UTC
Created attachment 158545 [details] [review]
Remove icon and menu from titlebar

To avoid visual duplication with the application menu, eliminate
the window menu button. (The window menu can still be accessed by
right-clicking on the title bar, or Alt-right-clicking anywhere on the
window.)

This is implemented using the new Mutter facility for GConf key
redirection; we add separate key for 'button_layout' with a default
that omits the menu button.
Comment 7 Owen Taylor 2010-04-12 22:08:44 UTC
(In reply to comment #5)
> isn't this basically just a theme issue?

The button layout isn't part of the Metacity theme, it's separately specified in a GConf key. I suppose you could use an invisible menu button, but then the user would get a surprise if they tried to move a window by its extreme edge.
Comment 8 Dan Winship 2010-04-13 14:06:14 UTC
Comment on attachment 158545 [details] [review]
Remove icon and menu from titlebar

>+        <default>single</default>
>+	<default>:minimize,maximize,close</default>

You have 2 default values. (Also, there's a mix of spaces and tabs, but that's probably consistent with the existing data.)

otherwise good
Comment 9 Owen Taylor 2010-04-13 17:59:29 UTC
Attachment 158545 [details] pushed as 98a093a - Remove icon and menu from titlebar