Open WuerfelDev opened 3 years ago
This is somehow related to a xprop _GTK_FRAME_EXTENTS
.
Maybe it is possible to disable the behavior when tiling mode is on?
In a GTK Inspector window I can set this CSS:
decoration {
marign:0px;
}
The problem is gone. (Also the ability to use the border to resize the window by dragging the border) Adding the CSS to a user theme did however not work.
The solutions I think of are
In my quick testing the problem is not present on Wayland. It seems that calling actor.hide()
does not remove the ability to be focused by mouse in X11...
Maybe the root of the bug is somewhere here: https://gitlab.gnome.org/GNOME/mutter/-/blob/master/src/core/window.c#L2632
(1) Issue/Bug Description: I noticed that gtk apps are bigger than their window border. Therefore they catch the focus earlier. That is - especially with gaps not a big problem, but in stacked mode it is. The gtk window is raised to the top of the stack when the mouse is on the window border.
(2) Steps to reproduce (if you know):
(3) Expected behavior: The current, non-gtk window should stay on top of the stack
(4) Distribution (run
cat /etc/os-release
):also tested in VM with pop-os 21.04
(5) Gnome Shell version: GNOME Shell 3.38.4
(6) Pop Shell version (run
apt policy pop-shell
or provide the latest commit if building locally):a3fa53e9f00be256f8652d6d89ffabe2d95e792d
(7) Where was Pop Shell installed from: From source using
make debug
(8) Monitor Setup (2 x 1080p, 4K, Primary(Horizontal), Secondary(Vertical), etc): 1x 2560x1440
(9) Other Installed/Enabled Extensions:
(issue exists in fresh pop-os 21.04 too):
(10) Other Notes:
size of windows (looking glass):
Stacked: