PowerToys icon indicating copy to clipboard operation
PowerToys copied to clipboard

Crop/hide sections of application that do not fit within FancyZone

Open trush44 opened this issue 7 years ago • 6 comments

Some applications (such as 'Skype for Business' in my example here) have a minimum width. If possible, I'd like to be able to place the application in a FancyZone but crop/hide any part of that application which happens to fall outside of the zone. Currently, if the application's width exceeds the zone width then the application will protrude outside the zone (and in this case onto my 2nd monitor).

I wish Skype would allow for a smaller minimum width but unfortunately it does not.

Untitled

trush44 avatar Oct 29 '19 17:10 trush44

@trush44 I don't think that is something FancyZones would be able (or should) do, since the minimal width is app specific and you can't just crop a piece of some window.. My suggestion would be - just make the zone big enough for S4B. But let's wait what developers will say about that.

rfr avatar Oct 29 '19 17:10 rfr

It could be possible with SetWindowRgn, looks like AutoHotkey is using this in WinSet, Region, ... scripts.

I'm not sure if we should do it, it feels like it would cause a lot of confusion for users.

bzoz avatar Oct 29 '19 18:10 bzoz

How about a universal setting (checkbox) that defaults to off/don't crop?

trush44 avatar Oct 29 '19 18:10 trush44

The use cases for a such feature would be narrow, and I don't think it fits FancyZones. Maybe some as some other tool to generally crop windows?

bzoz avatar Oct 30 '19 09:10 bzoz

Since Skype for Business is being retired and replaced, it probably shouldn't warrant a feature built just for it.

Cmdr-Keene avatar Oct 30 '19 19:10 Cmdr-Keene

can't fix it. if an app's min version is larger than the zone, it wins. Most things are top/left calculated.

crutkas avatar Apr 06 '20 19:04 crutkas