PyCharm Window loses focus and reactivates when typing text

Answered

This must be the most frustrating bug I've ever encountered:

 

When I type code, the window loses focus and the stuff I type is not entered into the file, then it gets focus again, but then it loses it, multiple times a second. So 5 keystrokes register, then 5 do not register, and so on. I tried reinstalling while deleting all caches and settings, no change.

0
7 comments
Avatar
Permanently deleted user

It seems to be linked somehow to a faulty python environment which includes conda. After completely removing the virtualenv and setting it up again the error is gone. This should still not happen though!

0

Thank you for the update. Could you please contact pycharm-support@jetbrains.com and attach your idea.log (https://intellij-support.jetbrains.com/hc/en-us/articles/207241085-Locating-IDE-log-files) to the e-mail? Thank you in advance.

0
Avatar
Permanently deleted user

I am having the same issue. Were you able to figure out the cause ? and a solution ?

1
Avatar
Permanently deleted user

@parth

 

Quote:

It seems to be linked somehow to a faulty python environment which includes conda. After completely removing the virtualenv and setting it up again the error is gone.

0
Avatar
Permanently deleted user

I donot use conda.
I have a py3 virtualenv setup using virtualenvwrapper from scratch.

 

0
Avatar
Permanently deleted user

I mean, you can try creating a new venv, but it seems it's a different problem for you. Maybe contact the support, I can't help you.

0
Avatar
Permanently deleted user

Maybe re-install python3 all together

0

Please sign in to leave a comment.