Open Bug 1337065 Opened 8 years ago Updated 2 years ago

Use more of the Cocoa API in OSPreferences

Categories

(Core :: Widget: Cocoa, enhancement, P4)

Unspecified
macOS
enhancement

Tracking

()

People

(Reporter: zbraniecki, Unassigned, Mentored)

References

Details

(Keywords: good-first-bug, 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 http://searchfox.org/mozilla-central/source/intl/locale/mac/OSPreferences_mac.cpp What I'd like to see is: - check if http://searchfox.org/mozilla-central/rev/b425854d9bbd49d5caf9baef3686e49ec91c17ec/intl/locale/mac/OSPreferences_mac.cpp#19 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. Thanks!
Assignee: nobody → jaas
Depends on: 1418724
Assignee: jaas → nobody

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

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.

Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.