I've got an irritating issue with losing focus on xubuntu 18.04 while changing workspaces. Lets assume, that I've got 2 displays and 2 workspaces. Active windows are arranged like this:
[Workspace 1] [display 1] [display 2] Terminal PhpStorm Project #2 PhpStorm Project #1 Chrome Window #1 [Workspace 2] [display 1] [display 2] Settings Window Spotify Chrome Window #2
While being on "Workspace 1", I've got active "PhpStorm Project #2", so the Chrome window is under that active window. Also, terminal is above "PhpStorm Project #1".
Now, I'm moving to "Workspace 2". Here I have settings window active and Spotify.
Next step: going back to "Workspace 1". Content on display 1 has not changed, but suddenly I've got Chrome window active instead of "PhpStorm Project #2". Also, PhpStorm should be active, but instead of that, an active window is the Terminal :D. In other cases, Chrome is stealing that focus.
What is wrong? How to deal with that problem?
I'm using Xfce v4.12 interface.