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 90420 - Refactor how allowed actions/states on windows work
Refactor how allowed actions/states on windows work
Status: RESOLVED OBSOLETE
Product: metacity
Classification: Other
Component: general
unspecified
Other Linux
: High normal
: future
Assigned To: Metacity maintainers list
Metacity maintainers list
Depends on:
Blocks: 94111 155453 340682
 
 
Reported: 2002-08-10 19:03 UTC by Havoc Pennington
Modified: 2020-11-06 20:08 UTC
See Also:
GNOME target: ---
GNOME version: 2.9/2.10



Description Havoc Pennington 2002-08-10 19:03:22 UTC
recalc_window_features() and has_*_func and 
meta_window_maximize etc. needs reworking.

Right now we call recalc_window_features anytime 
we change something, and meta_window_maximize
doesn't check e.g. whether the window is not maximizable
due to its type (the caller is supposed to do it).

I think recalc_window_features should be changed to a 
queue_recalc sort of setup, and we should impose invariants on 
allowed combinations of features (e.g. you can't have a window 
that is both fullscreen and shaded).

There are also cases such as maximized-and-shaded is allowed, but 
maximizing a window has the side effect of unshading it (if the user 
does the maximization, but not when restoring from a session).

We may want a meta_window_user_maximize() and meta_window_real_maximize()
kind of setup here as well.
Comment 1 Heath Harrelson 2002-10-30 15:45:50 UTC
Batch adding GNOME2 keyword to Metacity bugs.  Sorry for the spam.
Comment 2 Elijah Newren 2004-10-06 19:29:26 UTC
See also bug 122640.
Comment 3 André Klapper 2020-11-06 20:08:45 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.