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
          tianshilin tianshilin
        2. demo.mkv
          8.47 MB
          tianshilin tianshilin
        3. qt6.7+kwin_david.webm
          46 kB
          David Redondo
        4. video(6).mp4
          2.72 MB
          tianshilin tianshilin
        5. wayland.png
          64 kB
          tianshilin tianshilin
        6. x11.png
          34 kB
          tianshilin tianshilin
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes