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

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

      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.

        1. trace.png
          trace.png
          56 kB
        2. QtGuiApplication1.rar
          2 kB
        3. QtGuiApplication1.pdb
          1.82 MB
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

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

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes