[vlc-devel] [PATCH 28/28] qml: fix playlist keyboard navigation
Fatih Uzunoglu
fuzun54 at outlook.com
Tue Jul 21 19:28:58 CEST 2020
---
.../gui/qt/medialibrary/qml/MainDisplay.qml | 19 ++++++++++---------
1 file changed, 10 insertions(+), 9 deletions(-)
diff --git a/modules/gui/qt/medialibrary/qml/MainDisplay.qml b/modules/gui/qt/medialibrary/qml/MainDisplay.qml
index 3bb9f405e1..89a26979de 100644
--- a/modules/gui/qt/medialibrary/qml/MainDisplay.qml
+++ b/modules/gui/qt/medialibrary/qml/MainDisplay.qml
@@ -215,6 +215,7 @@ Widgets.NavigableFocusScope {
}
width: root.width / 4
visible: false
+ focus: false
property bool expanded: mainInterface.playlistDocked && mainInterface.playlistVisible
@@ -252,15 +253,6 @@ Widgets.NavigableFocusScope {
}
}
- navigationParent: medialibId
- navigationLeftItem: stackView
- navigationUpItem: sourcesBanner
- navigationDownItem: miniPlayer.expanded ? miniPlayer : undefined
- navigationCancel: function() {
- mainInterface.playlistVisible = false
- stackView.forceActiveFocus()
- }
-
ColumnLayout {
anchors.fill: parent
spacing: 0
@@ -290,6 +282,15 @@ Widgets.NavigableFocusScope {
rightPadding: VLCStyle.applicationHorizontalMargin
+ navigationParent: medialibId
+ navigationLeftItem: stackView
+ navigationUpItem: sourcesBanner
+ navigationDownItem: miniPlayer.expanded ? miniPlayer : undefined
+ navigationCancel: function() {
+ mainInterface.playlistVisible = false
+ stackView.forceActiveFocus()
+ }
+
Item
{
anchors {
--
2.25.1
More information about the vlc-devel
mailing list