Bug 7431 - AltGr broken with Android physical keyboard
Summary: AltGr broken with Android physical keyboard
Status: NEW
Alias: None
Product: ThinLinc
Classification: Unclassified
Component: Web Access (show other bugs)
Version: trunk
Hardware: PC Unknown
: P2 Normal
Target Milestone: MediumPrio
Assignee: Bugzilla mail exporter
URL:
Keywords:
Depends on:
Blocks: 3523
  Show dependency treegraph
 
Reported: 2019-10-31 13:02 CET by Pierre Ossman
Modified: 2019-11-06 09:47 CET (History)
0 users

See Also:
Acceptance Criteria:


Attachments

Description Pierre Ossman cendio 2019-10-31 13:02:00 CET
Using AltGr with a physical keyboard with Android behaves very strangely and doesn't really work.

To begin with we get Alt_R instead of ISO_Level3_Shift when pressing the key.

When then pressing 2 on a Swedish keyboard we expect a "@" to be sent. However instead we get:

 * Left Shift down
 * "@" down
 * "@" up
 * Left shift up

Not sure what is going on. Seems to happen in both Firefox and Chrome though.
Comment 1 Pierre Ossman cendio 2019-11-06 09:47:04 CET
(In reply to comment #0)
> When then pressing 2 on a Swedish keyboard we expect a "@" to be sent. However
> instead we get:
> 
>  * Left Shift down
>  * "@" down
>  * "@" up
>  * Left shift up
> 

Brain fart. This is what Xvnc fakes because the wrong key was sent for AltGr. Web Access sends the @ just fine.

So the issue is that the wrong symbol is sent for AltGr. We have no way of knowing if it is Alt_R or AltGr, so the browsers need to be fixed here:

https://github.com/mozilla-mobile/fenix/issues/6471
https://bugs.chromium.org/p/chromium/issues/detail?id=1021856

Note You need to log in before you can comment on or make changes to this bug.