Jittery Cursor in PHPStorm version 2018

Answered

Since updating to the latest 2018 version, the cursor in the editor has been behaving rather erratically. I only see this behavior in PHPStorm and not any other application. 

When I type a line, the i-beam cursor jumps back a few characters and then jumps forward as I type. Typing output is normal and as expected but it is very difficult to focus when the cursor is jumping around all over the place. Moving with the arrow keys is unpredictable as well.

I've tried uninstalling, rebooting and reinstalling with no success.

PhpStorm 2018.1
Build #PS-181.4203.565, built on March 28, 2018
JRE: 1.8.0_152-release-1136-b20 amd64
JVM: OpenJDK 64-Bit Server VM by JetBrains s.r.o
Windows 10 10.0

8 comments
Avatar
Vladimir Luchansky
Comment actions Permalink

Hello,

Could you share a video of that behavior?

Do you have any 3rd-party plugins? Did you try disabling them?

0
Comment actions Permalink

I'll try to upload a video of it soon (once I find appropriate software). 

Regarding plugins, I double checked and only had one or two that were third-party (the rest already came with PHPStorm). I still saw the erratic behavior after uninstalling them.

0
Comment actions Permalink

I have experienced same behavior in IntelliJ IDEA when using Python module. Videos:

See where the cursor is (it is not after p, it is on p, and sometimes it much further behind - like 2 characters):

 

Next case is this on. I am ONLY PRESSING BACK SPACES, yet after deleting the line, cursor jumps before last """ and only after a brief moment it jumps to the end of the line where it should be. Again, I AM ONLY PRESSING BACK SPACE.

Note: both tests are at the end of relatively larger file on the line 600.

Generally behavior can be much worse, but is unpredictable and cannot be easily captured on video. Sometimes  cursor just jumps all over the place and can be 2-4 characters behind or ahead of actual position.

PS: When writing about fuck up unit tests, I am reffering to this ticket - still UNRESOLVED:
https://intellij-support.jetbrains.com/hc/en-us/requests/1024755

I AM REALLY UPSET THAT EACH MAJOR UPDATE BREAKS SOME FUNDAMENTAL FUNCTIONALITY. Now it is not even possible to write properly.

* * *

=====DEPLOYMENT SETTINGS=====
Default Server : null
=====ADDITIONAL SETTINGS=====
Exclude items by name : .svn;.cvs;.idea;.DS_Store;.git;.hg;*.hprof;*.pyc
Operations logging : BRIEF
Stop operation on the first error : false
Overwrite up-to-date files : true
Preserve file timestamps : true
Delete target items when source do not exist : false
Create empty directories : false
Prompt when overwriting or deleting local items : true
Upload changed files automatically : Never
Upload external changes : false
Override default permissions on files : -1
Override default permissions on folders : -1
Warn when uploading over newer file : NONE
Notify of remote changes : false

* * *

2018-06-03 20:44:52,965 [ 0] INFO - #com.intellij.idea.Main - ------------------------------------------------------ IDE STARTED ------------------------------------------------------
2018-06-03 20:44:53,152 [ 187] INFO - #com.intellij.idea.Main - IDE: IntelliJ IDEA (build #IU-181.5087.20, 16 May 2018 23:53)
2018-06-03 20:44:53,152 [ 187] INFO - #com.intellij.idea.Main - OS: Windows 10 (10.0, amd64)
2018-06-03 20:44:53,152 [ 187] INFO - #com.intellij.idea.Main - JRE: 1.8.0_152-release-1136-b39 (JetBrains s.r.o)
2018-06-03 20:44:53,152 [ 187] INFO - #com.intellij.idea.Main - JVM: 25.152-b39 (OpenJDK 64-Bit Server VM)
2018-06-03 20:44:53,168 [ 203] INFO - #com.intellij.idea.Main - JVM Args: -Xms128m -Xmx750m -XX:ReservedCodeCacheSize=240m -XX:+UseConcMarkSweepGC -XX:SoftRefLRUPolicyMSPerMB=50 -ea -Dsun.io.useCanonCaches=false -Djava.net.preferIPv4Stack=true -XX:+HeapDumpOnOutOfMemoryError -XX:-OmitStackTraceInFastThrow -Djb.vmOptionsFile=C:\Program Files\JetBrains\IntelliJ IDEA 2018.1.4\bin\idea64.exe.vmoptions -Didea.jre.check=true -Dide.native.launcher=true -Didea.paths.selector=IntelliJIdea2018.1 -XX:ErrorFile=C:\Users\ariton\java_error_in_idea_%p.log -XX:HeapDumpPath=C:\Users\ariton\java_error_in_idea.hprof
2018-06-03 20:44:53,168 [ 203] INFO - #com.intellij.idea.Main - ext: C:\Program Files\JetBrains\IntelliJ IDEA 2018.1.4\jre64\lib\ext: [access-bridge-64.jar, cldrdata.jar, dnsns.jar, jaccess.jar, jfxrt.jar, localedata.jar, meta-index, nashorn.jar, sunec.jar, sunjce_provider.jar, sunmscapi.jar, sunpkcs11.jar, zipfs.jar]
2018-06-03 20:44:53,168 [ 203] INFO - #com.intellij.idea.Main - JNU charset: Cp1250
2018-06-03 20:44:53,215 [ 250] INFO - #com.intellij.idea.Main - JNA library (64-bit) loaded in 47 ms
2018-06-03 20:44:53,231 [ 266] INFO - penapi.util.io.win32.IdeaWin32 - Native filesystem for Windows is operational
2018-06-03 20:44:53,293 [ 328] INFO - #com.intellij.util.ui.JBUI - User scale factor: 1.0
2018-06-03 20:44:53,293 [ 328] INFO - #com.intellij.util.ui.JBUI - System scale factor: 1.5 (JRE-managed HiDPI)

Note the whole machine IntelliJ is running in is a virtual Machine running on Parallels 11 on macOS 10.13.4

T.

0
Comment actions Permalink

Got even better one! Watch where the cursor is when typing the: ddggfd. What the hell?!

0
Comment actions Permalink

This is it exactly! What Tomas Kubes posted is what I'm seeing when I type. The cursor moves back to another position, and its difficult to tell where I am typing.

0
Comment actions Permalink

I couldn't find any similar issues on the tracker.
Since obviously the issue can be reproduced more or less stably, please submit a bug here: https://youtrack.jetbrains.com/newIssue?project=IDEA
Please also attach the IDE log (you can make it visible to JetBrains team only).

Since can be reproduced in PhpStorm and in IDEA within a Python project, it's a platform issue and belongs to IDEA.

Tomas, regarding your last year request, it's been closed automatically after there was no reply from you. The last message there is from Anna, she asked you about some case details.

jamil_NYC, that's a fat chance, but worth asking anyways - you are not running PhpStorm in a virtual machine, are you?

0
Comment actions Permalink

@Eugene

No, I am not running in a VM. I'm on a regular install of Windows 10 64 bit.

0

Please sign in to leave a comment.