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 319723 - Should have option to hide Close button
Should have option to hide Close button
Status: RESOLVED OBSOLETE
Product: metacity
Classification: Other
Component: general
trunk
Other All
: Normal enhancement
: ---
Assigned To: Metacity maintainers list
Metacity maintainers list
Depends on:
Blocks:
 
 
Reported: 2005-10-25 12:04 UTC by Calum Benson
Modified: 2020-11-07 12:36 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Calum Benson 2005-10-25 12:04:43 UTC
Not sure if this is an EWMH issue or a metacity issue, but it crops up on the
usability list from time to time and I can't see a bug about it, so here's one :)

Basically, the HIG would like to specify that certain types of window shouldn't
have a Close button in the titlebar-- specifically, alerts and dialogs that
offer the user both confirmation and cancelling actions.  The titlebar Close
button is entirely ambiguous in those situations, and its usage could result in
unintentional loss of the user's work.
Comment 1 Havoc Pennington 2005-10-29 04:28:43 UTC
Would be an EWMH and GTK issue first but it involves metacity.

I think metacity has a way to do this already, though it's a legacy way; you can
set the MWM hints. So if GTK used those for now and then we can find a more
standard approach later, that would make sense.
Comment 2 Elijah Newren 2006-05-03 19:38:27 UTC
_NET_WM_ACTION_CLOSE already exists, so the EWMH half of the issue is already solved.  ;-)  I just ran a
  grep -r "_NET_WM_ACTION_CLOSE" *
in the gtk+ source directory and didn't find anything, so it appears that gtk+ still needs to support it.
Comment 3 Elijah Newren 2007-04-12 20:39:54 UTC
Um, don't know what I was thinking when I wrote comment 2; _NET_WM_ACTION_* are atoms used by the WM to communicate to clients (via _NET_WM_ALLOWED_ACTIONS) what features exist.  In particular, the EWMH even says the WM should ignore the value of _NET_WM_ALLOWED_ACTIONS when it initially manages a window since the value may be left over from a previous window manager with different policies.
Comment 4 André Klapper 2020-11-07 12:36:58 UTC
bugzilla.gnome.org is being replaced by gitlab.gnome.org. We are closing all
old feature requests in Bugzilla which have not seen updates for many years.

If you still use metacity and if you are still requesting this feature in a currently supported version of GNOME (currently that would be 3.38), then please feel free to report it at https://gitlab.gnome.org/GNOME/metacity/-/issues/

Thank you for reporting this issue and we are sorry it could not be implemented.