"Sticky window" or "Pin window" Feature #12
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Hi, great work by the way!
I did a "pin window" or a "sticky window" feature. I noticed too late that you already made a branch that does just that, but the concept is the same: put the handles in a hashset and move them to the next virtual desktop each time.
The shortcut is "Ctrl + LWin + LAlt + P". I didn't added it to the shorcut menu yet.
The problem is when we try to move multiple window that comes from the same process. There seems to be a concurrent bug in the VDMHelper for this particular case. When it happen, the windows i tried to move, crash and close itself. It may be isolated to chromium base applications has it doesn't work with multiple instance of chrome, electron.js, atom.io or visual studio code, etc
So the only workaround I found is to move them with a delay between them so the VDMHelper can finish whatever it is doing. It is not the perfect solution but for now it work.
I really don't expect this to be merge has it is mainly to address this issue.