I had similar problems like you describe. It’s a compatibility problem between IDEA and systems using Gnome (I don’t know about KDE), there’s probably nothing you can do at the moment to fix it for good, however minimizing/rezising the IDEA window with that project fixed it for me. Try it out if this workaround also works for you.