GTK windows with CSD are not being fully integrated to the Windows window manager
Steps to reproduce
- Open any window with a GtkHeaderBar (or any control that inherit from GtkHeaderBar) as titlebar
- Press Win + Left or Right to snap the window the left or to the right of the screen respectively
- Nothing happens
- Press Win + Up to maximize the window
- Nothing happens
- Press the app icon on the taskbar to minimize it
- Nothing happens
- (Only on Windows 10) Snap another window to any side and expect to see the GTK window as an option to snap it too
- The GTK window is not listed as an option
- Snap the GTK window manually (dragging it to any side of the screen) and expect to see the other windows as options to snap they too.
- Nothing happens
Current behavior
The current integration of windows with client side decorations with the Windows window manager seems to be quite bad, relying on many custom implementations for some simple tasks such as snapping the window to one side of the screen
Expected outcome
Correct integration with Windows window manager, like any other GUI toolkit/framework that supports client side decorations (such as Electron or Qt)
Version information
GTK 3.24.20, built by msys2 maintainers. Check here for more info: https://github.com/msys2/MINGW-packages/blob/master/mingw-w64-gtk3
Additional information
Attaching a screencast 2020-05-24_18-43-16
Inkscape works great due that is using Server Side Decorations, Gedit works bad due that is using Client Side Decorations.