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

    • Type: Bug
    • Status: Closed
    • Priority: Not Evaluated
    • Resolution: Duplicate
    • Affects Version/s: 5.12
    • Fix Version/s: None
    • Component/s: Virtual Keyboard
    • Labels:
      None
    • Environment:
      Qt 5.12.10, Windows 10
    • Platform/s:
      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. QtGuiApplication1.pdb
          1.82 MB
          liu lili
        2. QtGuiApplication1.rar
          2 kB
          liu lili
        3. trace.png
          56 kB
          liu lili

          Issue Links

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

            Activity

              People

              Assignee:
              jakoivik Jarkko Koivikko
              Reporter:
              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