Skip to content

[FancyZones] "Hold a non-primary mouse button" is dependent on "Hold Shift key to activate zones" #3244

Description

Environment

Windows build number: Microsoft Windows [Version 10.0.19628.1]
PowerToys version: 0.18.0
PowerToy module for which you are reporting the bug (if applicable): FancyZones

Steps to reproduce

  1. In FancyZones settings, select the following:
    ⬜ Off: Hold Shift Key to activate zones while dragging
    ☑ On: Hold a non-primary mouse button to activate zones while dragging
  2. Drag a window (without shift or other mouse buttons)
  3. Drag a window while also holding a non-primary (right button, typically) mouse button

Expected behavior

During step 2, the zones should not appear
During step 3, the zones should appear

Only when both settings are off should zones appear without another input.

Actual behavior

During step 2, the zones do appear, and during step 3, the zones disappear.

Additionally, with settings
⬜ Off: Hold Shift Key to activate zones while dragging
⬜ Off: Hold a non-primary mouse button to activate zones while dragging
holding a non-primary mouse button does not cause the zones to disappear, but holding Shift does.

Basically, "Hold a non-primary mouse button" toggles whether FZ pays attention to other mouse buttons. "Hold Shift Key" actually controls what happens when you drag without any other input. Shift always causes something to happen.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Resolution-DuplicateThere's another issue on the tracker that's pretty much the same thing.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions