[Feature Request:] make other keys like shift work retrospectively because of fancy zones
When having a window selected with alt and I press then shift, the Alt Snap sadly doesnt work retrospectively. I would have to hold down shift and alt before I click on a window to make it work with fancy zones.
Not understanding here, what do you mean selecting with Alt?
When having a window selected with alt and I press then shift, the Alt Snap sadly doesn't work retrospectively. I would have to hold down shift and alt before I click on a window to make it work with fancy zones.
@R4GN3R0 As an alternative you can use Use a non-primary mouse button to toggle zone activation to be able to activate zones.
Not understanding here, what do you mean selecting with Alt?
@RamonUnch FancyZones have two options which activates zone snapping - by holding shift or right mouse button while dragging a window. If OP wants to activate zone snapping with shift key, he can't do that when he drags window by holding alt, because shift key doesn't get triggered, and zones are not being shown for him. Alternative is to use non-primary mouse button.
then this is just about integration with FancyZones, this has already been discussed and it is not possible because FancyZones waits for a titlebar movement which is not triggered by AltSnap. and FancyZones esposes no interface to snap anything to its layout.
#464
This is the default "fancy zones" behaviour
I first press with the left Mouse button on the titlebar and then I press Shift
https://github.com/user-attachments/assets/bd170d63-e5f6-436b-b839-96202d0c8b6d
somehwat working behaviour (with AltSnap)
I first press alt then shift and with the left mouse in the window
https://github.com/user-attachments/assets/7447c733-8b0d-440a-9b9b-4a2fd4b6e6e9
"Broken" Behaviour (with AltSnap)
I first press alt then with the left mouse in the window and then shift but fancy zones doesnt work
https://github.com/user-attachments/assets/08da7fbd-27b7-46f8-aae6-8398cfcb6641
So it somewhat works with FancyZones
Edit: I understand what makes the desired behavior to not happen.
it is not really altsnap's intension to ever trigger fancy zones and it will always be erratic because FancyZones never offered a clear contract, Even if I was able to fix this it would not necessarily hold in future ~~windows~~ FancyZones versions.
Maybe for now if you set a drag threshold it will diminish the effect.
ie, set DragThreshold=2 in the [Advanced] section of the ini file.
Ill look into it. Thanks for your effort and amazing software/application 👍