Details
-
Bug
-
Resolution: Unresolved
-
P3: Somewhat important
-
None
-
6.6.2
-
None
-
Operating System: openSUSE Tumbleweed 20240306
Description
Run the code and press tab. Notice that the keyboard focus for a page goes in this order: footer -> header -> contentItem. It should be header -> contentItem -> footer
import QtQuick import QtQuick.Layouts as L import QtQuick.Controls as C Window { width: 600 height: 800 visible: true L.RowLayout { anchors.fill: parent spacing: 0 C.Page { L.Layout.fillHeight: true L.Layout.fillWidth: true header: C.ToolBar { Row { C.Button { text: "Back" } C.Button { text: "Forward" } } } contentItem: Rectangle { color: "red" C.Button { text: "Main control" } } footer: C.ToolBar { Row { C.Button { text: "Load" } C.Button { text: "Save" } } } } C.Page { L.Layout.fillHeight: true L.Layout.fillWidth: true header: C.ToolBar { Row { C.Button { text: "Back" } C.Button { text: "Forward" } } } contentItem: Rectangle { color: "blue" C.Button { text: "Main control" } } footer: C.ToolBar { Row { C.Button { text: "Load" } C.Button { text: "Save" } } } } } }