GNOME Bugzilla – Bug 90420
Refactor how allowed actions/states on windows work
Last modified: 2020-11-06 20:08:45 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.
Batch adding GNOME2 keyword to Metacity bugs. Sorry for the spam.
See also bug 122640.
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.