Details
-
Bug
-
Resolution: Incomplete
-
Not Evaluated
-
None
-
4.7.2, 4.8.1
-
None
Description
When moving the QLineEdit cursor by keeping the cursor arrow keys pressed or entering text, the cursor continues to blink, making it very hard to see how far it has moved half of the time. This works fine in QTextEdit.
Here's the fix guys:
in source file: qlineedit.cpp
Bug in the following method:
bool QLineEdit::event(QEvent *e)
{ ... } else if (e->type()==QEvent::KeyRelease) {
//Bad old code
//d->control->setCursorBlinkPeriod(QApplication::cursorFlashTime());
//Fix
d->control->resetCursorBlinkTimer();