From e04fc42a85b71dfaac2e97f41a2a11fcd391d1ae Mon Sep 17 00:00:00 2001 From: Claude Date: Sat, 27 Dec 2025 03:24:43 +0000 Subject: [PATCH] Fix on-screen keyboard: ignore Ctrl/Alt modifier keys When pressing Ctrl or Alt on the virtual keyboard, the literal text "Control" or "Alt" was being inserted into text fields. Now these modifier keys are properly ignored since they don't function as standalone keys in input fields. --- install_kiosk_v0.9.9.1.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/install_kiosk_v0.9.9.1.sh b/install_kiosk_v0.9.9.1.sh index c3dbcbd..63c0f90 100644 --- a/install_kiosk_v0.9.9.1.sh +++ b/install_kiosk_v0.9.9.1.sh @@ -5473,6 +5473,9 @@ function createWindow(){ } })(); `).catch(()=>{}); + }else if(key==='Control'||key==='Alt'){ + // Ignore modifier keys - they don't work as standalone keys + return; }else{ view.webContents.executeJavaScript(` (function(){