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

QLineEdit completion in QDialog is not clickable

    XMLWordPrintable

Details

    • macOS
    • ae3594436b9b0540ef94379a73bf8fec8d3b7465 (qt/qtbase/dev) 46aae17ac1a4d3612aea487f37b747f32e772408 (qt/qtbase/6.0) 0b0e43bc408921295cce0dd12d6943c19eadad4c (qt/qtbase/5.15)

    Description

      The list created by QCompleter in QLineEdit is not clickable if it appears inside QDialog. It can only be selected using keyboard.

      To reproduce, run the attached example:

      1. Click push button
      2. Dialog with line edit appears. Start typing "Str"
      3. The list of completions appears. Try clicking/scrolling the list

      Result: the clicks are ignored.

      Expected result: mouse works normally.

      This works correctly in older versions of Qt. Also, it works correctly in the main window, as can be seen in the attached example.

       

       

      Attachments

        Issue Links

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

          Activity

            People

              vestbo Tor Arne Vestbø
              badbishop Michal
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes