Grabacr07 / VirtualDesktop

C# wrapper for the Virtual Desktop API on Windows 11.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Desktop name is empty

Slion opened this issue · comments

I tried using the desktop name from the current desktop and from the new desktop upon CurrentChanged event but both return empty strings.

Also my app is now showing the following characters as window title:
image
Is this caused by this library somehow?

Is this caused by this library somehow?

No, it's not, looks like a nasty Windows bug of some sort… unrelated it seems. Hope there is nothing offending in those characters.

Windows 10 does not support getting names and wallpapers, so you need to use Windows 11.
If you cannot get the name on Windows 11, please let me know.

No, it's not, looks like a nasty Windows bug of some sort… unrelated it seems. Hope there is nothing offending in those characters.

Cause of that issue is explained there: microsoft/CsWin32#343 (comment)
Indeed unrelated to VirtualDesktop.