-
Bug
-
Resolution: Fixed
-
P2: Important
-
6.9.1
-
None
-
-
ad17c15c1 (dev), 191af18be (6.10), 1fc43a371 (6.9), df2c40297 (dev), 33ba342e5 (6.10), 6afdf0e00 (6.9), bfe8169b0 (dev), f5cc66bbb (6.10), 71e965f8b (6.9)
When navigating a simple QML ApplicationWindow with tab/backtab the focus order differs from the visual order.
The order is menuBar > header > footer > contentItem whereas the visual order is menuBar > header > contentItem > footer.
This behavior seems confusing. Is it by design?
When using a screen reader the order seems correct with the exception of iOS (QTBUG-131404).
import QtQuick import QtQuick.Controls ApplicationWindow { id: root flags: Qt.Window visible: true footer: FocusableText { text: "This is the footer" } header: FocusableText { text: "This is the header" } menuBar: FocusableText { text: "This is the menuBar" } FocusableText { text: "This is the actual content" } component FocusableText: Text { activeFocusOnTab: true font.bold: activeFocus } }
- relates to
-
QTBUG-123207 QQC2.Page footer takes focus before header and contentItem
-
- Reported
-
For Gerrit Dashboard: QTBUG-137823 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
655224,6 | Change order of menuBar/header/footer to match visual order | dev | qt/qtdeclarative | Status: MERGED | +2 | 0 |
656435,4 | Extend autotest of QML ApplicationWindow | dev | qt/qtdeclarative | Status: MERGED | +2 | 0 |
656436,3 | Change order of menuBar/header/footer to match visual order | dev | qt/qtdeclarative | Status: ABANDONED | 0 | 0 |
656996,2 | Remove unnecessary assignment in tst_qquickapplicationwindow.cpp | dev | qt/qtdeclarative | Status: MERGED | +2 | 0 |
657608,2 | Extend autotest of QML ApplicationWindow | 6.10 | qt/qtdeclarative | Status: MERGED | +2 | 0 |
657768,3 | Extend autotest of QML ApplicationWindow | 6.9 | qt/qtdeclarative | Status: MERGED | +2 | 0 |
657938,2 | Extend autotest of QML ApplicationWindow | tqtc/lts-6.8 | qt/tqtc-qtdeclarative | Status: ABANDONED | -1 | 0 |
658125,2 | Change order of menuBar/header/footer to match visual order | 6.10 | qt/qtdeclarative | Status: MERGED | +2 | 0 |
658172,6 | Change order of menuBar/header/footer to match visual order | 6.9 | qt/qtdeclarative | Status: MERGED | +2 | 0 |
659617,2 | Change order of menuBar/header/footer to match visual order | tqtc/lts-6.8 | qt/tqtc-qtdeclarative | Status: ABANDONED | 0 | 0 |
659687,2 | Remove unnecessary assignment in tst_qquickapplicationwindow.cpp | 6.10 | qt/qtdeclarative | Status: MERGED | +2 | 0 |
660057,2 | Remove unnecessary assignment in tst_qquickapplicationwindow.cpp | 6.9 | qt/qtdeclarative | Status: MERGED | +2 | 0 |
660099,1 | Remove unnecessary assignment in tst_qquickapplicationwindow.cpp | tqtc/lts-6.8 | qt/tqtc-qtdeclarative | Status: ABANDONED | 0 | 0 |