microsoft / PowerToys

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

FayncyZones should not assume the screens are a rectengular #11534

Open lennybacon opened 3 years ago

lennybacon commented 3 years ago

Provide a description of the new feature / enhancement

This is my screen setup:

image

If I want to use FancyZones I have to create areas for the non visible space in which windows might get lost, as they are addressed when using the [Win]+[ARROW] keys.

image

The alternative is to have pars of the windows hidden in the non visible areas.

It would be nice to have the non-visible areas recognized or the ability to mark the as dead .

crutkas commented 3 years ago

what are your settings? Do you have "Allow zones to span across monitors" enabled?

lennybacon commented 3 years ago

Do you have "Allow zones to span across monitors" enabled?

Of course I have Allow zones to span across monitors enabled. Otherwise I wouldn't have the issue as then the monitors would be 4 spaces to define areas and no non visible areas would be present.

crutkas commented 3 years ago

Thanks for confirming. I think doing a layout like this is going to be pretty interesting, namely the gap on the top.

JJWatMyself commented 1 year ago

I have a post being merged from here: https://github.com/microsoft/PowerToys/issues/29044

@SeraphimaZykova mentioned the workaround which I agree with however, it isn't suitable for the taskbar issue as far as I can tell.

image There appears to be a fancy zone minimum height so it does not really solve the problem for the taskbar scenario as far as I can tell.

Jay-o-Way commented 1 year ago

@lennybacon can I ask to see what layouts you're using? I'm trying to understand the use case here. In other words: trying to understand why you choose for this setting - and not independent monitors/layouts.

lennybacon commented 1 year ago

can I ask to see what layouts you're using?

What exactly do you want to see?

My motivation is to have a space between 2 and 1 (right in the middle) where my main work area is (development IDE), surrounded by areas where mail, messenger, preview browser and so on.

Jay-o-Way commented 1 year ago

What exactly do you want to see?

A screenshot of FancyZones Editor would be nice.

In short: Why is this setting turned on, when this setup is not ideal for this setting? Why not turn it off and have one layout for each monitor? Can you try that?

lennybacon commented 1 year ago

It is not possible. I want a main working area that spans over two monitors (is is just 1 physical, a Samsung G9, with 2 DP-Ports). Here is an illustration:

image

The X shows the intended main working area - it spans over Monitor 1 and 2 - so "one layout for each monitor" is not it.

JJWatMyself commented 1 year ago

I agree @lennybacon that snapping to span two neighboring zones, where those zones are on different monitors, is not possible on the current version unless you enable Allow Zones To Span Across Monitors. But then you have the issue of the dead space between your monitor 4 and 3. The workaround of creating unused zones in the dead spaces gets you most of the way there. But for keyboard shortcut key windows + arrow, you would have the problem of snapping to those zones.

https://user-images.githubusercontent.com/272164/120171576-7c88df00-c202-11eb-8f2e-01cdb2897310.png

Jay-o-Way commented 1 year ago

Oh okay, now I understand :)