Sometimes my Windows are incorrectly associated to an application group. For example when I use the application switcher (Alt-Tab) I end up wondering where my chrome browser windows are, only to end up finding them being hidden under the wrong application (i.e. under WebStorm).
This also happens on the window switcher, where wrong icons are being shown and application switcher (chrome windows are assigned under WebStorm), and chrome is not even showing up as Application, even though it is clearly running.
Also on the sidebar it thinks chrome is not even running at all.
This issue is intermittent. I have not found any ways to reproduce it reliably. In most cases logging out and then in again fixes.
How do I go about troubleshooting this issue?