Closed Bug 1016435 Opened 10 years ago Closed 10 years ago

add dvorak keyboard

Categories

(Firefox OS Graveyard :: Gaia::Keyboard, defect)

defect
Not set
normal

Tracking

(Not tracked)

VERIFIED FIXED

People

(Reporter: bhearsum, Unassigned)

Details

(Whiteboard: )

Attachments

(1 file)

There was a dvorak keyboard at one point, I remember using it on my Unagi. On my Flame (with 2.0), there isn't one. Can this be re-enabled? I'm happy to help write/test whatever patches are necessary if someone points me in the general direction.
AFAIK the dvorak keyboard is available at Gaia source tree: https://github.com/mozilla-b2g/gaia/blob/master/apps/keyboard/js/layouts/en-Dvorak.js.

Since this is related to Flame, could you build your own version of it and flash to the device? You just need to add ',en-Dvorak' at the end of line

~~~
GAIA_KEYBOARD_LAYOUTS?=en,pt-BR,es,de,fr,pl,zh-Hans-Pinyin
~~~

from `Makefile`.
Flags: needinfo?(bhearsum)
I could Flash my own, but I wouldn't be very useful as a dogfooder at that point. I guess this bug comes down to "are we willing to ship Dvorak to everyone?
Flags: needinfo?(bhearsum)
Attached file re-add dvorak keyboard
David, it looks like you removed this as part of bug 884752. Obviously this keyboard isn't a blocker, but it's nice to have since it can't be added on after the fact. AFAIK this won't increase the size.
Attachment #8429410 - Flags: review?(dflanagan)
Make a request to the people that build the flame image, they are in control which keyboards are in the image. F.e. GeeksPhone builds all keyboards.

Quickfix:

GAIA_KEYBOARD_LAYOUTS?=en,pt-BR,es,de,fr,pl,zh-Hans-Pinyin APP=keyboard make install-gaia && adb shell stop b2g && adb shell start b2g
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → WONTFIX
(In reply to Jan Jongboom [:janjongboom] (Telenor) from comment #4)
> Make a request to the people that build the flame image, they are in control
> which keyboards are in the image. F.e. GeeksPhone builds all keyboards.

That's what I was attempting to do here. Do you know who the right person/people to talk to are?
Flags: needinfo?(janjongboom)
No, this would change it for all of Gaia which should not be the case. I don't know who makes the Flame builds, you get it from PVT?
Flags: needinfo?(janjongboom) → needinfo?(bhearsum)
(In reply to Jan Jongboom [:janjongboom] (Telenor) from comment #6)
> No, this would change it for all of Gaia which should not be the case.

Yep, makes sense. Clearly this patch isn't wanted, given that. Re-opening as a Flame-specific request, though.

David, do you know who I should be talking to about this?
Flags: needinfo?(bhearsum) → needinfo?(dflanagan)
Summary: add dvorak keyboard → add dvorak keyboard to flame builds
Attachment #8429410 - Attachment is obsolete: true
Attachment #8429410 - Flags: review?(dflanagan)
Status: RESOLVED → REOPENED
Resolution: WONTFIX → ---
Tim or Rudy, someone on IRC suggested that you may be able to make a call here. It's pretty easy for me to make this Flame specific from the RelEng side if it's OK.
Flags: needinfo?(timdream)
Flags: needinfo?(rlu)
Whiteboard:
Sorry it has taken me a while to weigh in on this. The list of default keyboards was cut way back in bug 884752 because we were running out of space on certain devices in the 1.2 or 1.3 timeframe, and OTA updates were failing because they were too big.

Removing keyboards (and their autocorrect dictionaries) was an easy way to free up room.  The Dvorak keyboard doesn't have an autocorrect dictionary, so adding it won't add any significant filesize to the release.  

At the time, I picked the default set of keyboards pretty much at random. There was nothing magic about it, and adding Dvorak back in would be fine with me. It would actually be a good test of the case where there is a single autocorrect dictionary serving two different layouts.

I will defer to Tim and Rudy on this, but I don't see why this change would need to be Flame-specific.
Flags: needinfo?(dflanagan)
Yes, I agree that we could add Dvorak back into the default keyboard layout list.
Let me know if I need to submit a patch for this or you could help to do that.

Thanks.
Flags: needinfo?(timdream)
Flags: needinfo?(rlu)
(In reply to Rudy Lu [:rudyl] from comment #10)
> Yes, I agree that we could add Dvorak back into the default keyboard layout
> list.
> Let me know if I need to submit a patch for this or you could help to do
> that.
> 
> Thanks.

Thanks Rudy. I actually put together a PR for this already. I'll re-open and point it your way.
Attachment #8429410 - Attachment is obsolete: false
Attachment #8429410 - Flags: review?(rlu)
Comment on attachment 8429410 [details] [review]
re-add dvorak keyboard

r=me.

Thank you.
Attachment #8429410 - Flags: review?(rlu) → review+
(In reply to Rudy Lu [:rudyl] from comment #12)
> Comment on attachment 8429410 [details] [review]
> re-add dvorak keyboard
> 
> r=me.
> 
> Thank you.

Thanks Rudy! I merged the PR.
Status: REOPENED → RESOLVED
Closed: 10 years ago10 years ago
Resolution: --- → FIXED
Summary: add dvorak keyboard to flame builds → add dvorak keyboard
Latest update has the Dvorak keyboard again. Cheers!
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: