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

Doubleclicking a word inside of a QLineEdit no longer selects the word (Linux only)

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P2: Important
    • None
    • 5.12.3
    • None
    • Linux/X11, Linux/Other display system

    Description

      Doubleclicking inside of a QLineEdit on Mac and Windows will select the whole word under the cursor.

       

      However, on Linux (specifically Centos7), the selection only selects up to the cursor and does not select the full word.

       

      This can be seen by installing Qt Creator 4.9.0 (I used qt-unified-linux-x64-3.1.1-online.run) on a Centos (or likely also Red Hat) machine. In Qt Creator(built using 5.12.2) you can observe the behavior in the Search bar in Welcome->Examples->Search in Examples...

       

      I've attached a screenshot of the behavior when double-clicking the word "expect" inside Qt Creator, along with the About window for reference.

       

      The expected behavior in the screenshot should be for the entire word "expect" to be selected, not just up to where the cursor was during the click event.

       

      Please let me know if I can provide more details.

       

      Attachments

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

        Activity

          People

            qt.team.quick.subscriptions Qt Quick and Widgets Team
            kgudmund Kathleen Gudmundsen
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes