Details
-
Bug
-
Resolution: Done
-
P4: Low
-
Qt Creator 4.5.1
-
Windows 10 1709 64 bit
MSVC 2015 64 bit
Qt 5.9.3, 5.10.0
-
30d733a2e1a4d09c7f85b1d5fb840b71a9972295
Description
- Open a source file.
- Move the cursor to the middle of the file.
- Press Ctrl+E,2 to split the editor.
- Press Ctrl+Home to jump to the beginning of the file.
- Press Enter to insert a new line.
In the moment this line is inserted in the one split, the other split scrolls to the end of the file. - Press Ctrl+E,0 to close the current split.
- Press an error key to move the cursor.
The editor scrolls back to the middle of the file because the cursor stayed there all the time.
An editor split should not move when doing anything in another split. An editor split should not scroll to a location other than the cursor's position (unless the user requested it).