microsoft / PowerToys

Windows system utilities to maximize productivity
MIT License
111.61k stars 6.57k forks source link

Hotkey layout swap on multi-monitor setup per monitor instead for all #28893

Open M4SC opened 1 year ago

M4SC commented 1 year ago

Description of the new feature / enhancement

When assigning a Hotkey to a Layout (e.g. in my case Strg+Win+Alt+[1] and [2]) I can hot swap between two layouts I created. So far, so good. But I use two different layouts for my main screen and my secondary screen. The layout on the main screen shall remain as it is, while the layout on the secondary screen is supposed to change with the hotkey. What happens is, that both screens are getting the hotkey layout applied, not the secondary screen only (the secondary screen was selected in the layout editor while setting the hotkey number).

I would like to see an option to configure, if I want the hotkey layout applied to all screens or only the ones I selected manually (like "Apply to screen: [All], [1], [1 + 3]", configurable in the zone layout editor, where I can assign the hotkey number to the layout).

Scenario when this would be used?

I want to keep the layout on my main screen consistent, while swapping the secondary monitor layouts with hotkeys for different window/zone layouts.

Supporting information

No response

SeraphimaZykova commented 1 year ago

/bugreport

M4SC commented 1 year ago

I was playing around a bit to make some log entries by switching layouts with the hotkeys and, purely by chance, noticed, that the hotkey layout switch is applied to the active screen, who has currently the focus. Didn't notice this at first, because I am mostly (90%+) active on my main screen. Sorry for the confusion :( Maybe some additional explanation in the Settings UI would be nice or a function to have "monitor-bound presets" (Set 1: Mon1 - Layout2, Mon2 - Layout 5 + Loading Set 1 with a hotkey). But that might be a lot less flexible as the current implementation. I would prefer a little subtext in the "set hotkey"-tooltip, that says sth like "applies the layout to the currently focused screen". Again, sorry for the inconvenience.

I have attached the bug report either way, just in case. Timestamp for the hotkey switches should be around 13:49/13:50 GMT+2.

PowerToysReport_2023-10-02-13-49-41.zip