Backspace and arrow keys lagging in 2024.1.1

Hello,

I can type with normal speed but when I try to remove text or traverse it using arrow keys there is a discernible lag.

EDIT: Typing speed is also affected to some extent. And other operations too like switching files for example.

What I established:
- It isn't limited to any file type in PhpStorm.
- The issue also occurs in the IDE's terminal and generally everywhere (when creating new files, searching etc.).
- It isn't a system/keyboard thing. I'm only experiencing it in PhpStorm.

What I already tried to fix it:
- Restarting the IDE.
- Rebooting the OS.
- Invalidating caches.
- Disabling settings sync.
- Deleting the leftover IDE directories (except for the previous one).

Version: Build #PS-241.15989.102, built on April 23, 2024
OS: Ubuntu.

Here are my logs (upload ID):
2024_04_24_Sco5xasHQH1BckWPa9sLqp

1

Hi Krzysztof Wolowski,

In the provided logs I see a lot of errors related to the 3rd-party Magento plugin. Could you please temporarily disable it in Settings | Plugins under the Installed tab, and check if the issue persists?

0

Hi Anastasiia 

I disabled the plugin, but it didn't resolve the issue.

0

Sure:

Upload id: 2024_04_24_BFbpaZjyUfZjAvKnSZeXy3 (file: phpstorm-logs-20240424-16291215640382097054628701.zip)

0

Thank you!
Please disable the ‘TextMate bundles’ plugin and check if the issue is still there.
If so, please collect the CPU snapshot while the issue is reproduced: https://intellij-support.jetbrains.com/hc/en-us/articles/207241235, and upload it here https://uploads.jetbrains.com/

0

Still nothing.
Upload id: 2024_04_24_cGfK6byQH4zqwQ61Xoq9AX (file: phpstorm-logs-20240424-1710575661816682099513844.zip)

0

I noticed another thing.

For several months now I have had this problem where I would have to change the font size on every IDE start.
Usually it would reset to 13, sometimes to 12 or 9. I would go to Settings > Appearance & Behaviour > Appearance and change it to 20 every time I started PhpStorm.

It looks like these two issues are linked. Because if don't change the font size the issue I described in my first post doesn't occur.
The moment I change the font size it starts to occur. Note that this was not the case in 2024.1. In 2024.1 I only had to change the font size (because 13 is too small for me), but there wasn't any lag as a result.

I'm not sure if this would be of any help, but I'm attaching log packages for two scenarios:

1. The one when I do change the font size and the lag occurs.
Upload id: 2024_04_25_uE1UjP8L2RzLPaCMTN23Z6 (file: phpstorm-logs-20240425-0510539492858977066118293.zip)

2. The one when I do not change the font size and there is no lag.
Upload id: 2024_04_25_2B7FHYjjFC2HMr29czfLRr (file: phpstorm-logs-20240425-05252714548042375319797366.zip)

0

The issue seems to be font-size-dependent indeed. I experimented a bit and it appears that I can set the font size up to 16. If I set it to 17 or more the lag starts to occur. And if I uncheck “Use custom font” it starts to occur too, because the font size is automatically set to 17 then.

The trick to set the font size to 16 and zooming in to, say, 125% doesn't work either. The lag is there.

EDITED:
The above is true when testing in an .md file. Unfortunally in a .ts file there is a lag even if the font size is set to 16. And in the terminal or search too.

0

I managed to work around the issue with the lag (the issue with the font persists, but that one isn't critical for me).
Here's what I did:
 

snap remove phpstorm
snap install phpstorm --channel=2023.3/stable --classic


It's kind of unfortunate that this bug should be introduced in a minor version.
Anyway, please let me know once it's fixed.

1

Thank you for providing such a detailed response!

I filed an issue on YouTrack: https://youtrack.jetbrains.com/issue/JBR-7074. Please vote for it to get further updates.

0

I have the same problem in new Rider 2024.1.2. Setting font sizes does not seem to help. How can I roll back to rider 2024.1.1 ?

0

Hi Nielsson Consulting,
Please vote for the issue on YouTrack to be aware of the updates. 

Previous versions of IDE can be downloaded either via JetBrains Toolbox or here depending on your installation type.

0

I don't believe font was the reason. This was driving me crazy. But in my case, i only stops if I set the font size to 8. Zooming in, bring the issue back.

0

I can also notice a delay when clicking anywhere, any package, any class, any menu item in IntelliJ. It's like driving a car with the handbrake on. When I set font size to 8, everything works as it should, fast and smooth.

0

Just to report to community, I followed the instruction from Krzysztof Wolowski and removed the latest version of intellij-idea-community 2014.1.3 (also using snap version) and installed 2023.3.7.

It was impossible to use latest version with all that lag. Setting font size 8 is not a practical solution.

Version 2023.3.7 is smooth and fast, no lags. Using same set of plugins. 

If anyone uses snap version and had to roll it back, remember to put intellij-idea-community on hold until problem is fixed:

snap refresh --hold intellij-idea-community

0

Sorry for repeated posts, but here is the solution:

“Removing the File Name Widget (or making the IDE window large enough) fixes the issue.”

Direct link for solution: https://youtrack.jetbrains.com/issue/IJPL-149640/Caret-movement-input-lag-when-filename-widget-is-shortened#focus=Comments-27-9800752.0-0

Issue: https://youtrack.jetbrains.com/issue/IJPL-149640/Caret-movement-input-lag-when-filename-widget-is-shortened

Already Fixed: 2024.2 EAP 2

0

请先登录再写评论。