microsoft / PowerToys

Windows system utilities to maximize productivity
MIT License
111.36k stars 6.56k forks source link

Improved FancyZones transitions - dock <-> laptop: Treat Virtual Desktops like multiple monitors in FancyZones #33493

Open B-E-Z opened 4 months ago

B-E-Z commented 4 months ago

Description of the new feature / enhancement

I really love the quick layout switch and use it often to rearrange windows between working time and meeting time and it works really slick! The catch is when I transition from a high resolution or multi-monitor setup, to my laptop alone. I use Virtual Desktops to accommodate organization, but it's far from seamless, as my 6+ zones get compressed into 3 on the primary session and I can't identify additional zones (i.e. 4, 5, 6) in a virtual desktop space.

The feature I have in mind primarily is allowing a user to define additional virtual desktops as if they were additional monitors, in the layout editor. I could see this implemented in various ways. You could have a flag on a virtual desktop layout that says "treat this virtual desktop as a separate monitor", which begins counting the zones from the last zone on the main desktop and conversely, you could add a flag for multi-monitor sessions that says "extend to a virtual desktop session, when multi-monitor is not present."

Scenario when this would be used?

This would be a big time saver when transitioning between high and low pixel workspaces. i.e. moving between an ultra-wide/multi-monitor setup, to a stand alone laptop. While I might define 6 or 7 zones to break out my work into one view in high pixl workspaces, I can't fit that many zones usefully into a single, low-resolution laptop and thus I add 1 or 2 virtual desktops to manage the fleet. Unfortunately, because FZ treats each Virtual Desktop like it's own session, I can't seamlessly transition into those VD's. I have to rearrange windows and move them to their appropriate virtual sessions and snap them into their designated zones. Transitioning back, provides the same challenges. I have 3 virtual sessions, each with a zone 1,2, etc, and FZ doesn't know how to integrate those back into a 7 zone layout on a single workspace. (See workflow example in Supporting info section below)

Supporting information

Workflow example. Each bold item is a transition step, with the state of zones, virtual desktops, and apps defined w/in it.

Docked Session Ultra/wide or multi-monitor session: Zones: 1: App 1 2: App 2 3: App 3,4 4: App 5 5: App 6 6: App 7

Convert to Laptop (low rez, can't support as many zones) Zones: 1: App 1 2: App 2 3: App 3,4,5,6,7

Create VDs and rearrange Main Desktop Zones: 1: App 1 2: App 2 3: App 3,4

Virtual Desktop 1 Zones: 1: App 5 2: App 6

Virtual Desktop 2 Zones: 1: App 7

Return to Docked Session Ultra/wide or multi-monitor session: Zones: 1: App 1 2: App 2 3: App 3,4

Virtual Desktop 1 Zones: 1: App 5 2: App 6

Virtual Desktop 2 Zones: 1: App 7

Transfer all apps from VDs to main desktop, then re-snap to appropriate zone Zones: 1: App 1 2: App 2 3: App 3,4 4: App 5 5: App 6 6: App 7

Proposed Feature In an ideal world FZ treats the VDs like additional monitors and transitions seamlessly. (note the zone numbers in Virtual desktops don't restart but are sequential to the previous desktops) If we were to transition to the laptop from the state directly above, we would get:

Main Desktop Zones: 1: App 1 2: App 2 3: App 3,4

Virtual Desktop 1 Zones: 4 App 5 5: App 6

Virtual Desktop 2 Zones: 6: App 7

Now, if I transition back to a layout with 7 zones, FZ can convert these, zone per zone, to their correct designations with no leg work on the user's behalf!

github-actions[bot] commented 4 months ago

Hi I'm an AI powered bot that finds similar issues based off the issue title.

Please view the issues below to see if they solve your problem, and if the issue describes your problem please consider closing this one and thumbs upping the other issue to help us prioritize it. Thank you!

Open similar issues:

Closed similar issues:

Note: You can give me feedback by thumbs upping or thumbs downing this comment.

B-E-Z commented 1 month ago

This does appear to be a duplicate of #2849. It’s been a minute since 2020 however so perhaps there’s more potential here now??