| Summary: | Certain special keys on the virtual keyboard don't map to the correct key in Chrome | ||
|---|---|---|---|
| Product: | [Plasma] kwin | Reporter: | Devin Lin <espidev> |
| Component: | virtual-keyboard | Assignee: | KWin default assignee <kwin-bugs-null> |
| Status: | ASSIGNED --- | ||
| Severity: | normal | CC: | dobey.pwns, martincdavies |
| Priority: | NOR | Keywords: | qt6 |
| Version First Reported In: | 6.0.2 | ||
| Target Milestone: | --- | ||
| Platform: | Other | ||
| OS: | Linux | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
|
Description
Devin Lin
2024-03-17 04:54:52 UTC
Starting the app (chromium/electron) with the --enable-wayland-ime and --ozone-platform-hint=auto flags fixes it. I suspect it's a bug with the vkbd when invoked on an app that doesn't support the text input protocols Phosh's keyboard apparently uses https://wayland.app/protocols/virtual-keyboard-unstable-v1 for anything other than text-input-v3, I'm not sure how kwin does it A possibly relevant merge request was started @ https://invent.kde.org/utilities/kclock/-/merge_requests/117 Been experiencing this in Plasma Mobile 6.1.4, most notably in applications created by the Web Apps application, and the login for Spot. For information, in these applications, the keyboard does not appear automatically when interacting with the text field but needs to be brought up manually from the nav bar. Some symbols appear to type as their non-shift keyboard counterparts; $ as 4, ( as 9, ? as / etc. Other symbols such as £ don't give any input at all. This makes it at best highly impractical to enter email addresses or passwords with special characters. > I suspect it's a bug with the vkbd when invoked on an app that doesn't support the text input protocols
It's due to kwin translating from a Wayland IME to key codes to send to clients that don't support Wayland IME. It seems like, at least in the cases I've seen described of this, that the modifier is getting lost for characters that are shifted inputs. I'm not sure if the issue itself is in kwin or chrom{e,ium} though, as so far it seems to be the main client which results in these complaints, hence the need for --enable-wayland-ime to fix it.
|