microsoft / PowerToys

Windows system utilities to maximize productivity
MIT License
111.35k stars 6.55k forks source link

FancyZones does not place window in zone unless you drag a mouse #23360

Open Kenya-West opened 1 year ago

Kenya-West commented 1 year ago

Microsoft PowerToys version

0.66.0

Installation method

PowerToys auto-update, Microsoft Store

Running as admin

No

Area(s) with issue?

FancyZones

Steps to reproduce

  1. Have FancyZone
  2. Setup zones
  3. Place any window inside any zone
  4. Hold the window by mouse
  5. Press Shift key
  6. Nothing happens

But if you drag window by at least one pixel - window snaps correctly

https://user-images.githubusercontent.com/12271104/212610152-e326b997-e0cf-4664-a4ff-218ba267a357.mp4

✔️ Expected Behavior

Window snaps to zone correctly

❌ Actual Behavior

Window does not snap unless you drag it

Other Software

Windows 11 latest stable.

The bug happens in all windows of apps of all types (UWP, Win32, WinUI 2/3).

cinnamon-msft commented 2 weeks ago

Are you still experiencing this issue? /needinfo

Kenya-West commented 2 weeks ago

Yes. version 0.85.1.

Video without mouse cursor movement, the bug persists:

Details

https://github.com/user-attachments/assets/e53ef8f9-091b-4b69-84b5-b9adc4a95418

Video with mouse cursor movement, all works:

Details

https://github.com/user-attachments/assets/3deec730-1ff5-4dff-af10-deca1dbc50cc