Stop keyboard becoming unresponsive on Pycharm startup

自古美人都是妖i 提交于 2019-12-11 05:55:49

问题


Symptoms:

When starting Pycharm:

  • the keyboard seems completely unresponsive
  • the cursor disappears
  • menu items with keyboard bindings are greyed out
  • text selection still works with the mouse, but the cursor is not visible

This may be related to another SO question "pycharm with ideavim occasionally makes the keyboard unresponsive" but ideavim is not involved.

Set-up:

  • remote desktop connection to a Windows 7 64-bit computer
  • Windows machine has Xming running as a X-window server
  • Using PuTTy to ssh tunnel into a Linux box running SuSE 11.3
  • Pycharm v4.0.5
  • JRE 1.7.0

Further Details

  • switching between tabs in Pycharm doesn't fix this
  • no cursor is visible in the console, python, or editor windows
  • switching to another X-window (xclock) doesn't help
  • switching to another non-X-window doesn't help either
  • re-starting Pycharm doesn't help
  • sudo ibus restart, see issue 78860 on my flavor of linux doesn't do anything

回答1:


Working fix:

Turn off the 'Tip of the day' start-up dialogue box, then re-start Pycharm.

I can confirm that it works as a fix to my specific problem.

It sounds like there's a known problem with the cursor disappearing: see issue 65637 and issue 79312. Based on my experience it seems that this problem can also be caused when Pycharm pop-up windows steal focus.

Hope this is useful to some other folks out there.




回答2:


I am using pycharm in ubuntu and this thing worked for me. Just run this command in terminal. I don't even restarted. It worked.

$ ibus-daemon -rd


来源:https://stackoverflow.com/questions/29991007/stop-keyboard-becoming-unresponsive-on-pycharm-startup

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!