-
Type:
Bug
-
Status: Closed
-
Priority:
P1: Critical
-
Resolution: Done
-
Affects Version/s: 4.6.3, 4.7.0
-
Component/s: None
-
Labels:None
-
Environment:Armv5 on N97
-
Commits:c5901037f0d3ccd45b0c79b38ef5b04552dad0aa, 52cf47565e402dc682038ccaf8d725401802b603, 5ca6264933af60b3cd376b7f08bea008fa69b515
Originally taken from QTBUG-12949:
----------------------------------------------
While testing this I actually found several issues with this test app:
#include <QtGui> int main(int argc, char **argv) { QApplication app(argc, argv); QWidget w; QLayout *l = new QVBoxLayout; w.setLayout(l); QLineEdit *le = new QLineEdit("Test"); l->addWidget(le); le->setEchoMode(QLineEdit::Password); le->setMaxLength(8); w.show(); return app.exec(); }
First of all, use N97 for testing.
a)
1. Type a character using the qwerty keyboard.
2. The character replaces the last character.
b)
1. Do a) once more.
2. Then erase everything using backspace.
3. Type a character.
4. Crash!
c)
1. Use qwerty keyboard to type all 8 characters.
2. A ninth character can now be typed for a brief moment, despite 8 being the max length.
3. The type of character is not correct either (try H, for example).
d)
1. Do c) using the virtual keyboard.
2. Again, one more character can be entered, and the display goes out of sync with the actual widget (9 vs 8 characters)
- resulted from
-
QTBUG-12949 QLineEdit Password EchoMode Doesn't Commit Latest Character
-
- Closed
-