Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-13472

QLineEdit crash on Nokia N97

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: P1: Critical P1: Critical
    • 4.7.1
    • 4.6.3
    • None
    • None
    • Compiled with Qt 4.6.3 on S60 5th Edition SDK. Tested on Nokia N97 and Nokia N97 mini.
    • 5cef786a651c675d3428060a19bfd9d9ecee6083

      In numeric password-protected QLineEdit fields, a crash can occur when the user presses the keyboard's physical "Sym" key on certain devices. Since the QLineEdit field is supposed to only contain numeric digits, pressing the "Sym" key should actually just do nothing.

      An example program where this occurs is below:

      #include <QtGui>
      #include <QApplication>
      
      int main(int argc, char* argv[])
      {
          QApplication app(argc, argv);
          QWidget w;
          QLayout *l = new QVBoxLayout;
          w.setLayout(l);
          QLineEdit *le = new QLineEdit();
          l->addWidget(le);
          le->setEchoMode(QLineEdit::Password);
          le->setInputMethodHints(Qt::ImhDigitsOnly);
          le->setMaxLength(7);
          w.show();
      
          return app.exec();
      }
      

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            axisnokia axisnokia (Inactive)
            ericp Eric Pomerleau
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes