paperwm / PaperWM

Tiled scrollable window management for Gnome Shell
GNU General Public License v3.0
2.94k stars 125 forks source link

Support `Attach Modal Dialogs` Gnome setting #904

Open jtaala opened 1 month ago

jtaala commented 1 month ago

Related to #902.

Due to some (previously observed) complexities with PaperWM's tiling/window-manage model, Gnome's "Attach Modal Dialogs" mode for windows is not currently compatible with PaperWM.

As such, this Gnome setting is a managed setting in PaperWM: https://github.com/paperwm/PaperWM?tab=readme-ov-file#recommended-gnome-shell-settings

This request is to add specific support for this Gnome windowing option.

jtaala commented 1 month ago

Some notes from previously observed behaviour with "Attach Modal Dialogs":

Lythenas commented 1 month ago

I briefly tried out the Attach Modal Dialogs setting and the main issue I encountered is that when a window moves out of the screen the dialog will move to the next monitor. I don't know if there are other issues, but that might be manageable by paperwm (e.g. hide or clip the dialog if the parent is outside of the monitor).

jtaala commented 1 month ago

Thanks @Lythenas. I also noticed that notice a model "dialog" moves the parent window instead, with the modal dialog staying in it's original position, until I release a button (then it snaps to the parent window) - which looks very strange.