mirror of
https://invent.kde.org/marcoa/shift-shell.git
synced 2026-04-26 14:23:09 +00:00
kcms/mobileshell: Remove gesture only navigation option for now
The KWin gesture currently does not work at all, so turning off the navigation panel makes it so the user cannot navigate. See https://invent.kde.org/plasma/plasma-mobile/-/issues/300
This commit is contained in:
parent
d375914a8c
commit
037f24833c
2 changed files with 15 additions and 13 deletions
|
|
@ -91,7 +91,8 @@ void MobileShellSettings::setNavigationPanelEnabled(bool navigationPanelEnabled)
|
|||
group.writeEntry("navigationPanelEnabled", navigationPanelEnabled, KConfigGroup::Notify);
|
||||
m_config->sync();
|
||||
|
||||
updateNavigationBarsInPlasma(navigationPanelEnabled);
|
||||
// TODO: Gesture only mode setting is disabled until we get the kwin effect gesture working: https://invent.kde.org/plasma/plasma-mobile/-/issues/300
|
||||
// updateNavigationBarsInPlasma(navigationPanelEnabled);
|
||||
}
|
||||
|
||||
bool MobileShellSettings::alwaysShowKeyboardToggleOnNavigationPanel() const
|
||||
|
|
|
|||
|
|
@ -54,19 +54,20 @@ KCM.SimpleKCM {
|
|||
}
|
||||
|
||||
FormCard.FormCard {
|
||||
FormCard.FormSwitchDelegate {
|
||||
id: gestureDelegate
|
||||
text: i18n("Gesture-only Mode")
|
||||
description: i18n("Whether to hide the navigation panel.")
|
||||
checked: !ShellSettings.Settings.navigationPanelEnabled
|
||||
onCheckedChanged: {
|
||||
if (checked != !ShellSettings.Settings.navigationPanelEnabled) {
|
||||
ShellSettings.Settings.navigationPanelEnabled = !checked;
|
||||
}
|
||||
}
|
||||
}
|
||||
// TODO: Gesture only mode setting is disabled until we get the kwin effect gesture working: https://invent.kde.org/plasma/plasma-mobile/-/issues/300
|
||||
// FormCard.FormSwitchDelegate {
|
||||
// id: gestureDelegate
|
||||
// text: i18n("Gesture-only Mode")
|
||||
// description: i18n("Whether to hide the navigation panel.")
|
||||
// checked: !ShellSettings.Settings.navigationPanelEnabled
|
||||
// onCheckedChanged: {
|
||||
// if (checked != !ShellSettings.Settings.navigationPanelEnabled) {
|
||||
// ShellSettings.Settings.navigationPanelEnabled = !checked;
|
||||
// }
|
||||
// }
|
||||
// }
|
||||
|
||||
FormCard.FormDelegateSeparator { visible: keyboardToggleDelegate.visible; above: gestureDelegate; below: keyboardToggleDelegate }
|
||||
// FormCard.FormDelegateSeparator { visible: keyboardToggleDelegate.visible; above: gestureDelegate; below: keyboardToggleDelegate }
|
||||
|
||||
FormCard.FormSwitchDelegate {
|
||||
id: keyboardToggleDelegate
|
||||
|
|
|
|||
Loading…
Reference in a new issue