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

Virtual keyboard - Input out of range characters to a QLineEdit with validator leads to crash

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • Not Evaluated
    • None
    • 5.12
    • Virtual Keyboard
    • None
    • Qt 5.12.10, Windows 10
    • Windows

    Description

      I have posted an item on Qt forum. Here is a summerise:
      1. Enable virtual keyboard for the project in main.cpp;
      2. Create a QLineEdit on a popup dialog;
      3. Set a validator for the QLineEdit, for example, a QIntValidator;
      4. Let the QLineEdit got focus, enter out of range characters, such as ‘a', 'b', 'c' from the physical keyboard.
      The program will crash when doing step 4 on Windows 10. But the same program works well on Ubuntu 18.04.

      Attachments

        1. trace.png
          trace.png
          56 kB
        2. QtGuiApplication1.rar
          2 kB
        3. QtGuiApplication1.pdb
          1.82 MB

        Issue Links

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

          Activity

            People

              jakoivik Jarkko Koivikko
              anima liu lili
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes