Community
Participate
Working Groups
I recently updated from Eclipse 2018-12 to Eclipse 2021-06 and noticed a lag happening when I'm copy/pasting/undoing using CTRL+C/V/Z in my projects. I've narrowed it down to being related to the Hyperlinking/Open Declaration setting, with it off the lag goes away. I made a short video showing me spam-pressing different CTRL-commands with the setting on and off: https://www.youtube.com/watch?v=Zt91llntxfI
Please provide some details: 1) How did you narrow down the issue to some specific option? 2) Where is this "Hyperlinking/Open Declaration" setting? Ideally you could provide steps to reproduce and/or a thread dump of the JVM at the moment it "lags".
(In reply to Andrey Loskutov from comment #1) > Please provide some details: > 1) How did you narrow down the issue to some specific option? > 2) Where is this "Hyperlinking/Open Declaration" setting? > > Ideally you could provide steps to reproduce and/or a thread dump of the JVM > at the moment it "lags". Hi Andrey! 1) I Googled the issue, found a Stack Overflow question that was similar (https://stackoverflow.com/questions/52514238/eclipse-has-been-too-lagging-when-handle-copy-paste-or-typing), tried some of the answers, and found the specific option that caused the lag for me. 2) It's clearly visible in the video linked. 3) Steps to reproduce are also clearly visible in the video linked (when text is added / removed that's me pressing CTRL+V and CTRL+Z). 4) Do you have a link to a guide on how to provide a thread dump of the JVM?
Created attachment 286946 [details] UI freeze logging I was able to reproduce the issue. 1. Hover with the mouse over a hyperlinkable element 2. Start moving the mouse but remain on the item 3. Press control (notice that the link gets underlined and the cursor changes, this change is only triggered by the mouse move) 4. Press 'v' (i.e. CTRL-v is pressed now) 5. Notice the UI freeze Attached the UI freeze logging