Closed
Bug 688824
Opened 13 years ago
Closed 13 years ago
Hide restart if locale is changed to current locale
Categories
(Firefox for Android Graveyard :: General, defect)
Firefox for Android Graveyard
General
Tracking
(firefox9 affected, firefox10 fixed)
VERIFIED
FIXED
Firefox 10
People
(Reporter: wesj, Assigned: wesj)
References
Details
(Keywords: polish)
Attachments
(2 files)
1.61 KB,
patch
|
Details | Diff | Splinter Review | |
1.07 KB,
patch
|
mfinkle
:
review+
|
Details | Diff | Splinter Review |
Using the new locale picker in preferences, we currently show the restart notification any time the locale pref changes. We should be smarter and hide the restart notification if the user changes their locale back.
Assignee | ||
Comment 2•13 years ago
|
||
This fixes the preferencesView store the current locale and checking against it on updates. I also removed a check in localePicker.js. This is an easy fix to a bigger problem in there. If you click on a langaugePack row we do not update LocaleUI._locale. When you then click back on English, we think it is the current locale and don't bother updating the ui (or any restart notifications that were set). I'm putting my "This needs tests!" hat back on, and holding off on review until I've done that.
Assignee: nobody → wjohnston
Assignee | ||
Comment 4•13 years ago
|
||
I've moved the piece that was failing because we don't update the LocaleUI.locale when switching from downloaded locales to already installed locales in the tests (bug 684241), along with some questions about whether we want it or not.
Attachment #563509 -
Flags: review?(mark.finkle)
Updated•13 years ago
|
Attachment #563509 -
Flags: review?(mark.finkle) → review+
Assignee | ||
Comment 6•13 years ago
|
||
http://hg.mozilla.org/integration/mozilla-inbound/rev/077a86b75bdb
Whiteboard: [inbound]
Comment 7•13 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/077a86b75bdb
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
Whiteboard: [inbound]
Target Milestone: --- → Firefox 10
Updated•13 years ago
|
Comment 9•13 years ago
|
||
(In reply to Aaron Train [:aaronmt] from comment #8) > aurora nom? Yes. This issue is still reproducing on the latest Aurora build and I guess that it should be fixed before FF9 will merge to Beta. If a user will tap on a different locale and then will change his/her mind by tapping on the Cancel button, a Restart app is requested. So the last selected language pack will be applied, even if in fact, the action was canceled.
Comment 11•13 years ago
|
||
(In reply to Anthony Hughes, Mozilla QA (irc: ashughes) from comment #10) > Does this affect mobile-only? Yes.
Comment 12•13 years ago
|
||
Verified fixed on: Mozilla/5.0 (Android;Linux armv7l;rv:10.0)Gecko/20111228 Firefox/10.0 Fennec/10.0 Devices: Samsung Galaxy S OS: Android 2.2
Status: RESOLVED → VERIFIED
You need to log in
before you can comment on or make changes to this bug.
Description
•