Closed
Bug 893560
Opened 12 years ago
Closed 12 years ago
[System] Display a keyboard switching shortcut on utility tray when a keyboard is in use
Categories
(Firefox OS Graveyard :: Gaia::System, defect, P1)
Tracking
(blocking-b2g:koi+)
RESOLVED
FIXED
blocking-b2g | koi+ |
People
(Reporter: jj.evelyn, Assigned: gweng)
References
Details
(Whiteboard: [ucid:SystemPlatform5], [FT:System-Platform], [Sprint: 2], burirun1)
Attachments
(1 file)
To ensure the user has a way to switch to another keyboard app or layout, we need this shortcut on utility tray when a keyboard app is in use.
Reporter | ||
Comment 2•12 years ago
|
||
I put UX draft on the user story meata bug 891678. Will update there for the UX spec.
Flags: needinfo?(ehung)
Updated•12 years ago
|
Assignee: nobody → gchen
Assignee | ||
Updated•12 years ago
|
Assignee: gchen → gweng
Comment 3•12 years ago
|
||
Add keywords in whiteboard for tracking
Flag to koi+ for FFOS 1.2 must have
blocking-b2g: --- → koi+
Priority: -- → P1
Whiteboard: [ucid:SystemPlatform5], [FT: System Platform], [Sprint: 2]
Assignee | ||
Comment 4•12 years ago
|
||
I almost finished this bug, except the keyboard icon described in the specification (Attachment 776309 [details])(the middle frame at page 8). Although it seems the same with Settings -> Personalization -> Keyboard 's, but I can't reference to it because the Settings is another app, which holds its resources exclusively.
I can copy it to the System app's resource directory. However, the icon is a part of the CSS sprite, and the other parts of the sprite will occupy unnecessary spaces. So it's not a good solution unless the System app actually need the sprite, too.
Another way to solve this is to create a standalone keyboard icon, but this need be implemented by UX.
Flags: needinfo?(nhsieh)
Updated•12 years ago
|
Whiteboard: [ucid:SystemPlatform5], [FT: System Platform], [Sprint: 2] → [ucid:SystemPlatform5], [FT:System-Platform], [Sprint: 2]
Assignee | ||
Comment 5•12 years ago
|
||
Modifications:
1. Add a fake notification in the utility tray.
2. Bind events on it.
3. Do preventDefault to prevent focus changing while user is in the tray and the list.
Attachment #798782 -
Flags: review?(alive)
Comment 6•12 years ago
|
||
Comment on attachment 798782 [details]
Patch
1. Fire events from keyboard manager to utility tray if possible.
2. Fire events from keyboard manager to list menu if possible.
3. Do removeEventListener when you don't need it anymore.
4. Some other coding style change.
So the whole story is keep every module as independent as possible, please don't touch other modules or elements directly.
BTW, doesn't click on list menu items fires blur to user app?
Attachment #798782 -
Flags: review?(alive)
Assignee | ||
Comment 7•12 years ago
|
||
(In reply to Alive Kuo [:alive] from comment #6)
> Comment on attachment 798782 [details]
> Patch
>
> 1. Fire events from keyboard manager to utility tray if possible.
> 2. Fire events from keyboard manager to list menu if possible.
> 3. Do removeEventListener when you don't need it anymore.
> 4. Some other coding style change.
>
> So the whole story is keep every module as independent as possible, please
> don't touch other modules or elements directly.
>
> BTW, doesn't click on list menu items fires blur to user app?
Thanks for reviewing. I've re-committed my patch on GitHub and followed your instructions.
Assignee | ||
Updated•12 years ago
|
Attachment #798782 -
Flags: feedback?(alive)
Comment 8•12 years ago
|
||
Comment on attachment 798782 [details]
Patch
Nearly done. Please fix what I addressed in github. Come to me if you have problems.
Attachment #798782 -
Flags: feedback?(alive) → feedback+
Assignee | ||
Comment 9•12 years ago
|
||
Comment on attachment 798782 [details]
Patch
I've finished it according to the lastest comments on GitHub. If it's qualified, please merge for me (permission issue). Thanks.
Attachment #798782 -
Flags: feedback+ → feedback?(alive)
Comment 10•12 years ago
|
||
Comment on attachment 798782 [details]
Patch
See github comment. Sorry for late feedback.
Attachment #798782 -
Flags: feedback?(alive)
Assignee | ||
Comment 11•12 years ago
|
||
Comment on attachment 798782 [details]
Patch
Thanks. I've fixed the code, and leave a question about the z-index on GitHub.
Attachment #798782 -
Flags: feedback?(alive)
Comment 12•12 years ago
|
||
Comment on attachment 798782 [details]
Patch
r+ if the last comments are addressed.
Though this bug takes a long time to go but we finally have a more 'decoupled' and modularized modification than your first patch.
Thanks for the patience!
Attachment #798782 -
Flags: feedback?(alive) → feedback+
Updated•12 years ago
|
Attachment #798782 -
Flags: review+
Comment 13•12 years ago
|
||
merged in gaia master
https://github.com/mozilla-b2g/gaia/commit/fab7c6b8d9d23e9734ee67498abdd1435b127641
https://github.com/mozilla-b2g/gaia/commit/7691c10ae86e7cc71d3501752e84bd11f5851383
thanks Greg and Alive
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Updated•12 years ago
|
Whiteboard: [ucid:SystemPlatform5], [FT:System-Platform], [Sprint: 2] → [ucid:SystemPlatform5], [FT:System-Platform], [Sprint: 2], burirun1
Updated•12 years ago
|
Flags: needinfo?(nhsieh)
You need to log in
before you can comment on or make changes to this bug.
Description
•