microsoft / PowerToys

Windows system utilities to maximize productivity
MIT License
109.87k stars 6.47k forks source link

Request: Add Constrain window option. #15445

Open pteronaut opened 2 years ago

pteronaut commented 2 years ago

Description of the new feature / enhancement

Prevent any edge of a window from leaving the screen. (Low priority) With additional option to constrain to one monitor or to span across multiple monitors providing that they are operating at the same orientation, resolution and pixel density.

Scenario when this would be used?

Any time when I have a window which does not conform to any Fancy Zone, Could combine as an option within Always on Top.

Supporting information

No response

itsbirdo commented 2 years ago

I also have this issue - If using a custom fancyzone template (or a predefined one) - My right hand side window is always slightly outside of the screen bounds - which makes it pretty annoying!

pteronaut commented 2 years ago

That should be listed as a Fancy Zones bug, as windows in a Fancy Zone which has an edge on the edge of the screen do spill outside of the screen, onto the next screen if using a dual monitor setup.

itsbirdo commented 2 years ago

I'm not using a dual monitor ser, just an ultrawide

pteronaut commented 2 years ago

Same issue, just doubly annoying, which I believe is related to window edges are defined by their visible edge.