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

QLineEdit can't be used for keyboard input after popup menu from another QDialog

XMLWordPrintable

    • macOS
    • b1b75326f4779c5a8d4ce65626ef8a80079ff994 (qt/qtbase/dev)

      My Qt test application consists of 2 dialogs. In both dialogs there are QLineEdit controls.  First, I opened a new dialog by clicking on the button from the main window. On right click on QLineEdit control from the main window popup menu appears, and without closing that menu I clicked on QLineEdit from another dialog, but QLineEdit is not focused. It is not usable, and user can't input anything in QLineEdit until I close that dialog and reopen it.

      I have attached source files of the test application.

      Thanks in advance.

        1. TestFocusApp.zip
          6 kB
          Denis Komadaric
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            vhilshei Volker Hilsheimer
            comy Denis Komadaric
            Veli-Pekka Heinonen Veli-Pekka Heinonen
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes