[Touch-packages] [Bug 1443178] Re: Accounts Service always relies on language fallback if never set by the user

2015-10-21 Thread Pat McGowan
** Changed in: canonical-devices-system-image Status: New => Fix Released -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to accountsservice in Ubuntu. https://bugs.launchpad.net/bugs/1443178 Title: Accounts Service

[Touch-packages] [Bug 1443178] Re: Accounts Service always relies on language fallback if never set by the user

2015-05-21 Thread Launchpad Bug Tracker
This bug was fixed in the package accountsservice - 0.6.37-1ubuntu10.1 --- accountsservice (0.6.37-1ubuntu10.1) vivid-proposed; urgency=medium * debian/patches/0010-set-language.patch: Use static variables inside user_get_fallback_value() to prevent execution of expensive

[Touch-packages] [Bug 1443178] Re: Accounts Service always relies on language fallback if never set by the user

2015-05-21 Thread Launchpad Bug Tracker
This bug was fixed in the package accountsservice - 0.6.35-0ubuntu7.2 --- accountsservice (0.6.35-0ubuntu7.2) trusty-proposed; urgency=medium * debian/patches/0010-set-language.patch: Use static variables inside user_get_fallback_value() to prevent execution of expensive

[Touch-packages] [Bug 1443178] Re: Accounts Service always relies on language fallback if never set by the user

2015-05-14 Thread Gunnar Hjalmarsson
I have successfully installed and run both accountsservice 0.6.35-0ubuntu7.2 from trusty-proposed and accountsservice 0.6.37-1ubuntu10.1 from vivid-proposed. Querying accountsservice for language and regional formats seems to work as expected, and even if I haven't measured it, the desired

[Touch-packages] [Bug 1443178] Re: Accounts Service always relies on language fallback if never set by the user

2015-05-13 Thread Chris J Arges
Hello Ricardo, or anyone else affected, Accepted accountsservice into vivid-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/accountsservice/0.6.37-1ubuntu10.1 in a few hours, and then in the -proposed repository. Please help us by testing this new

[Touch-packages] [Bug 1443178] Re: Accounts Service always relies on language fallback if never set by the user

2015-05-13 Thread Chris J Arges
Hello Ricardo, or anyone else affected, Accepted accountsservice into trusty-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/accountsservice/0.6.35-0ubuntu7.2 in a few hours, and then in the -proposed repository. Please help us by testing this new

[Touch-packages] [Bug 1443178] Re: Accounts Service always relies on language fallback if never set by the user

2015-05-12 Thread Launchpad Bug Tracker
This bug was fixed in the package accountsservice - 0.6.37-1ubuntu11 --- accountsservice (0.6.37-1ubuntu11) wily; urgency=medium * debian/patches/0010-set-language.patch: Use static variables inside user_get_fallback_value() to prevent execution of expensive code at each

[Touch-packages] [Bug 1443178] Re: Accounts Service always relies on language fallback if never set by the user

2015-05-12 Thread Gunnar Hjalmarsson
I consulted with Sebastien Bacher and Lars Uebernickel at #ubuntu- desktop, and we concluded that it's better to cache the values in memory compared to silently saving them as user settings. Accordingly I have uploaded a patch which adds two static variables inside user_get_fallback_value() to

[Touch-packages] [Bug 1443178] Re: Accounts Service always relies on language fallback if never set by the user

2015-05-12 Thread Gunnar Hjalmarsson
** Description changed: + trusty and vivid SRU requests + = + + [Impact] + + Until a user has set the language or regional formats explicitly, + accountsservice makes the system default values available. The code for + 'calculating' the system defaults is expensive,

[Touch-packages] [Bug 1443178] Re: Accounts Service always relies on language fallback if never set by the user

2015-05-11 Thread Gunnar Hjalmarsson
The proposed solution might also help address the issue reported at bug #1350393. -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to accountsservice in Ubuntu. https://bugs.launchpad.net/bugs/1443178 Title: Accounts Service

[Touch-packages] [Bug 1443178] Re: Accounts Service always relies on language fallback if never set by the user

2015-05-07 Thread Gunnar Hjalmarsson
Thanks for your comment, Sebastien! Let me say a few words about the reason for involving the user_get_property() function in the first place. In addition to generating lists of available options, the GUIs for setting language and regional formats asks accountsservice about the current value.

[Touch-packages] [Bug 1443178] Re: Accounts Service always relies on language fallback if never set by the user

2015-05-07 Thread Sebastien Bacher
@Gunnar, I'm unsure to understand enough about the issue to comment on the solution. Having some config automatically writen for users seems suboptimal, especially when the config is identic to the system default. Can't we just bail out from doing work in those cases? -- You received this bug

[Touch-packages] [Bug 1443178] Re: Accounts Service always relies on language fallback if never set by the user

2015-05-01 Thread Gunnar Hjalmarsson
I wrote a patch which makes accountsservice set the Language and FormatsLocale properties automatically as soon as possible and updates ~/.pam_environment accordingly. I built a test version of accountsservice in my PPA at https://launchpad.net/~gunnarhj/+archive/ubuntu/accountsservice-test

[Touch-packages] [Bug 1443178] Re: Accounts Service always relies on language fallback if never set by the user

2015-04-13 Thread Michał Sawicz
Not sure what unity8 could do here? ** Changed in: unity8 (Ubuntu) Status: New = Incomplete -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to accountsservice in Ubuntu. https://bugs.launchpad.net/bugs/1443178 Title:

[Touch-packages] [Bug 1443178] Re: Accounts Service always relies on language fallback if never set by the user

2015-04-13 Thread Gunnar Hjalmarsson
** Changed in: accountsservice (Ubuntu) Importance: Undecided = Medium ** Changed in: accountsservice (Ubuntu) Status: New = Triaged ** Changed in: accountsservice (Ubuntu) Assignee: (unassigned) = Gunnar Hjalmarsson (gunnarhj) ** Changed in: accountsservice (Ubuntu)

[Touch-packages] [Bug 1443178] Re: Accounts Service always relies on language fallback if never set by the user

2015-04-13 Thread Michał Sawicz
OK so the unity8/wizard part seems to be that the language isn't being stored in AS if it's not changed from default. This could very well be libubuntu-system-settings then. ** Changed in: unity8 (Ubuntu) Status: Incomplete = New ** Also affects: ubuntu-system-settings (Ubuntu)

[Touch-packages] [Bug 1443178] Re: Accounts Service always relies on language fallback if never set by the user

2015-04-13 Thread Gunnar Hjalmarsson
Hi Michal, Please note that the problem isn't Unity 8 specific. I added that user_get_fallback_value() function a few years ago (admittedly it's a little 'heavy'), and the purpose was to get the start value right in various GUIs for setting language/locale, both in Ubuntu and the flavours. Even