Closed
Bug 1120877
Opened 11 years ago
Closed 11 years ago
Homescreen menu has no transition
Categories
(Firefox OS Graveyard :: Gaia::Homescreen, defect)
Tracking
(b2g-v2.2 verified, b2g-master verified)
VERIFIED
FIXED
2.2 S6 (20feb)
People
(Reporter: cwiiis, Assigned: cwiiis)
Details
(Keywords: polish, Whiteboard: [systemsfe])
Attachments
(2 files, 1 obsolete file)
46 bytes,
text/x-github-pull-request
|
cwiiis
:
review+
bajaj
:
approval-gaia-v2.2+
|
Details | Review |
4.33 MB,
video/3gpp
|
Details |
Long-pressing in a blank area on the home-screen brings up a menu, where you can access settings/change the background/add a smart collection.
This menu just appears instantly, rather than with a transition, like the majority of other dialogs in FxOS.
I'm going to assume the transition should be the same as the very similar menu in the system browser.
This is an easily fixed bit of polish that can be encountered very easily by the user, so suggesting blocking status.
Comment 1•11 years ago
|
||
We are already shipping with this defect. Lets treat it as a polish bug but we wouldn't hold the release for it.
blocking-b2g: 2.2? → ---
Comment 2•11 years ago
|
||
Assignee | ||
Comment 3•11 years ago
|
||
Comment on attachment 8563131 [details] [review]
[gaia] Cwiiis:bug1120877-gaia-menu-transition > mozilla-b2g:master
Just CSS, and one small JS change - the JS change is because we immediately call show after lazy-loading the element, so the transition doesn't happen if we don't delay it somehow. I tried to add some hacky style flushing in the element itself, but couldn't get anything to work :(
Collection is the only other user of GaiaMenu it seems, and it doesn't lazy-load its context menu, so requires no change.
The transition uses the same style as the shared option_menu script/style.
Attachment #8563131 -
Flags: review?(kgrandon)
Comment 4•11 years ago
|
||
Comment on attachment 8563131 [details] [review]
[gaia] Cwiiis:bug1120877-gaia-menu-transition > mozilla-b2g:master
A nice bit of polish. Thank you!
Attachment #8563131 -
Flags: review?(kgrandon) → review+
Updated•11 years ago
|
Keywords: checkin-needed
Updated•11 years ago
|
Keywords: checkin-needed
Comment 5•11 years ago
|
||
Pull request has landed in master: https://github.com/mozilla-b2g/gaia/commit/b7045dc6e013f691816b64be855fcabbf3363ff3
Updated•11 years ago
|
Status: ASSIGNED → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Assignee | ||
Comment 7•11 years ago
|
||
Comment on attachment 8563131 [details] [review]
[gaia] Cwiiis:bug1120877-gaia-menu-transition > mozilla-b2g:master
[Approval Request Comment]
[Bug caused by] (feature/regressing bug #):
[User impact] if declined: Context menu appears and disappears with no transition on homescreen and in collections
[Testing completed]: Basically just a CSS change, tested manually in both situations GaiaMenu is used
[Risk to taking this patch] (and alternatives if risky): Low/no risk, verified both uses of GaiaMenu are still functioning correctly (except now with transitions)
[String changes made]: None
Attachment #8563131 -
Flags: approval-gaia-v2.2?
Assignee | ||
Comment 8•11 years ago
|
||
(In reply to Kevin Grandon :kgrandon from comment #6)
> Chris - do we want to uplift this to 2.2?
(yes :))
Flags: needinfo?(chrislord.net)
Comment 9•11 years ago
|
||
Comment on attachment 8563131 [details] [review]
[gaia] Cwiiis:bug1120877-gaia-menu-transition > mozilla-b2g:master
Clearing for now.
Attachment #8563131 -
Flags: approval-gaia-v2.2?
Comment 10•11 years ago
|
||
Turns out this broke unit tests, and I didn't check gaia-try before landing, because it seems it didn't run on this pull request. This is my fault, sorry about that. In the future autolander will catch this. Backed out: https://github.com/mozilla-b2g/gaia/commit/a30df6905faf0f4c103d6779deda83ee425f3d07
http://ftp.mozilla.org/pub/mozilla.org/b2g/tinderbox-builds/b2g-inbound-linux64_gecko/1423736860/b2g-inbound_ubuntu64_vm-b2gdt_test-gaia-unit-bm54-tests1-linux64-build1087.txt.gz
Chris - Could you address/re-land this?
Status: RESOLVED → REOPENED
Flags: needinfo?(chrislord.net)
Resolution: FIXED → ---
Comment 11•11 years ago
|
||
Sinon fake timers can probably easily fix this if added to: contextmenu_handler_test.js
I think you just need to add: this.sinon.clock.tick();
Comment 12•11 years ago
|
||
Assignee | ||
Comment 13•11 years ago
|
||
Comment on attachment 8563351 [details] [review]
[gaia] Cwiiis:bug1120877-gaia-menu-transition > mozilla-b2g:master
Carrying review, waiting for tests to complete.
Flags: needinfo?(chrislord.net)
Attachment #8563351 -
Flags: review+
Assignee | ||
Updated•11 years ago
|
Attachment #8563131 -
Attachment is obsolete: true
Assignee | ||
Updated•11 years ago
|
Keywords: checkin-needed
Updated•11 years ago
|
Keywords: checkin-needed
Comment 14•11 years ago
|
||
Pull request has landed in master: https://github.com/mozilla-b2g/gaia/commit/bcaa78a55cb8b85caed553405fa830aa8796f5d6
Updated•11 years ago
|
Status: REOPENED → RESOLVED
Closed: 11 years ago → 11 years ago
Resolution: --- → FIXED
Assignee | ||
Comment 15•11 years ago
|
||
Comment on attachment 8563351 [details] [review]
[gaia] Cwiiis:bug1120877-gaia-menu-transition > mozilla-b2g:master
[Approval Request Comment]
[Bug caused by] (feature/regressing bug #):
[User impact] if declined: Context menu appears and disappears with no transition on homescreen and in collections
[Testing completed]: Basically just a CSS change, tested manually in both situations GaiaMenu is used
[Risk to taking this patch] (and alternatives if risky): Low/no risk, verified both uses of GaiaMenu are still functioning correctly (except now with transitions)
[String changes made]: None
Attachment #8563351 -
Flags: approval-gaia-v2.2?
Updated•11 years ago
|
Attachment #8563351 -
Flags: approval-gaia-v2.2? → approval-gaia-v2.2+
Comment 16•11 years ago
|
||
Comment 17•10 years ago
|
||
This bug has been verified as "pass" on latest Nightly build of Flame v2.2&master by the STR in Comment 0.
Actual results: This context menu appears with a transition on homescreen and in collections.
See attachment: verified_2.2&master.3gp
Reproduce rate: 0/15
Device: Flame v2.2 (Verified)
Build ID 20150705162505
Gaia Revision ea11f422b687a982f0a961c9aea7858066561707
Gaia Date 2015-07-02 23:37:50
Gecko Revision https://hg.mozilla.org/releases/mozilla-b2g37_v2_2/rev/c0214b4c1ea0
Gecko Version 37.0
Device Name flame
Firmware(Release) 4.4.2
Firmware(Incremental) eng.cltbld.20150705.200108
Firmware Date Sun Jul 5 20:01:20 EDT 2015
Bootloader L1TC000118D0
Device: Flame master (Verified)
Build ID 20150705160206
Gaia Revision dc6c18c0dea7af3c40bfff86c530fd877d899dc4
Gaia Date 2015-07-04 01:35:20
Gecko Revision https://hg.mozilla.org/mozilla-central/rev/136c41fca853
Gecko Version 42.0a1
Device Name flame
Firmware(Release) 4.4.2
Firmware(Incremental) eng.cltbld.20150705.193055
Firmware Date Sun Jul 5 19:31:07 EDT 2015
Bootloader L1TC000118D0
Comment 18•10 years ago
|
||
Updated•10 years ago
|
QA Whiteboard: [MGSEI-Triage+]
You need to log in
before you can comment on or make changes to this bug.
Description
•