Created attachment 168368 [details] Showing the windows behaving incorrectly SUMMARY When using the Java based IDE Intellij for a while, and then maximizing and unmaximizing the IDE, the window boundaries/sizes become incorrect, leading to other windows being focused when clicking inside the visible window. See attached gif. Notice that I never click on the windows that gets focused. I click on seemingly one window yet another window registers the click and gets the focus. It's likely that the issue exists with all Idea's products, which are all Java based. Not sure if it's enough to keep the IDE open for a while or if it also has to be used. STEPS TO REPRODUCE 1. Open Intellij 2. Snap it to the right side of the screen 3. Use it for a while 4. Maximize Intellij 5. Unmaximize Intellij 6. Snap it to right side of the screen again OBSERVED RESULT Clicking inside a visible application causes another application to get the focus. EXPECTED RESULT The application/windows clicked should be focused. SOFTWARE/OS VERSIONS Windows: -- macOS: -- Linux/KDE Plasma: (available in About System) KDE Plasma Version: 6.0.3 KDE Frameworks Version: 6.0.0 Qt Version: 6.6.3 ADDITIONAL INFORMATION Closing Intellij restores the behavior of the apps/windows.
Created attachment 168369 [details] System info
No need to snap the Intellij window, it happens simply from maximizing and unmaximizing Intellij, after a few min of usage in a maximized window. (I only recently realized it is related to Intellij so I'm discovering the nuances of this bug). Worth adding that doing `systemctl restart --user plasma-plasmashell` does not fix the issue while Intellij is open. Only closing Intellij works.
*** This bug has been marked as a duplicate of bug 478556 ***
Disabling and re-enabling the compositor fixes it for a moment. With the compositor off the issue does not happen.