Editor disappearing cursor (weird)


My PHPStorm and OS:

PhpStorm 2018.1.4
Build #PS-181.5087.24, built on May 18, 2018
JRE: 1.8.0_152-release-1136-b39 amd64
JVM: OpenJDK 64-Bit Server VM by JetBrains s.r.o
Linux 4.15.0-22-generic
Ubuntu 18.04 Bionic beaver (using Xorg)

Clean ubuntu install about 2 months ago
Clean PHPStorm install from snap

Installed plugins: ignore, dotenv, editorconfig, bashsupport, php-annotation, symfony2.

A coworker who uses Kubuntu (18.04 also) has same problem.

As far as I can remember, this didn't happen with 17.10


My issue:

Hard to explain, so I'll post a video below.
Problem is that after interacting with any popup window (intentions popup, search string/file/everywhere popup, ...), even if I do nothing and cancel with ESC, the editor loses the cursor, partially, which means:

  • Cursor becomes transparent
  • I can move it (up, down, left, right) as I see it highlighting some tokens
  • I can't write anything besides tabs
  • I can delete characters with backspace/del keys
  • CTRL+TAB to change editor tabs doesn't work
  • ALT+ENTER to bring in intentions popup does work

The only way to make it work back is either click with mouse, or change to another app and return to PHPStorm with ALT+TAB.

I use the intentions menu very often, so this is a drawback for me.



00:06 moving with directions
00:11 TAB
00:12 DEL
00:14 trying to write any letter (A-Z)
00:17 BACKSPACE then DEL
00:30 moving with directions again

Comment actions Permalink

Already fixed, the fix will be available with the next minor release: https://youtrack.jetbrains.com/issue/IDEA-191839
No ETA right now, unfortunately,
Please consider switching to EAP for the time being: https://www.jetbrains.com/phpstorm/eap/

Comment actions Permalink

Happy to read that!

I'll try the EAP. Thanks.

Comment actions Permalink

I have the same problem with new 2019.3 version on my debian 10 with kde and that jdk

Comment actions Permalink

Karolfiturski Please check if these reproduction steps suit your issue: https://youtrack.jetbrains.com/issue/IDEA-226795
If they don't, please describe how we can reproduce the issue locally. Thank you!

Comment actions Permalink

I'm having the same problem with RubyMine 2019.3. Exactly the same. Reproduction steps are simply switching away and returning to a no-cursor state. Just started happening this evening.

Comment actions Permalink

I have the same problem with IntelliJ 2019.2.4 on Ubuntu.

Comment actions Permalink

Same issue here on PyCharm 2019.3 on Mac OS X. It usually happens when I switch to another app, then back to PyCharm. I then need to switch to another editor tab  and back within PyCharm to get the cursor back. Extremely annoying.




Comment actions Permalink

Happens to me on Clion 2020.02.01. Ubuntu 18.04.

If I switch to another editor outside Clion (like this comment window), or click on the debugger window, the cursor comes back.

I'm not sure exactly what's causing it, but I am running the debugger and hitting a break point when it occurs. From then on, it always happens when I hit the first breakpoint in a simulation. 

After restarting CLion, hitting a breakpoint does not cause the cursor to disappear.

$ java -version
openjdk version "9"
OpenJDK Runtime Environment (build 9+181-android4627429)
OpenJDK 64-Bit Server VM (build 9+181-android4627429, mixed mode)



Comment actions Permalink

Should've been fixed in 2020.1. If possible, please submit a new report to our tracker at https://youtrack.jetbrains.com/newIssue

Comment actions Permalink



Sorry I couldn't figure out how to easily recreate the cursor disappear issue. 

Comment actions Permalink

Thanks. You'll be receiving further updates there from a corresponding team.


Please sign in to leave a comment.