Open Amatrelan opened 2 years ago
See also #37930 and #38727
I remember experimenting with the _NET_WM_WINDOW_TYPE_DIALOG
atom a long time ago without great results, but that was before that PR was merged, so it might work without issues now.
At least in testing I did yesterday, with that patch it seemed to work correctly in QTile. And as far I recall _NET_WM_WINDOW_TYPE_DIALOG
is also default floating window in i3wm, if not but it can be easily enabled as floating window type in i3wm if not default.
Godot version
v4.0.dev.custom_build [69a194f05]
System information
Linux, x11, nvidia
Issue description
Many new windows what is created has
_NET_WM_WINDOW_TYPE(ATOM) = _NET_WM_WINDOW_TYPE_NORMAL
what creates jarring user experience with Tiling Window Managers.I would recommend change
_NET_WM_WINDOW_TYPE(ATOM)
set to_NET_WM_WINDOW_TYPE_DIALOG
for all dialog windows.Places where this should be changed to
_NET_WM_WINDOW_TYPE_DIALOG
as I found out in fast testing is:_NET_WM_WINDOW_TYPE
=NORMAL
.Other Node
as base type.On many applications only main window type is set to
_NET_WM_WINDOW_TYPE_NORMAL
and all others are set to other ones (mostly to_NET_WM_WINDOW_TYPE_DIALOG
). And this is how most of tiling window managers are coded to handle_NET_WM_WINDOW_TYPE_DIALOG
as floating window automatically.Here is one possible fix for this.
Steps to reproduce
Minimal reproduction project
No response