Closed Bug 1120877 Opened 11 years ago Closed 11 years ago

Homescreen menu has no transition

Categories

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

All
Gonk (Firefox OS)
defect
Not set
normal

Tracking

(b2g-v2.2 verified, b2g-master verified)

VERIFIED FIXED
2.2 S6 (20feb)
Tracking Status
b2g-v2.2 --- verified
b2g-master --- verified

People

(Reporter: cwiiis, Assigned: cwiiis)

Details

(Keywords: polish, Whiteboard: [systemsfe])

Attachments

(2 files, 1 obsolete file)

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.
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 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 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+
Keywords: checkin-needed
Status: ASSIGNED → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Chris - do we want to uplift this to 2.2?
Flags: needinfo?(chrislord.net)
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?
(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 on attachment 8563131 [details] [review] [gaia] Cwiiis:bug1120877-gaia-menu-transition > mozilla-b2g:master Clearing for now.
Attachment #8563131 - Flags: approval-gaia-v2.2?
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 → ---
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 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+
Attachment #8563131 - Attachment is obsolete: true
Keywords: checkin-needed
Keywords: checkin-needed
Status: REOPENED → RESOLVED
Closed: 11 years ago11 years ago
Resolution: --- → FIXED
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?
Attachment #8563351 - Flags: approval-gaia-v2.2? → approval-gaia-v2.2+
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
Status: RESOLVED → VERIFIED
QA Whiteboard: [MGSEI-Triage+]
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: