GNOME Bugzilla – Bug 690454
WindowManager: fix regression from 3b8a125732a7ad743903d5676af549b0a210d6b4
Last modified: 2012-12-18 22:30:41 UTC
The attached window status is derived from the window type, but it is not changed if the window type changes. This means that not all attached dialogs are of type MODAL_DIALOG, but we want to animate them anyway (in particular to remove the parent dimming), so add an explicit check for the in shouldAnimate(). This sounds like an edge case but it affected modal dialogs in nautilus.
Created attachment 231837 [details] [review] WindowManager: fix regression from 3b8a125732a7ad743903d5676af549b0a210d6b4
Seems like a mutter bug instead.
Created attachment 231839 [details] [review] window: recompute modal dialog attached status when the window type changes We want to maintain the invariant that an attached modal dialog is always of type MODAL_DIALOG, so recompute is_attached_dialog() when the window type changes. Ok, here is the mutter solution, if you prefer it.
Review of attachment 231839 [details] [review]: Much better.
Attachment 231839 [details] pushed as 6111d3e - window: recompute modal dialog attached status when the window type changes