Details
-
Bug
-
Resolution: Duplicate
-
P1: Critical
-
None
-
Qt Creator 3.4.1, Qt Creator 3.4.2
-
None
-
Gentoo linux, x64
Ubuntu 64-bit
Description
I really like the ctrl+click feature to follow a symbol under a cursor. But it seems qtcreator already resolves links when just pressing ctrl. It seems like a VERY expensive operation which actually blocks the UI and when using ctrl, it does it repeatedly, resulting in multisecond hangs (easily 10 seconds or more on my machine!).
I have already mentioned this issue in issue 11037 but I realized that the issue that is mentioned in the other bugreport is actually a different one so I decided to create a new issue.
As noted in the other issue, I have a project which makes it very simple to reproduce the problem. I'll repeat the instructions here:
- clone https://github.com/bfierz/vcl, open the project in qt-creator.
- Open interleavedarray.h
- Scroll to lines 215
- Just randomly toggle the ctrl button and move with the mouse over the identifiers at line 216/217 for about 1 sec
- release ctrl and scroll using the mouse
- The editor (on my machine) will wait at least about 5 seconds until the scroll event actually is handled
Attachments
Issue Links
- relates to
-
QTCREATORBUG-12573 Qt Creator freezes on CTRL + Mouse Move in Editor
-
- Closed
-