fix(lockscreen): suppress AppLauncher opening when LockscreenService.isLocked is active

This commit is contained in:
Sho 2026-08-02 16:28:34 +09:00
parent fccc488349
commit 550a28d02d
3 changed files with 3 additions and 1 deletions

View File

@ -18,7 +18,7 @@ PanelWindow {
WlrLayershell.layer: WlrLayershell.Overlay
WlrLayershell.keyboardFocus: WlrLayershell.Exclusive
visible: PopupService.appLauncherOpen
visible: PopupService.appLauncherOpen && !LockscreenService.isLocked
// Currently highlighted app index for keyboard navigation
property int selectedIndex: 0

View File

@ -66,6 +66,7 @@ Item {
}
function lock() {
PopupService.closeAll()
userPassword = ""
typedCount = 0
authFailed = false

View File

@ -133,6 +133,7 @@ Item {
}
function toggleAppLauncher() {
if (LockscreenService.isLocked) return;
let state = !appLauncherOpen
closeAll()
appLauncherOpen = state