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 315910 - Dialog/utility windows don't have buttons (minimize/maximize) that users seem to expect
Dialog/utility windows don't have buttons (minimize/maximize) that users seem...
Status: RESOLVED OBSOLETE
Product: metacity
Classification: Other
Component: general
2.10.x
Other All
: Normal normal
: ---
Assigned To: Metacity maintainers list
Metacity maintainers list
: 354937 (view as bug list)
Depends on:
Blocks: 340682
 
 
Reported: 2005-09-10 14:22 UTC by Ralf Stephan
Modified: 2020-11-06 20:05 UTC
See Also:
GNOME target: ---
GNOME version: 2.9/2.10



Description Ralf Stephan 2005-09-10 14:22:32 UTC
Please describe the problem:
The Gnome Human Interface Guidelines specify that, for usability,
programs should place minimize buttons on utility windows.

http://developer.gnome.org/projects/gup/hig/

Since metacity does not honour the DIALOG/UTILITY hint in this regard, 
it doesn't conform to the HIG.

Steps to reproduce:
1. write a Gtk application
2. create a window and give Gtk the dialog/utility hint (which it immediately gives to the wm)
3. run this program under metacity

Actual results:
the window only has a close decoration

Expected results:
it should also have a minimize button

Does this happen every time?
yes

Other information:
I was asked by Havoc Pennington to report this as metacity bug.
Personally, I regarded it as a shortcoming of the EWMH.
Comment 1 Elijah Newren 2006-05-03 19:13:45 UTC
metacity/src/window.c:recalc_window_features() :
  if (window->type != META_WINDOW_NORMAL)
    {
      window->has_minimize_func = FALSE;
      window->has_maximize_func = FALSE;
      window->has_fullscreen_func = FALSE;
    }
combined with metacity/src/frame.c:meta_frame_get_flags() making the appearance of the button depend on window->has_minimize_func is what causes this bug.
Comment 2 Ralf Stephan 2006-08-20 08:54:10 UTC
so you can confirm this is a bug?
Comment 3 Elijah Newren 2006-08-21 16:53:57 UTC
Sure, but I tend to ignore confirmed vs unconfirmed state so it doesn't really matter.
Comment 4 Elijah Newren 2006-09-08 16:36:05 UTC
*** Bug 354937 has been marked as a duplicate of this bug. ***
Comment 5 Havoc Pennington 2006-09-08 20:12:08 UTC
If you want to talk HIG, it has a dialog subset (alerts) without maximize, minimize, or close buttons; then it has regular dialogs with minimize but not maximize; and utility windows with minimize and close.

I tend to think anything marked dialog or utility that needs maximizing is not really a dialog or utility window.
Comment 6 Olaf van der Spek 2006-09-08 20:44:43 UTC
> I tend to think anything marked dialog or utility that needs maximizing is not
really a dialog or utility window.

What is the definition of dialog and utility windows?

No maximize IMO implies no resize IMO implies no scrollbars.
Comment 7 Havoc Pennington 2006-09-08 21:08:48 UTC
if you want a precise "definition" then I guess the HIG is as close as you'll get. but in the end it's just a design judgment, not some kind of a priori thing derived from first principles.

I would say one aspect of a dialog is that it's only supposed to be onscreen for a short time, and one aspect of a utility window is that it's supposed to be onscreen alongside larger document windows.

I have no real interest in debating the subject, don't get me wrong. I would personally just implement what the HIG says and close the bug, and let people go argue with the HIG if they like.
Comment 8 Olaf van der Spek 2006-09-08 21:28:53 UTC
> and let people go argue with the HIG if they like.

I've send an email to usability@gnome.org about this.
Comment 9 André Klapper 2020-11-06 20:05:51 UTC
bugzilla.gnome.org is being replaced by gitlab.gnome.org. We are closing all old bug reports in Bugzilla which have not seen updates for many years.

If you can still reproduce this issue 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 fixed.