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

Focus not visualised on startup

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: P2: Important P2: Important
    • None
    • 6.2
    • Quick: Controls 2
    • None

      The button with focus below doesn't have its focus visualised on startup. It's only after tabbing away and back to it that it visualises its focus.

      import QtQuick
      import QtQuick.Controls
      
      ApplicationWindow {
          width: 800
          height: 700
          title: "activeFocusItem: " + activeFocusItem
          visible: true
      
          Row {
              Button {
                  objectName: "testButton1"
                  focus: true
                  text: "Button 1"
              }
              Button {
                  objectName: "testButton2"
                  text: "Button 2"
              }
          }
      }
      

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

            qt.team.quick.subscriptions Qt Quick and Widgets Team
            mitch_curtis Mitch Curtis
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:

                There are no open Gerrit changes