Bug 575404 - Lag when pressing CTRL key-binds caused by Hyperlinking/Open Declaration setting
Summary: Lag when pressing CTRL key-binds caused by Hyperlinking/Open Declaration setting
Status: NEW
Alias: None
Product: Platform
Classification: Eclipse Project
Component: IDE (show other bugs)
Version: 4.20   Edit
Hardware: PC Windows 10
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Platform-UI-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords: needinfo
Depends on:
Blocks:
 
Reported: 2021-08-13 17:22 EDT by Marcus Löwegren CLA
Modified: 2021-08-15 08:21 EDT (History)
2 users (show)

See Also:


Attachments
UI freeze logging (373.04 KB, text/plain)
2021-08-15 08:19 EDT, Rolf Theunissen CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Marcus Löwegren CLA 2021-08-13 17:22:34 EDT
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
Comment 1 Andrey Loskutov CLA 2021-08-14 02:13:37 EDT
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".
Comment 2 Marcus Löwegren CLA 2021-08-14 03:42:43 EDT
(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?
Comment 3 Rolf Theunissen CLA 2021-08-15 08:19:18 EDT
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