SpacingBat3 / WebCord

A Discord and SpaceBar :electron:-based client implemented without Discord API.
MIT License
1.88k stars 93 forks source link

Not detecting all keys from Squeekboard (Phosh) OSK #450

Open TheKrafter opened 1 year ago

TheKrafter commented 1 year ago

Aknowledgements

Operating System / Platform

🐧️ Linux

Operating system architecture

aarch64 (64-bit ARM)

Electron version

25.2.0

Application version

4.3.0

Bug description

In WebCord, several keys on Phosh's Squeekboard OSK do not work (as in it is as if they weren't pressed) on soome profiles. Notably, on "English (US)" (and many other tested standard english layouts), the q and k keys do not work. However, they do work when switching to the "Terminal" profile. But on that profile, the o, z, and x keys do not work. Some other keys for special characters do not work in some profiles aswell. For example the @ key does not work in English (US).

This issue does not exist on any other app that I have tested.

Additional context

Notice: This issue was automatically generated by WebCord.

I am running this on postmarketOS, on a OnePlus 6, with Phosh v0.27.0.

SpacingBat3 commented 1 year ago

I highly doubt this has anything to do on my side, I guess the blame is (most likely) on virtual keyboard application (I suppose it might not emit right events to the application/OS) you're using or Electron (I doubt it is adapted for Linux mobile devices or touch devices at all, so they might not be interested at fixing this bug).

TheKrafter commented 1 year ago

thanks for the input, ill look into it

agx commented 8 months ago

@TheKrafter see https://gitlab.gnome.org/World/Phosh/squeekboard/-/issues/380 (and related issues) as well as https://gitlab.gnome.org/World/Phosh/squeekboard/-/merge_requests/598 as an attempt to fix electron related apps.

Also phosh-osk-stub (https://gitlab.gnome.org/guidog/phosh-osk-stub) should work. We recently improved support for non US layouts (https://gitlab.gnome.org/guidog/phosh-osk-stub/-/merge_requests/101).