PowerToys icon indicating copy to clipboard operation
PowerToys copied to clipboard

Workspaces: incorrect dimensions and placing when workspace restores

Open mo046 opened this issue 7 months ago • 1 comments

Microsoft PowerToys version

0.91.0

Installation method

PowerToys auto-update

Area(s) with issue?

Workspaces

Steps to reproduce

Monitor with 2 HD resolution (3840 x 1080 px). 2 windows equally divided (by fancyzones) left and right. Left window starting position X,Y=(0,0), width1920, height 1032. Right window starting position X,Y=(1921,0), width1920, height 1032

✔️ Expected Behavior

Capture of position: Left window starting position X,Y=(0,0), width1920, height 1032 Right window starting position X,Y=(1921,0), width 1920, height 1032

❌ Actual Behavior

Capture of position: Left window starting position X,Y=(-7,0), width 1934, height 1039. Right window starting position X,Y=(1913,0), width 1934, height 1039

On restore, the windows are replaced at the correct position.

However, when the workspace is edited manually with the expected position and dimensions, the windows are positioned with an offset to the right of 7 px, and width and hight both reduced by 7 px.

Additional Information

No response

Other Software

No response

mo046 avatar May 15 '25 21:05 mo046