Details
-
Bug
-
Resolution: Done
-
P4: Low
-
Qt Creator 2.1.0
-
None
-
1a55de5d0e40e2754ca02a6f8083bfd90680c8ff
Description
When you press TAB to indent the current position (no selection active), this does not force the cursor to made visible. I.e., if you happen to press TAB just before the cursor is hidden again (blinking controlled by Qt internally) you don't see the cursor appearing at its new position until after the blinking period. Contrast with normal key presses, where the cursor is always forced visible again.
Example:
Press "d", at a rate of about 5/second, and you'll see the cursor is always immediately drawn at the new position.
Then
Press TAB, at the same rate (turn on word wrapping), and you'll see the cursor blinking on and off normally, meaning the new tab position is not made visible at times and you are forced to wait until the cursor becomes visible again via a timer.
The fix is very simple, I have attached a patch for the current 2.1 branch (it does not break the block indent feature)
The blinking is still not optimal, but I believe the bug is in Qt itself, will comment once I file it, after that cursor behaves beautifully (IMHO in Qt Creator.