intl_keyboard_layout data is inconsistent
Categories
(Core :: Privacy: Anti-Tracking, defect, P3)
Tracking
()
People
(Reporter: tjr, Assigned: fkilic)
References
(Blocks 1 open bug)
Details
Attachments
(1 file, 2 obsolete files)
36.04 KB,
image/png
|
Details |
Wile validating the data from our set of volunteers, I found that the data we are getting for intl_keyboard_data is inconsistent across OS. We could probably apply a mapping on the backend to correct and unify the desktop OS values, but Android seems not to report anything at all. Is that because the keyboard layout is a function of a different language setting? If so, we can use that setting in the backend mapping as well.
Assignee | ||
Comment 1•1 month ago
|
||
We probably should do it but there isn't a comprehensive list of keyboard layouts. Windows provides this https://learn.microsoft.com/en-us/windows-hardware/manufacture/desktop/windows-language-pack-default-values, but there isn't anything available for MacOS, wayland and x11 afaict. I'll take a look at android and see if something can be done but apparently there's no reliable way of doing this on android (some report specific keyboards, e.g. google keyboard, just return empty string)
Assignee | ||
Comment 2•1 month ago
|
||
Instead of returning localized layout names, we may consider using "reverse DNS name associated with the input source"
Updated•1 month ago
|
Assignee | ||
Comment 3•29 days ago
|
||
Comment 4•29 days ago
|
||
Comment on attachment 9446681 [details]
Bug 1940574: Implement nsLookAndFeel::GetKeyboardLayoutImpl on Android. r?tjr
Revision D233762 was moved to bug 1940840. Setting attachment 9446681 [details] to obsolete.
Comment 5•29 days ago
|
||
Comment on attachment 9446555 [details]
Bug 1940574: Consider using kTISPropertyInputSourceID instead of kTISPropertyLocalizedName. r?tjr
Revision D233667 was moved to bug 1940840. Setting attachment 9446555 [details] to obsolete.
Updated•25 days ago
|
Description
•