Panels: proper focus management with the new architecture.

This commit is contained in:
ItsLemmy
2025-11-12 18:45:15 -05:00
parent 81e9bd55fa
commit 39784134af
5 changed files with 11 additions and 21 deletions
-2
View File
@@ -19,8 +19,6 @@ SmartPanel {
preferredWidthRatio: 0.3
preferredHeightRatio: 0.5
exclusiveKeyboard: true
// Positioning
readonly property string panelPosition: {
if (Settings.data.appLauncher.position === "follow_bar") {
+3
View File
@@ -12,6 +12,9 @@ import qs.Modules.MainScreen
SmartPanel {
id: root
// Do not give exclusive focus to the TrayDrawer or it will prevent the dropdown menu to request it.
exclusiveKeyboard: false
// Widget info for menu functionality
property string widgetSection: ""
property int widgetIndex: -1