[vlc-devel] [PATCH 10/16] qml: satisfy proper focusing during playlist animation

Fatih Uzunoglu fuzun54 at outlook.com
Wed Jul 29 23:04:33 CEST 2020


---
 modules/gui/qt/medialibrary/qml/MainDisplay.qml | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/modules/gui/qt/medialibrary/qml/MainDisplay.qml b/modules/gui/qt/medialibrary/qml/MainDisplay.qml
index 781c5f4f3c..812014122d 100644
--- a/modules/gui/qt/medialibrary/qml/MainDisplay.qml
+++ b/modules/gui/qt/medialibrary/qml/MainDisplay.qml
@@ -234,9 +234,11 @@ Widgets.NavigableFocusScope {
                         onExpandedChanged: {
                             if (expanded) {
                                 animateExpand.start()
+                                playlistColumn.forceActiveFocus()
                             }
                             else {
                                 animateRetract.start()
+                                stackView.forceActiveFocus()
                             }
                         }
 
-- 
2.25.1



More information about the vlc-devel mailing list