When switching dynamically switching locales via 'requestedLocales', and error is throw and the touch bar does not update
Categories
(Core :: Widget: Cocoa, defect, P3)
Tracking
()
Tracking | Status | |
---|---|---|
firefox74 | --- | fixed |
People
(Reporter: standard8, Assigned: bugzilla)
References
(Blocks 2 open bugs)
Details
Attachments
(1 file)
I was testing something for another bug, and noticed this.
STR
- On latest nightly, install a language pack for a different locale, e.g. from http://ftp.mozilla.org/pub/firefox/nightly/latest-mozilla-central-l10n/linux-x86_64/xpi/ (note: they work for Mac as well).
- Set the
intl.multilingual.enabled
andintl.multilingual.downloadEnabled
preferences to true. - Restart Firefox.
- Open the Browser Console, and enter
Services.locale.requestedLocales = ["ro"]
(use whichever locale you installed.
Expected Results
Touch bar changes languages, no errors.
Actual Results
TypeError: kBuiltInInputs.keys is not a functionMacTouchBar.js:309:54
Touch bar language doesn't change until restart.
Although dynamic switching is not supported at the moment, I'm guessing it will be once Fluent is fully rolled out, and we have functionality for this.
I suspect the fix is simple, though we should add a test if we can as well.
Updated•5 years ago
|
Assignee | ||
Comment 1•4 years ago
|
||
Updated•4 years ago
|
Assignee | ||
Updated•4 years ago
|
Pushed by htwyford@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/83762a3e8989 Allow dynamic location switching in the Touch Bar. r=spohl,mikedeboer
Comment 3•4 years ago
|
||
bugherder |
Comment 4•4 years ago
|
||
backout |
Backed out from Beta along with bug 1600356 to hopefully avoid hitting bug 1607140 in 73.0b1. Also backed out from m-c to see how it affects the crash rate on Nightly.
https://hg.mozilla.org/integration/autoland/rev/a97f3b887300873e59b17c35e09273609117dd83
https://hg.mozilla.org/releases/mozilla-beta/rev/5e0b8d38ddfa197c95c7ebefd853d6caeb6fc6ba
Updated•4 years ago
|
Pushed by htwyford@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/efaa19655437 Allow dynamic location switching in the Touch Bar. r=spohl,mikedeboer
Comment 6•4 years ago
|
||
bugherder |
Updated•4 years ago
|
Description
•