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

QLineEdit selects all text when receiving focus.

XMLWordPrintable

    • All
    • 1a0f056f3 (dev), 79be5fa98 (6.8)

      QLineEdit selects all text when receiving focus.

      To reproduce the issue, run the attached example and then click on the "open input dialog" button.

      The issue was fixed in 6.7.0 due to the commit related to the following bug report:

      https://bugreports.qt.io/browse/QTBUG-121398

      Backporting the fix to Qt 6.5 is required.

      Partially applying the patch in Qt 6.5 fixed the issue.

        1. patch.diff
          3 kB
        2. untitled73.zip
          3 kB
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            vestbo Tor Arne Vestbø
            mahdi.belila Mehdi Belila
            Votes:
            1 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes