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

Change in behavior of starting focus on QDialog.

    XMLWordPrintable

Details

    • All

    Description

      In Qt 6.5.3 and earlier versions, dialogs containing a QLineEdit and QDialogButtonBox would initially focus on the line edit field.

      This behavior has changed in subsequent versions, with the initial focus no longer being set to the line edit field.

      To reproduce the issue, run the attached example project.

      As a workaround,  call setFocus() on the QLineEdit object. 

      Attachments

        Issue Links

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

          Activity

            People

              axelspoerl Axel Spoerl
              mahdi.belila Mehdi Belila
              Votes:
              2 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes