microsoft / PowerToys

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

FancyZones improperly sizes some windows when shift-dragging #23780

Open khanfluence opened 1 year ago

khanfluence commented 1 year ago

Microsoft PowerToys version

0.67.0

Installation method

Microsoft Store

Running as admin

Yes

Area(s) with issue?

FancyZones

Steps to reproduce

Shift-drag an app window (demoed below with GIMP and Audacity) into a FancyZones zone.

✔️ Expected Behavior

Any window correctly fills the zone it's dragged into.

❌ Actual Behavior

Some windows don't correctly fill the zone they're dragged into. Windows can become too small, too large, and/or in the wrong position.

fancyzones-bug

In the screenshot above, I've outlined my screens and zones. GIMP is improperly sized in (1,1), Calculator is correctly sized in (1,2), and Audacity is improperly sized in (2,1).

This is just a hunch, but it may have to do with Win32 apps. I didn't have this problem with version 0.66. PowerToysReport_2023-02-02-10-35-48.zip

Other Software

SeraphimaZykova commented 1 year ago

Can you please clarify, are windows improperly sized right after snapping?

khanfluence commented 1 year ago

Yes, it happens as soon as I stop shift-dragging. Here is a screen recording of it occurring: https://imgur.com/2g3Kla7

hepr-skylotec commented 1 year ago

I'm seeing this with yEd Graph Editor as well. yEd is native 64-bit though.

PowerToys 0.68.1

PowerToysReport_2023-04-03-09-33-56.zip Screenshot Chrome correctly positioned Screenshot FancyZones Configuration Screenshot yEd mispositioned