Closed
Bug 910713
Opened 11 years ago
Closed 11 years ago
[Keyboard][V1.2] The "Global" key isn't hidden if FxOS only had one keyboard layout
Categories
(Firefox OS Graveyard :: Gaia::Keyboard, defect)
Tracking
(blocking-b2g:koi+, b2g-v1.2 fixed)
People
(Reporter: whsu, Assigned: janjongboom)
References
Details
(Whiteboard: [FT:System-Platform], [Sprint:3], burirun1)
Attachments
(3 files)
* Description:
This problem happens on v1.2 branch.
If FxOS only enables one keyboard layout, the "Global" key is still displayed.
* Reproduction steps:
1. Go to settings app to disable all keyboard layouts.
1. Launch the contact app
2. Tap the "Name" field
4. Look for "Global" key
* Expected result:
The "Global" key is hidden
* Actual result:
The Global key shows on text keyboard.
* Reproduction build:(Mozilla-Central)
+ Mercurial-Information
- Gecko revision="416075f77249"
+ Git-information
- Gaia revision="94c3dde50cb8da6e9d9ed137bfbf895f8699f8e7"(From Rudy's repository)
+ Gecko version: 26.0a1
Thanks!
Reporter | ||
Comment 1•11 years ago
|
||
Reporter | ||
Updated•11 years ago
|
blocking-b2g: --- → koi?
Comment 2•11 years ago
|
||
By design, a keyboard layout will show the global switch button only if mozInputMethod.mgmt.supportsSwitching() returns true.
But mozInputMethod.mgmt.supportsSwitching() didn't fully implemented, it will always return true.
This is the cause of this bug.
To resolve the bug, the InputMethod API of gecko needs a way to get the number of enabled keyboard layouts from gaia.
One possible way to solve it is to send a mozContent event to notify gecko when the keyboard layout number has changed.
Reporter | ||
Updated•11 years ago
|
Whiteboard: [FT:System-Platform], [Sprint:3]
Assignee | ||
Updated•11 years ago
|
Assignee: nobody → janjongboom
Assignee | ||
Comment 3•11 years ago
|
||
Attachment #804358 -
Flags: review?(rlu)
Comment 4•11 years ago
|
||
Comment on attachment 804358 [details] [review]
Patch
r=me.
Jan,
Thank you for your contribution.
Attachment #804358 -
Flags: review?(rlu) → review+
Assignee | ||
Comment 5•11 years ago
|
||
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Reporter | ||
Comment 6•11 years ago
|
||
Hi, all,
Thanks for all your help.
I verified it. Now, the global key is hidden when user only enables the one keyboard layout.
Attaching the screenshot.
* Test Build:
- Gaia: c6b4cc05b2de6884a652c1c5ab8401216ffa46c1
- Gecko: 78b3dbc50a8cddea792b6c2870c0bfbe3726335c
- BuildID 20130917060716
- Version 26.0a1
Status: RESOLVED → VERIFIED
Reporter | ||
Comment 7•11 years ago
|
||
Updated•11 years ago
|
Whiteboard: [FT:System-Platform], [Sprint:3] → [FT:System-Platform], [Sprint:3], burirun1
Updated•11 years ago
|
blocking-b2g: koi? → koi+
Comment 8•11 years ago
|
||
Uplifted 3e3365b836d85670f6de24b7beb43eceb93187f7 to:
v1.2 already had this commit
status-b2g-v1.2:
--- → fixed
Updated•11 years ago
|
Attachment mime type: text/plain → text/x-github-pull-request
You need to log in
before you can comment on or make changes to this bug.
Description
•