After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 785887 - AeroSnap Snap Assist does not work in CSD windows
AeroSnap Snap Assist does not work in CSD windows
Status: RESOLVED OBSOLETE
Product: gtk+
Classification: Platform
Component: Backend: Win32
unspecified
Other Windows
: Normal normal
: ---
Assigned To: gtk-win32 maintainers
gtk-bugs
Depends on:
Blocks:
 
 
Reported: 2017-08-06 15:33 UTC by Eduard Braun
Modified: 2018-05-02 18:49 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Eduard Braun 2017-08-06 15:33:53 UTC
In CSD windows Windows 10's new "Snap Assist" functionality that allows to easily arrange multiple windows next to each other (e.g. see [1] for an example) is broken.

Only very basic snapping is possible, all the advanced functionality Windows offers is unavailable.

[1] https://www.howtogeek.com/198230/how-to-use-snap-assist-and-2x2-snap-on-windows-10/
Comment 1 Eduard Braun 2017-08-06 16:35:19 UTC
This also includes the really useful functionality to define the ratio in which two windows share the available screen area.

For example I can snap a window to the left and another window to the right of the desktop. When then horizontally resizing one of them the other window automatically grows/shrinks to accommodate for the size change.

A CSD window stays completely unaffected (and does not affect other windows itself)
Comment 2 LRN 2017-08-06 17:34:47 UTC
Since GDK has to re-implement AeroSnap completely by itself for CSD windows, of course Snap Assist doesn't work. Unless there's a way to invoke Snap Assist programmatically via some sort of Desktop API, it will never work. Re-implementing it inside GDK (the way basic AeroSnap is re-implemented) doesn't seem to be practical too.
Comment 3 Jeremy Tan 2017-09-28 21:31:33 UTC
How does Firefox do it?
Comment 4 LRN 2017-09-28 21:48:44 UTC
Most likely, it doesn't. I think they are not using layered windows the way GDK W32 backend currently does. That allows Firefox to just use the WM AeroSnap, like any other application.
Comment 5 GNOME Infrastructure Team 2018-05-02 18:49:31 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to GNOME's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.gnome.org/GNOME/gtk/issues/872.