Details
-
Bug
-
Resolution: Done
-
P3: Somewhat important
-
4.7.0
-
OSX 10.6.4, Qt4.6.3 and Qt4.7 (version used by QtCreator 2.0.1), Intel based Mac
Description
-Fire up QtCreator 2.0.1
-transfer focus to a line edit, e.g. the Find line edit
-enter some content (e.g. "blah")
-select all
-delete
While focus is still on the line edit and typing will enter content, the line edit blinking cursor will not be shown until you transfer focus to another widget and then back again. This does not seem to occur if you delete a subset of the content, only when deleting all content in the line edit. What is also strange is if you subclass QLineEdit (or setup a signal slot connection to monitor the cursor position) you'll find that in the above scenario the cursor position is 0, it's just not visible or blinking. Odd. I notice this with my own app and Qt4.6.3 as well.
Attachments
For Gerrit Dashboard: QTBUG-13169 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
13403,1 | Fix cursor disappearance in QLineEdit on Mac when deleting all text | 4.8 | qt/qt | Status: MERGED | +2 | 0 |
13814,1 | Fix cursor disappearance in QLineEdit on Mac when deleting all text | master | qt/qtbase | Status: MERGED | +2 | 0 |