Closed
Bug 1121316
Opened 10 years ago
Closed 10 years ago
[System2][Screen cleanup] Move ActionMenu into SystemDialog or AppWindow
Categories
(Firefox OS Graveyard :: Gaia::System, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
2.2 S12 (15may)
People
(Reporter: alive, Assigned: apastor)
References
Details
(Whiteboard: [systemsfe])
Attachments
(1 file)
ActionMenu is an orphan module now - it is having its own resize / home policy. The problem is we want to deprecate any #screen.locked rule consumer and it is one of them. The better way to maintain the sizing is having a manager to control the size in javascript instead of touching screen element.
Assignee | ||
Updated•10 years ago
|
Assignee: nobody → apastor
Comment 1•10 years ago
|
||
Assignee | ||
Comment 2•10 years ago
|
||
Comment on attachment 8598092 [details] [review]
[gaia] albertopq:1121316-action-menu-refactor > mozilla-b2g:master
Still tests to be added, but Alive, could you please take a first look to see if I understood what you meant correctly? Thanks!
Attachment #8598092 -
Flags: feedback?(alive)
Updated•10 years ago
|
Whiteboard: [systemsfe]
Reporter | ||
Comment 3•10 years ago
|
||
Comment on attachment 8598092 [details] [review]
[gaia] albertopq:1121316-action-menu-refactor > mozilla-b2g:master
WOW, thanks for doing this! I left some comments but basically it's nice.
About the naming: I think if we have ActionMenu(which is not a dialog), we should rename SystemDialogManager to SystemUserInterfaceManager or whatever afterwards since it's not only managing dialogs but also menus.
Alos, we could remove the ActionMenu hijack in HierarchyManager if it's now managed by SystemDialogManager which is already under HierarchyManager.
One thing I am worry about is what SystemDialog and ActionMenu conflict - for example, is there a case that SIMPINDialog and ActivityMenu will show at the same time..? But we could refine this later, I guess.
Attachment #8598092 -
Flags: feedback?(alive) → feedback+
Assignee | ||
Comment 4•10 years ago
|
||
Comment on attachment 8598092 [details] [review]
[gaia] albertopq:1121316-action-menu-refactor > mozilla-b2g:master
Fixed the tests and the naming comments you left.
I tried the case you were mentioning (SIM dialog when an activity action menu is visible) and the SIM is shown in top of it, so it should work fine.
Thanks!
Attachment #8598092 -
Flags: review?(alive)
Reporter | ||
Comment 5•10 years ago
|
||
Comment on attachment 8598092 [details] [review]
[gaia] albertopq:1121316-action-menu-refactor > mozilla-b2g:master
Well done, thanks for the work!
Attachment #8598092 -
Flags: review?(alive) → review+
Assignee | ||
Updated•10 years ago
|
Keywords: checkin-needed
Updated•10 years ago
|
Keywords: checkin-needed
Comment 6•10 years ago
|
||
Pull request has landed in master: https://github.com/mozilla-b2g/gaia/commit/703b21afffb5d6c8f877d9aeb0d93525e8fd1642
Updated•10 years ago
|
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Updated•10 years ago
|
Target Milestone: --- → 2.2 S12 (15may)
You need to log in
before you can comment on or make changes to this bug.
Description
•