Use more of the Cocoa API in OSPreferences




3 years ago
4 months ago


(Reporter: zbraniecki, Unassigned, Mentored)



Firefox Tracking Flags

(Not tracked)


(Whiteboard: tpi:+)

In bug 1333184 we're introducing OSPreferences API. In this bug we'll work on using more of the Cocoa API to handle more of the information from the OS.
Depends on: 1333184
Once you have an OSPreferences API for the country code, you can remove GetSelectedCityInfo and MacHelpers.h/.mm.
Severity: normal → enhancement
OS: Unspecified → Mac OS X
Priority: -- → P4
Whiteboard: tpi:+
Mentor: gandalf
Keywords: good-first-bug
I'd like to try this if I had a bit of guidance on what was needed. I'm not familiar with Cocoa (I have developed iOS with Cocoa Touch), but I'm willing to read around and figure it out.
Hi Martin - great to hear! I'll be happy to mentor you to the best of my ability.

The current code lives in

What I'd like to see is:

 - check if are the correct API calls to get the currently selected user locale
 - check if there's a way to hook us into any event system from MacOS to react to language/locale change in the OS and fire a "systemlocaleschange" event in Gecko.
 - go through Mac HiG for any other alignments we should do with regards to system locale, and regional preferences.

Assignee: nobody → jaas
Depends on: 1418724
Assignee: jaas → nobody

Hi, Can I please be assigned this bug, would love to solve this.

Hi Suhail!
Thank you for your interest!

Please, start working on it at will and we will assign the bug once you submit the initial patch.

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