Closed Bug 1581555 Opened 5 years ago Closed 4 years ago

When switching dynamically switching locales via 'requestedLocales', and error is throw and the touch bar does not update

Categories

(Core :: Widget: Cocoa, defect, P3)

defect
Points:
3

Tracking

()

RESOLVED FIXED
mozilla74
Iteration:
73.2 - Dec 16 - Jan 5
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

  1. 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).
  2. Set the intl.multilingual.enabled and intl.multilingual.downloadEnabled preferences to true.
  3. Restart Firefox.
  4. 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.

Priority: -- → P3
Blocks: touchbar
Assignee: nobody → htwyford
Status: NEW → ASSIGNED
Iteration: --- → 73.2 - Dec 16 - Jan 5
Points: --- → 3
Blocks: 1596723
Pushed by htwyford@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/83762a3e8989
Allow dynamic location switching in the Touch Bar. r=spohl,mikedeboer
Status: ASSIGNED → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla73

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

Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Target Milestone: mozilla73 → ---
Status: REOPENED → ASSIGNED
Pushed by htwyford@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/efaa19655437
Allow dynamic location switching in the Touch Bar. r=spohl,mikedeboer
Status: ASSIGNED → RESOLVED
Closed: 4 years ago4 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla74
QA Whiteboard: [qa-74b-p2]
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: