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

Mouse click on the text of the completer to match the content, there will be a focus loss problem

    XMLWordPrintable

Details

    • Bug
    • Resolution: Invalid
    • P2: Important
    • None
    • 5.15, 6.6
    • None
    • KDE,WAYLAND,QT6.6
    • Linux/Wayland

    Description

      When using Qlineedit, I'm using Qcompleter for text matching, but when clicking on the matched text I get a focus loss problem. This doesn't happen in X11 when using the mouse, and in wayland it doesn't happen if the matching text is selected using the keyboard area!

      Attachments

        1. demo_completer.zip
          8 kB
        2. demo.mkv
          8.47 MB
        3. qt6.7+kwin_david.webm
          46 kB
        4. video(6).mp4
          2.72 MB
        5. wayland.png
          wayland.png
          64 kB
        6. x11.png
          x11.png
          34 kB

        Activity

          People

            liaqi Liang Qi
            tianshilin115 tianshilin tianshilin
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: