Cannot type in editor window after change system time to past

已回答

Hi,

I just realized an issue today with IDEA 2017.3 where if I change my system clock to some time in the past, and type in any tool window other than the editor window, will lose the ability to type anything into the editor window. To be specific:

  1. yes, it has a strong and consistent correlation with changing system time to the past. Once the problem happens, I have to change the time back and the issue goes away immediately.
  2. After the time change, go to any tool window (Project, TODO, Gradle, Debug etc) and type there. Intellij interprets the typing as searching, which is correct. But after that I can no longer type in the main editor window.
  3. when it happens, the cursor is gone in the editor window. I can click different text rows, the row being clicked get highlighted as usual, but there is no cursor. Copy paste does not work neither. If I start typing, the previous active tool window(be it Project, TODO, Gradle etc.) will receive the typing event and interpret it as searching. I can hit ESC to cancel the searching, but whenever i start typing again it is the same effect.
  4. The only "editing" in the editor window is to select some text and drag to relocate it. What is strange is that if I then hit Ctrl+Z, an "undo ?" dialog pops up at the top of the editor asking if I am OK to undo. I click OK, then another undo null? dialog pops up. I click OK again but nothing in the editor is reverted.
  5. If I launch a debug session and pause it (breakpoint hit or manual pause), the resume/run button stays disabled on the Debug window. I can only use F9 to resume the program.
  6. the issue goes away immediately after I change the time back.

 

 

Thanks,
Xinchao

0

Congratulations for finding the issue first reported 3 years ago: https://youtrack.jetbrains.com/v2/issue/IDEA-138710.

The good news is that it should be fixed in 2018.1 EAP: https://www.jetbrains.com/idea/nextversion/.

0
Avatar
Permanently deleted user

This issue is very common, it is really a big problem when someone is trying to test some tasks with changing dates back and forth, hope it will be solved as soon as possible. The problem is described very deeply thanks to Xinchao

0

As stated in the previous comment, the issue is already resolved: https://www.jetbrains.com/idea/nextversion/.

1
Avatar
Permanently deleted user

Going to test it right now.
Thank you

0

请先登录再写评论。