microsoft / PowerToys

Windows system utilities to maximize productivity
MIT License
109.71k stars 6.46k forks source link

Add an option to set the default "zone activation toggle state" when using the non-primary mouse button #25062

Open ChristopherHaws opened 1 year ago

ChristopherHaws commented 1 year ago

Description of the new feature / enhancement

I use the "Use a non-primary mouse button to toggle zone activation" feature of FancyZones. Currently, when I click and drag a window, FanzyZones is toggled as enabled by default. I would like to be able to set the default value to be false so that I need to click the right mouse button to enable FancyZones.

Scenario when this would be used?

Anytime I am moving a window while FanzyZones is enabled.

Supporting information

image

derac commented 2 months ago

I made an issue for the same FR. I'll add my notes here. Thank you.

Description of the new feature / enhancement

When the feature "Use a non-primary mouse button to toggle zone activation" is enabled, allow the user to start with the zone activation off, then toggle it on. To accomplish this in the user interface, you could have a checkbox UI element for the on/off default state which is disabled unless the "Use a non-primary..." feature is enabled. You could call this feature something like "Start with zone activation turned off".

Scenario when this would be used?

My issue with starting toggled on is that when dragging a window around, sometimes I just want to reposition a smaller window (say, a File Explorer window) and with this feature enabled, dragging and dropping a window will force it into a zone, unless you press the non-primary mouse button first. When I want to place a window in a zone, it's intentional and happens less often since I set a window into position and it doesn't move.