newlooper / VirtualSpace

A Virtual Desktop Enhancement GUI Program For Win10 & Win11
GNU General Public License v3.0
182 stars 12 forks source link

New feature request - save the last rule to fire against a particular window #89

Closed mdear closed 11 months ago

mdear commented 1 year ago

I'm having a problem, where I have a large list of rules now, but I'm finding that on startup my Brave browser is appearing on all workspaces because the "Show windows from this app on all desktops" option has been activated.

This is not what I want.

I have gone over every rule and I do not have a rule configuring Brave to appear on all desktops.

However, every time I do my nightly startup I must go the the main view, right click a Brave browser in one of my workspaces, and deselect this option.

In order to debug this, is there a way you could store alongside each window the last rule that fired against it so this could be retrieved after the fact via an option on the main view window right click menu ?

I should also mention that, whenever there is a system event such as turning on/off a monitor and plugging/unplugging my USB-C Thunderbolt connection to my USB-C Hub monitor, I see a sequence of red boxes stating that there was an error directing a particular window to a particular workspace. Once the system processing / slowdown that normally happens after these events subsides, VirtualSpace operation returns to normal. I'm not sure if this is a bug or a feature. This behavior is very consistent.

newlooper commented 1 year ago

if there is a match, then you find the reason, but if not, there is nothing to do with Rules.

mdear commented 1 year ago

I did so, and found the offending rule much easier with a text editor than the GUI, thanks for the pointer.

Please retain this feature request, however, as having information about what rule ultimately caused a window to be positioned where it is would be extremely useful in debugging unwanted behavior.