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

Order of QDialogButtonBox in .ui file affects initial focus of dialog

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P3: Somewhat important
    • None
    • 5.2.1
    • None
    • QT on Windows environment.

    Description

      The order that a QDialogButtonBox element appears in a UI file affects what controls get initial focus when a dialog is launched. According to documentation, the first control in the Tab order should get the focus. If QDialogButtonBox is the first element listed in the UI file, it receives the focus instead.

      I have attached a QtCreator app that demonstrates the problem. It was reproduced on Windows.

      Attachments

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

        Activity

          People

            peppe Giuseppe D'Angelo
            nteeuwentableau Nicolas Teeuwen
            Votes:
            2 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes