kasmtech / KasmVNC

Modern VNC Server and client, web based and secure
GNU General Public License v2.0
3.59k stars 320 forks source link

Key ¨^ does not work on chromeos #281

Open owengo opened 2 months ago

owengo commented 2 months ago

Describe the bug Kasm version: 1.15.0.577587 When running on a chromebook, chrome 128, with a french keyboard, the key for ^¨ does not work.

System Description Provide the output of

cat /etc/os-release
uname -a

NAME="AlmaLinux" VERSION="9.4 (Seafoam Ocelot)" ID="almalinux" ID_LIKE="rhel centos fedora" VERSION_ID="9.4" PLATFORM_ID="platform:el9" PRETTY_NAME="AlmaLinux 9.4 (Seafoam Ocelot)" ANSI_COLOR="0;34" LOGO="fedora-logo-icon" CPE_NAME="cpe:/o:almalinux:almalinux:9::baseos" HOME_URL="https://almalinux.org/" DOCUMENTATION_URL="https://wiki.almalinux.org/" BUG_REPORT_URL="https://bugs.almalinux.org/"

ALMALINUX_MANTISBT_PROJECT="AlmaLinux-9" ALMALINUX_MANTISBT_PROJECT_VERSION="9.4" REDHAT_SUPPORT_PRODUCT="AlmaLinux" REDHAT_SUPPORT_PRODUCT_VERSION="9.4" SUPPORT_END=2032-06-01

KasmVNC Details Provide the filename of the package you installed KasmVNC with. The filename includes important details like the OS, architecture, and commit sha. kasm_release_1.15.0.06fdc8.tar.gz

Provide the output of this command.

Xvnc -version

Xvnc KasmVNC 1.3.1.230e50f7b89663316c70de7b0e3db6f6b9340489 - built Mar 15 2024 09:25:50 Copyright (C) 1999-2018 KasmVNC Team and many others (see README.me) See http://kasmweb.com for information on KasmVNC. Underlying X server release 12008000, The X.Org Foundation

To Reproduce Steps to reproduce the behavior (for non-installation issues): Connect to a chromebook Launch chrome Open kasmweb Launch any desktop / chrome The key ¨^ has no effect

Note that the problem persists when using an usb french keyboard on the chromebook. With the same usb french keyboard on a windows computer there is no issue.

Expected behavior The ^ key should show the caret, and in combination with vowels generate ë ê â .. etc .

Browser If this is a problem with the KasmVNC client, provide details about the browser you are accessing KasmVNC from.

Additional context ChromeOS is the only client environment where, when kasm desktop is launched as a PWA, almost all keyboard mappings are working correctly ( ~ , ALT+TAB, .. ) . The last issue is the ^¨ key

On ChromeOS as well as Windows the javascript clients receives this event: KeyboardEvent {isTrusted: true, key: 'Dead', code: 'BracketLeft', location: 0, ctrlKey: false, … }

When the key is pressed. It is correctly handled in windows but not on chromeos

mmcclaskey commented 1 month ago

Could you please try with IME mode enabled?

https://www.kasmweb.com/kasmvnc/docs/latest/clientside.html#ime-input-mode

owengo commented 1 month ago

It does not change anything actually. I have tried on your desktop on kasmweb.com, with and without IME, the key seems to have no effect. For example when I hit ^ then "a" I have "a" instead if "â"