Details
-
Bug
-
Resolution: Unresolved
-
Not Evaluated
-
None
-
Qt Creator 4.13.2
-
None
-
Kubuntu 20.10
Description
Hi!
I'm using QtCreator just as a coding editor for a non-GUI project in C. I'm using QtCreator from Ubuntu 20.10 repositories.
My habit is to scroll up and down the code (with my mouse scroll) while reviewing it, and occasionally Ctrl+click on some identifier to jump to its definition.
The bug is that when I'm ready with my mouse pointer to do this, I press the Ctrl key and QtCreator scrolls up or down the document to some place where the text cursor resides. This is annoying since I have to find the place, where I was ready to click, once again.
This doesn't happen each time, but it seems to happen the first time for each opened source code file.
I found that not only Ctrl, but any key on the keyboard invokes this bug. Even when I for example press the "volume up" key on my multimedia keybord, QtCreator scrolls to the text cursor as well.
Steps to reproduce:
1) open a longer (multiple screens) soruce code file in QtCreator
2) leave the text cursor on the top of the file (for example)
3) scroll down the document with your mouse scroll
4) press Ctrl key
Expected:
- nothing happens
Experienced:
- QtCreator scrolls the document back to the top
Please contact me if there's anything left to explain.
Thanks for looking at this!