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

QLineEdit with inputMask with separators. Cursor doesn't go to the end of line by pressing End key.

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P3: Somewhat important
    • None
    • 4.7.3
    • None
    • Windows 7

    Description

      QString inputMask;
      for(int i =0;i<bytesCount;i++){
          inputMask+=tr("HH ");
      }
      inputMask.remove(inputMask.length()-1,1);
      inputMask.append(tr(";0"));
      lineEdit->setInputMask(inputMask);
      

      When I pressed "End" button on the keyboard,when lineEdit is focused, cursor doesn't go to the end of input field. Possibly, it calculates quantity of mask symbols 'H', and go to the position == count of 'H', but doesn't calculate space separators.

      Attachments

        For Gerrit Dashboard: QTBUG-20414
        # Subject Branch Project Status CR V

        Activity

          People

            Unassigned Unassigned
            sacha_d Александр Думановский
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes