Force button navigation in convergence mode

Load the button-based NavigationPanel when convergence mode is
enabled, regardless of the gesture panel preference. Gesture-only
navigation is incompatible with mouse and keyboard input.
This commit is contained in:
Marco Allegretti 2026-04-08 19:07:21 +02:00
parent 59ec6af0db
commit 60163ee15e

View file

@ -213,9 +213,10 @@ ContainmentItem {
}
// load appropriate system navigation component
// In convergence mode, always use the button navigation panel (gesture-only mode is hostile to mouse/keyboard)
Loader {
anchors.fill: parent
sourceComponent: ShellSettings.Settings.navigationPanelEnabled ? navigationPanelComponent : gesturePanelComponent
sourceComponent: (ShellSettings.Settings.navigationPanelEnabled || ShellSettings.Settings.convergenceModeEnabled) ? navigationPanelComponent : gesturePanelComponent
}
state: MobileShellState.ShellDBusClient.panelState