apache / netbeans

Apache NetBeans
https://netbeans.apache.org/
Apache License 2.0
2.66k stars 851 forks source link

Undo and Redo are very slow #6967

Open asafm7 opened 9 months ago

asafm7 commented 9 months ago

Apache NetBeans version

Apache NetBeans 20

What happened

Undo and Redo (Ctrl+X and Ctrl+Y) are extremely slow.

I've tried deactivating plugins, cleaning the cache, and reducing the project size to the minimum - but it didn't help.

Undo and Redo are normal after opening the IDE, but it feels the longer it is open, the slower the Undo and Redo.

Language / Project Type / NetBeans Component

PHP

How to reproduce

Undo and Redo (Ctrl+X and Ctrl+Y). Maybe wait a couple of hours after opening the IDE.

Did this work correctly in an earlier version?

No / Don't know

Operating System

Windows 11

JDK

19.0.1; Java HotSpot(TM) 64-Bit Server VM 19.0.1+10-21

Apache NetBeans packaging

Apache NetBeans provided installer

Anything else

No response

Are you willing to submit a pull request?

No

junichi11 commented 9 months ago

Can you try using NB21-rc1?: https://github.com/apache/netbeans/discussions/6962

asafm7 commented 9 months ago

Thank you @junichi11. I will try that.

Is the new release supposed to tackle this issue?

junichi11 commented 9 months ago

Is the new release supposed to tackle this issue?

I'm not sure(I can't reproduce this).

asafm7 commented 9 months ago

Thanks @junichi11

I upgraded to JDK 21 from my previous JDK 19 (which I acutely realized isn't officially supported by NetBeans 20).

For now, it seems much better.

In case it helps someone else.

junichi11 commented 9 months ago

NetBeans is required JDK 11 at least. Please also try to use JDK 11, 17 if possible. Thanks!