Closed Bug 1224132 Opened 10 years ago Closed 10 years ago

[Music]Invoke music in other apps for the first time, the songs list cannot be shown.

Categories

(Firefox OS Graveyard :: Gaia::Music, defect, P2)

ARM
Gonk (Firefox OS)
defect

Tracking

(blocking-b2g:2.5+, b2g-v2.5 verified, b2g-master verified)

VERIFIED FIXED
blocking-b2g 2.5+
Tracking Status
b2g-v2.5 --- verified
b2g-master --- verified

People

(Reporter: wangxin, Assigned: wilsonpage)

References

Details

(Keywords: regression)

Attachments

(4 files)

[1.Description]: [Aries KKv2.5&v2.6][Flame v2.5&v2.6][Music]If there are some musics in device and user has never used Music app, the songs can not be loaded to other apps(e.g "Settings" and"Message") See video:"Aries_v2.6.3GP" See log:"logcat_1525.txt" Found Time:15:25 [2.Testing Steps]: Precondition: There are some songs on device, and has user never invoked "Music" app. 1. Launch "Settings"->"Sound"->"Manage Tones". 2. Tap the "+" icon. 3. Observe the songs list page. [3.Expected Result]: 3. There should be some songs display in songs list view. [4.Actual Result]: 3. There is no song displays in songs list view. [5.Reproduction build]: Device: Flame KK 2.5 512mb (Affected) Build ID 20151109004552 Gaia Revision cf646c52bb947af28329b0a100df91d1b1f2a907 Gaia Date 2015-11-09 02:55:50 Gecko Revision https://hg.mozilla.org/releases/mozilla- b2g44_v2_5/rev/4eafef5b80f8985c94c4a067f130d37513e1a581 Gecko Version 44.0a2 Device Name flame Firmware(Release) 4.4.2 Firmware(Incremental) eng.cltbld.20151109.041411 Firmware Date Mon Nov 9 04:14:26 EST 2015 Firmware Version v18D v4 Bootloader L1TC000118D0 Device: Flame KK v2.6 512mb (master)(Affected) Build ID 20151111150236 Gaia Revision 22f8023b112dfae83531b0a075ab9eb9a5444dfa Gaia Date 2015-11-10 23:35:38 Gecko Revision https://hg.mozilla.org/mozilla-central/rev/84a7cf29f4f14c9b359db2f7f19c0abd6a8e178e Gecko Version 45.0a1 Device Name flame Firmware(Release) 4.4.2 Firmware(Incremental) eng.cltbld.20151111.182640 Firmware Date Wed Nov 11 18:26:52 EST 2015 Firmware Version v18D v4 Bootloader L1TC000118D0 Device: Aries KK 2.5 (Affected) Build ID 20151110094357 Gaia Revision 07baf613699fa6225359c7f04825c5caeb71d424 Gaia Date 2015-11-09 21:32:50 Gecko Revision http://hg.mozilla.org/releases/mozilla- b2g44_v2_5/rev/e14287b00a514a15418dfaa89287030c588ad19d Gecko Version 44.0a2 Device Name aries Firmware(Release) 4.4.2 Firmware(Incremental) eng.worker.20151110.090331 Firmware Date Tue Nov 10 09:03:39 UTC 2015 Bootloader s1 Device: Aries KK 2.6 (master)(Affected) Build ID 20151112014800 Gaia Revision 98f63d4cc530906fa51d839a10469006c257b998 Gaia Date 2015-11-12 02:03:26 Gecko Revision https://hg.mozilla.org/integration/mozilla- inbound/rev/a8ed7dd831d1969a5a1a8636e63bd93d6aeaf94a Gecko Version 45.0a1 Device Name aries Firmware(Release) 4.4.2 Firmware(Incremental) eng.worker.20151112.011957 Firmware Date Thu Nov 12 01:20:05 UTC 2015 Bootloader s1 [6.Reproduction Frequency]: Always Recurrence,5/5 [7.TCID]: Free Test [8.Note]; After 10 minutes, the songs still can not be loaded.
I'm almost completely certain this used to work. A regression range would help narrow down the problem.
QA Contact: hejingmei
NO REPRO on this build: Note: after pressing the + Icon the music list propagated as expected. Environmental Variables: Device: Flame 2.2 BuildID: 20151112032505 Gaia: 885647d92208fb67574ced44004ab2f29d23cb45 Gecko: e772f343b736 Gonk: bd9cb3af2a0354577a6903917bc826489050b40d Version: 37.0 (2.2) Firmware Version: v18D User Agent: Mozilla/5.0 (Mobile; rv:37.0) Gecko/37.0 Firefox/37.0 REPRO on the following builds: Note: after pressing the + Icon the music did not list as expected. Environmental Variables: Device: Flame 2.5 BuildID: 20151109004552 Gaia: cf646c52bb947af28329b0a100df91d1b1f2a907 Gecko: 4eafef5b80f8985c94c4a067f130d37513e1a581 Gonk: 205ac4204bbbb2098a8046444acba551ba5dc75a Version: 44.0a2 (2.5) Firmware Version: v18D User Agent: Mozilla/5.0 (Mobile; rv:44.0) Gecko/44.0 Firefox/44.0 Environmental Variables: Device: Aries 2.6 BuildID: 20151112122058 Gaia: 27bc9412ca607648bc398b25bb1ae25653b2b278 Gecko: 3cc3b1968524248450c465c4ea2ee5596ffa65f2 Gonk: a19052e4389c3ae2d8fc3e7a74a475401baacc56 Version: 45.0a1 (2.6) Firmware Version: D5803_23.1.A.1.28_NCB.ftf User Agent: Mozilla/5.0 (Mobile; rv:45.0) Gecko/45.0 Firefox/45.0
Flags: needinfo?(jmercado)
Flags: needinfo?(jmercado)
Keywords: regression
Can we narrow this down further than just 2.2 vs 2.5? I feel like it worked in 2.5 as well.
I will continue to find the regression window next monday, before that, if anyone can help with this based on my current result, please go ahead, thanks. :) Last Working Environmental Variables: 2015-10-28-21-19-46 First Broken Environmental Variables: 2015-10-31-23-32-37
Assignee: nobody → jdarcangelo
Marking this P2. No songs are displayed in this scenario leading to poor and confused user experience (workaround for user is to restart the app to bring the song list back -- looks like a cache issue with fast list here) Etiene/Wilson, Justin is investigating. But if needs help please do the needful. Ni'ing to keep this in your radar. Thanks hema
blocking-b2g: --- → 2.5+
Flags: needinfo?(wilsonpage)
Flags: needinfo?(etienne)
Priority: -- → P2
This may be related to Bug 1224503 where search results can't be cleared out. In the "pick" activity, the app starts out in the Songs view. This means that a <gaia-fast-list> is rendering the list of songs in MediaDB while the app is scanning for new media. If the very first time you run the app is through the "pick" activity, the <gaia-fast-list> `model` will initially be set to an empty array. When this happens, the following error is thrown in the console: E/Music (11532): [JavaScript Error: "TypeError: object is undefined" {file: "app://music.gaiamobile.org/components/poplar/poplar.js" line: 287}] However, as MediaDB scans, we re-call update()/render() in the view which in turn re-sets the `model` value of the <gaia-fast-list> to actually have the scanned content. When this happens, the <gaia-fast-list> never updates (same behavior as Bug 1224503). As I mentioned in my comment on Bug 1224503 here https://bugzilla.mozilla.org/show_bug.cgi?id=1224503#c9 , this could quite possibly be a race where we are re-setting the `model` of <gaia-fast-list> before it is ready to accept the change. However, my knowledge of the internals of <gaia-fast-list> is somewhat limited, so this is just an educated guess at this point.
b2g-inbound Regression Window: Last Working Environmental Variables: Device: Flame Build ID 20151030192729 Gaia Revision 91cac94948094cfdcd00cba5c6483e27e80cb3b0 Gaia Date 2015-10-28 20:32:15 Gecko Revision https://hg.mozilla.org/integration/b2g-inbound/rev/3eaedda79e46530dc03b17bbaea52a2248aefe23 Gecko Version 45.0a1 Device Name flame Firmware(Release) 4.4.2 Firmware(Incremental) eng.cltbld.20151105.043012 Firmware Date Thu Nov 5 04:30:24 EST 2015 Firmware Version V18DV4 Bootloader L1TC000118D0 First Broken Environmental Variables: Device: Flame Build ID 20151031120755 Gaia Revision 717ee46c64fde7d69a1146f3c54e95b2ef20e706 Gaia Date 2015-10-29 11:34:07 Gecko Revision https://hg.mozilla.org/integration/b2g-inbound/rev/d9bfbd50c917e7f432a4a8cb12a21dca0b96cc0a Gecko Version 45.0a1 Device Name flame Firmware(Release) 4.4.2 Firmware(Incremental) eng.cltbld.20151105.043012 Firmware Date Thu Nov 5 04:30:24 EST 2015 Firmware Version V18DV4 Bootloader L1TC000118D0 First Broken Gaia & Last Working Gecko - issue DOES repro Gaia Revision 717ee46c64fde7d69a1146f3c54e95b2ef20e706 GeckoRevision https://hg.mozilla.org/integration/b2g-inbound/rev/3eaedda79e46530dc03b17bbaea52a2248aefe23 First Broken Gecko & Last Working Gaia – issue DOES NOT repro Gaia Revision 91cac94948094cfdcd00cba5c6483e27e80cb3b0 Gecko Revision https://hg.mozilla.org/integration/b2g-inbound/rev/d9bfbd50c917e7f432a4a8cb12a21dca0b96cc0a Gecko pushlog: https://github.com/mozilla-b2g/gaia/compare/91cac94948094cfdcd00cba5c6483e27e80cb3b0...717ee46c64fde7d69a1146f3c54e95b2ef20e706
QA Whiteboard: [MGSEI-Triage+]
Is there an easy way to get a JSON.stringify() version of the model that is set?
Flags: needinfo?(etienne)
Assignee: jdarcangelo → wilsonpage
Depends on: 1225206
Flags: needinfo?(wilsonpage)
Attachment #8688517 - Flags: review?(jdarcangelo)
Comment on attachment 8688517 [details] [review] [gaia] wilsonpage:1224132 > mozilla-b2g:master Just a version bump for <gaia-fast-list> -- LGTM.
Attachment #8688517 - Flags: review?(jdarcangelo) → review+
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
This bug has been verified as pass on latest Flame master and Aries KK master by STR on comment 0. Rate:0/10 Actual result: The songs will display in songs list view. Device info: Flame master 512M(Pass) Build ID 20151119224634 Gaia Revision 94a821b49f4dca3f9321cd80e13c44c4a6696952 Gaia Date 2015-11-19 15:35:33 Gecko Revision https://hg.mozilla.org/mozilla-central/rev/cc325db44f6f8a58604d60b746c140e73f3d8216 Gecko Version 45.0a1 Device Name flame Firmware(Release) 4.4.2 Firmware(Incremental) eng.worker.20151119.220436 Firmware Date Thu Nov 19 22:04:46 UTC 2015 Firmware Version v18D v4 Bootloader L1TC000118D0 Aries KK master(Pass): Build ID 20151120061630 Gaia Revision 94a821b49f4dca3f9321cd80e13c44c4a6696952 Gaia Date 2015-11-19 15:35:33 Gecko Revision https://hg.mozilla.org/mozilla-central/rev/3835b568092ae3b71adc931d24928670ad7141a7 Gecko Version 45.0a1 Device Name aries Firmware(Release) 4.4.2 Firmware(Incremental) eng.worker.20151120.052332 Firmware Date Fri Nov 20 05:23:39 UTC 2015 Bootloader s1
Comment on attachment 8688517 [details] [review] [gaia] wilsonpage:1224132 > mozilla-b2g:master [Approval Request Comment] [Bug caused by] (feature/regressing bug #): [User impact] if declined: Song pick broken on first run [Testing completed]: Y [Risk to taking this patch] (and alternatives if risky): Low [String changes made]: N
Attachment #8688517 - Flags: approval-gaia-v2.5?
Need check in to 2.5
Keywords: checkin-needed
2.5 is approval-only - so need first approval before checkin
Keywords: checkin-needed
Comment on attachment 8688517 [details] [review] [gaia] wilsonpage:1224132 > mozilla-b2g:master Approved for 2.5 as this is marked as a P2. Thanks
Attachment #8688517 - Flags: approval-gaia-v2.5? → approval-gaia-v2.5+
This bug has been verified as "pass" on the latest build of Aries KK v2.5 and Flame KK v2.5 512mb by the STR in comment 0 . Actual result: There are some songs display in songs list view in step 3. See attachment: Verified_Aries_KK_v2.5.3gp Reproduce rate: 0/10. Device: Aries KK v2.5( Pass ) Build ID 20151223153111 Gaia Revision 8db2cdd9eb9b42932c4dfc86d109b3e46c220809 Gaia Date 2015-12-23 13:30:29 Gecko Revision http://hg.mozilla.org/releases/mozilla-b2g44_v2_5/rev/6fac3536a96a87185a6415d6ae2c36a85612e863 Gecko Version 44.0 Device Name aries Firmware(Release) 4.4.2 Firmware(Incremental) eng.worker.20151223.144147 Firmware Date Wed Dec 23 14:41:54 UTC 2015 Bootloader s1 Device: Flame KK v2.5 512mb( Pass ) Build ID 20151223152613 Gaia Revision 8db2cdd9eb9b42932c4dfc86d109b3e46c220809 Gaia Date 2015-12-23 13:30:29 Gecko Revision http://hg.mozilla.org/releases/mozilla-b2g44_v2_5/rev/6fac3536a96a87185a6415d6ae2c36a85612e863 Gecko Version 44.0 Device Name flame Firmware(Release) 4.4.2 Firmware(Incremental) eng.worker.20151223.143931 Firmware Date Wed Dec 23 14:39:41 UTC 2015 Firmware Version v18D v4 Bootloader L1TC000118D0
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: