Details
-
Bug
-
Resolution: Done
-
P2: Important
-
Qt Creator 4.4.1
-
None
-
Official open source pre-built binary from Qt running on Windows 10.
-
d0bf2a45283e663104a3e6ba7720f9a345ae9b63
Description
Steps to reproduce
- Open the attached source file.
I believe the key thing about this file is that there are some lambdas inside a loop inside a function. - Ensure that Animate navigation within file is turned on (under Tools > Options; Text Editor > Display).
- Make sure your window size is such that about 60 lines of code are visible in the viewport at once.
- Scroll down to FunctionC and fold up the 5 lambdas.
- Scroll down to FunctionD and control+click on the call to FunctionC inside it.
Result: although the text cursor moves to FunctionC, the viewport does not scroll to show the cursor. Instead, it scrolls too far and FunctionB is visible.