microsoft / PowerToys

Windows system utilities to maximize productivity
MIT License
110.75k stars 6.52k forks source link

[PT Run][Wox.Plugin.Common] Create VirtualDesktopHelper #16313

Closed htcfreek closed 2 years ago

htcfreek commented 2 years ago

At the moment I am working on a VirtualDesktopHelper class which will be available via Wox.Plugin.Common.

You can find an early proof of concept here.

This helper class enables us to fix/implement the following issues: #15887, #1987

Technical features

It will provide all necessary informations and functions to work with VDs. (Including methods to get a list if desktops, the desktop name, the desktop order, moving windows, detecting the desktop a window is assigned to and more.)

Remarks

As we can only use public apis/Interfaces I only use the official VirtualDesktopManager interface and some informations from Registry.

htcfreek commented 2 years ago

Work is in progres!

htcfreek commented 2 years ago

Thanks, @franky920920 .

htcfreek commented 2 years ago

project: v0.57.0

htcfreek commented 2 years ago

This is fixed with 0.57.0. Please head over to https://aka.ms/installpowertoys