1
0
mirror of https://github.com/AvengeMedia/DankMaterialShell.git synced 2025-12-06 05:25:41 -05:00

Fixes for better Virtual keyboard support and Workspace Switcher (#155)

* Disabling workspace animation if too many icons

* Fixed virtual keyboard on popups and modals

- Fixed VK sometimes appearing under popups and modals (that made the
keyboard unusable)
- Fixed VK not working on app drawer
- Left comments for future changes

* Added explanation for disabling animation

* Fixes comments
This commit is contained in:
Aleksandr Lebedev
2025-09-04 16:34:42 +02:00
committed by GitHub
parent eecbd8c733
commit e64124cce3
4 changed files with 18 additions and 3 deletions

View File

@@ -54,9 +54,17 @@ PanelWindow {
}
color: "transparent"
WlrLayershell.layer: WlrLayershell.Overlay
WlrLayershell.layer: WlrLayershell.Top // if set to overlay -> virtual keyboards can be stuck under popup
WlrLayershell.exclusiveZone: -1
WlrLayershell.keyboardFocus: shouldBeVisible ? WlrKeyboardFocus.OnDemand : WlrKeyboardFocus.None
// WlrLayershell.keyboardFocus should be set to Exclusive,
// if popup contains input fields and does NOT create new popups/modals
// with input fields.
// With OnDemand virtual keyboards can't send input to popup
// If set to Exclusive AND this popup creates other popups, that also have
// input fields -> they can't get keyboard focus, because the parent popup
// already took the lock
WlrLayershell.keyboardFocus: shouldBeVisible ? WlrKeyboardFocus.OnDemand : WlrKeyboardFocus.None
anchors {
top: true