The clean solution
I do not use plasma, so I cannot look into what causes the issue. No need to explain that eliminating the cause would be the "cleanest" solution.
If that seems impossible, and you do want to use this combination, you can however use the bandage below to make it work. The solution is an extremely "light" background script, keeping an eye on newly created windows, raising them if they appear.
How to use
The script uses
sudo apt-get install wmctrl
Copy the script below into an empty file, save it as
Test-run it from a terminal by the command:
Open some applications and see if their windows are automatically raised.
- If all works fine, add it to your startup applications: Dash > Startup Applications > Add the command.
get = lambda cmd: subprocess.check_output(cmd).decode("utf-8").strip()
curr_1 = get(["wmctrl", "-l"]).splitlines()
curr_2 = get(["wmctrl", "-l"]).splitlines()
new = [w for w in curr_2 if not w in curr_1]
for w in new:
w = w.split()
command = "wmctrl -ia "+w
subprocess.Popen(["/bin/bash", "-c", command])
curr_1 = curr_2