InputSources should have an explicit default

Bug #1543617 reported by Jonas G. Drange
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Canonical System Image
Confirmed
Undecided
Bill Filler
accountsservice (Ubuntu)
New
Undecided
Jonas G. Drange
unity8 (Ubuntu)
New
Undecided
Unassigned

Bug Description

The AccountsService package rolls the org.freedesktop.Accounts.User.xml schema, which comes with a default, empty InputSources. Mir defaults to “en”.

Maybe we should set this value to “en” so that there's a canonical way of figuring out what InputSource to use. Additionally, if a vendor wants “no” to be the default, it could make sense to just override this schema default value.

Revision history for this message
William Hua (attente) wrote :

This is to avoid hard-coding it in Mir? What about falling back to whatever is in /etc/default/keyboard if the user's input sources list is empty?

Revision history for this message
William Hua (attente) wrote :

FWIW, I believe /etc/default/keyboard is populated by Ubiquity at some point during installation, so it's probably more reliable and user-specific than hard-coding 'us' in the XML file as well.

Revision history for this message
Jonas G. Drange (jonas-drange) wrote : Re: [Bug 1543617] Re: InputSources should have an explicit default

On 9 February 2016 at 23:20, William Hua <email address hidden> wrote:

> FWIW, I believe /etc/default/keyboard is populated by Ubiquity at some
> point during installation

Is that happening on the phone as well?​

Changed in canonical-devices-system-image:
assignee: nobody → Bill Filler (bfiller)
status: New → Incomplete
Revision history for this message
Jonas G. Drange (jonas-drange) wrote :

This happens on the phone as well, so let's use this as a default.

Changed in canonical-devices-system-image:
status: Incomplete → New
Changed in accountsservice (Ubuntu):
assignee: nobody → Jonas G. Drange (jonas-drange)
Revision history for this message
Lukáš Tinkl (lukas-kde) wrote :

Mir defaults to "us"

Revision history for this message
Jonas G. Drange (jonas-drange) wrote :

On 22 February 2016 at 16:25, Lukáš Tinkl <email address hidden> wrote:

> Mir defaults to "us"
>

How do you propose phones can be shipped with a non-us default keymap in
that case?​

Changed in canonical-devices-system-image:
status: New → Confirmed
milestone: none → backlog
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.