Details
-
Bug
-
Resolution: Fixed
-
P1: Critical
-
6.5.5
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
- duplicates
-
QTBUG-121514 [Reg 6.6.0->6.6.2] Focus wrong in dialog with QDialogButtonBox
- Closed