WindowsVirtualDesktopHelper icon indicating copy to clipboard operation
WindowsVirtualDesktopHelper copied to clipboard

[Feature Request]: Pinned (sticky) windows

Open padd1er opened this issue 1 year ago • 5 comments

What feature?

Currently, WindowsVirtualDesktopHelper allows users to easily switch between virtual desktops. However, there is no way to pin a window to all virtual desktops, which can be inconvenient for certain workflows.

I would like to request the addition of a window pinning feature. This feature would allow users to pin any window to all virtual desktops, so that it would always be visible, regardless of which desktop they are on.

Pinning could be done either through a context menu option or with a shortcut key combination. This would make it easy for users to pin the windows that they use most frequently.

Here are some examples of how this feature could be used:

  • Pin a password manager application, so that you can always easily access your passwords without having to switch between desktops.

  • Pin a browser window with a video playing, so that you can continue watching the video while working on other tasks.

  • Pin a sticky note application, so that you can always write down notes or reminders without having to create a new note on each desktop.

I believe that this feature would be a valuable addition to the app and would make it even more useful for users who work with multiple virtual desktops.

Thank you for your consideration.

Windows Version

Windows 11

padd1er avatar Jan 30 '24 09:01 padd1er

@padd1er , it seems like this functionality is available within Windows implementation of virtual desktops. Bring up the virtual desktop widget, right click the window to be pinned, and select Show this Window on All Desktops. WindowsVirtualDesktopHelper seems to respect this.

techxorcist avatar Feb 11 '24 23:02 techxorcist

It seems that my original message was not worded properly and does not describe the request well enough, and I apologize for that.

The idea is to have a better/easier way to pin those windows without the need to interact with the Windows UI too much. In short: have a dedicated keyboard shortcut that will allow to pin/unpin the active/focused window.

padd1er avatar Feb 12 '24 08:02 padd1er

If you can find a reliable API call todo this I will consider it. Best, -dan

dankrusi avatar Oct 25 '24 18:10 dankrusi

Heya.

I'm not that much into Windows development or C#, but maybe this can help: https://github.com/hwtnb/VirtualDesktop/blob/102f693f3a076189ca8c25f33cd9918c96365af5/source/VirtualDesktop/VirtualDesktop.static.pin.cs

padd1er avatar Oct 27 '24 17:10 padd1er

Thanks, officially they only support Windows 10 (see their description), and their Windows 11 support seems inadequate (for example on my Win 11 the program crashes on simple commands like switch desktop right)

dankrusi avatar Oct 28 '24 08:10 dankrusi