Closed
Bug 1210614
Opened 9 years ago
Closed 9 years ago
wrong poster image for all videos but the most recent one
Categories
(Firefox OS Graveyard :: Gaia::Camera, defect, P1)
Tracking
(blocking-b2g:2.5+, b2g-v2.2 unaffected, b2g-master verified)
VERIFIED
FIXED
blocking-b2g | 2.5+ |
Tracking | Status | |
---|---|---|
b2g-v2.2 | --- | unaffected |
b2g-master | --- | verified |
People
(Reporter: djf, Assigned: djf)
References
Details
(Keywords: regression)
Attachments
(2 files)
STR:
1) Launch camera.
2) record two short videos, each with a different subject.
3) Tap on the circle to preview the videos, and swipe sideways to preview the first video you took.
4) Note that the video displays the poster image of the most recent video you took instead of its own poster image.
5) Go back to camera and record another video
6) Return the the preview and notice that all three videos now show the poster image of this new most recent video.
Assignee | ||
Comment 1•9 years ago
|
||
[Blocking Requested - why for this release]:
This happens on a Flame running a nightly build from a few days ago. My Aries device is out of date and video recording is not working, so I can't test there.
But if this reproduces for anyone other than me, then I think we should block on it.
blocking-b2g: --- → 2.5?
Assignee | ||
Comment 2•9 years ago
|
||
I'd be willing to bet a small amount of money that the problem is in the code that sends the 'newmedia' event. For videos this is an object with a poster property and the value of that property is another object. I suspect that we're using the same object for all poster images, and not doing a proper deep copy on it when needed.
Andrew: did your change to the way that posters are generated affect the newmedia code path?
Flags: needinfo?(aosmond)
Updated•9 years ago
|
Assignee: nobody → mmurrell
Flags: needinfo?(jmercado)
Updated•9 years ago
|
Assignee: mmurrell → nobody
Updated•9 years ago
|
QA Contact: mmurrell
Comment 3•9 years ago
|
||
Following STR Bug 1210614 repros on Aries and Flame 2.5, it does not repro on Flame 2.2.
Repros on
Environmental Variables:
Device: Flame 2.5
BuildID: 20150727074921
Gaia: 4e3e21a4ba3f188b45623ee2297f21d0791f8667
Gecko: 21ca97268bae
Gonk: c4779d6da0f85894b1f78f0351b43f2949e8decd
Version: 42.0a1 (2.5)
Firmware Version: v18D
Repros on
Environmental Variables:
Device: Aries 2.5
BuildID: 20151005111147
Gaia: b994cedaa7ef9bfadcbe841601d9dc8d2e5379f9
Gecko: 45f01961ecd0ad9a45067f3e08bfb92539042eeb
Gonk: 2916e2368074b5383c80bf5a0fba3fc83ba310bd
Version: 44.0a1 (2.5)
Firmware Version: D5803_23.1.A.1.28_NCB.ftf
Does not repro on
Environmental Variables:
Device: Flame 2.2
BuildID: 20150112010228
Gaia: f5e481d4caf9ffa561720a6fc9cf521a28bd8439
Gecko: bb8d6034f5f2
Gonk: a814b2e2dfdda7140cb3a357617dc4fbb1435e76
Version: 37.0a1 (2.2)
Firmware Version: v18D
QA Whiteboard: [QAnalyst-Triage?]
status-b2g-v2.2:
--- → unaffected
status-b2g-master:
--- → affected
Keywords: qawanted → regression
Comment 4•9 years ago
|
||
Let's get a window on this issue.
QA Whiteboard: [QAnalyst-Triage?] → [QAnalyst-Triage+]
Flags: needinfo?(jmercado)
Keywords: regressionwindow-wanted
Updated•9 years ago
|
QA Whiteboard: [QAnalyst-Triage+]
Comment 5•9 years ago
|
||
B2G Inbound Regression Window:
Last Working
Environmental Variables:
Device: Flame 2.5
BuildID: 20150730044442
Gaia: 5e31fb6f88cd8c42e53214183defa2ffd455ea00
Gecko: 3595d5849dfc
Gonk: 41d3e221039d1c4486fc13ff26793a7a39226423
Version: 42.0a1 (2.5)
Firmware Version: v18D
First Broken
Environmental Variables:
Device: Flame 2.5
BuildID: 20150730051841
Gaia: d77579a3d6224ceefcdf26b7d2a9785a2de45c87
Gecko: 63c691cc05d8
Gonk: 41d3e221039d1c4486fc13ff26793a7a39226423
Version: 42.0a1 (2.5)
Firmware Version: v18D
Last Working gaia / First Broken gecko - Issue does not occur
Gaia: 5e31fb6f88cd8c42e53214183defa2ffd455ea00
Gecko: 63c691cc05d8
First Broken gaia / Last Working gecko - Issue does occur
Gaia: d77579a3d6224ceefcdf26b7d2a9785a2de45c87
Gecko: 3595d5849dfc
Gaia Pushlog: https://github.com/mozilla-b2g/gaia/compare/5e31fb6f88cd8c42e53214183defa2ffd455ea00...d77579a3d6224ceefcdf26b7d2a9785a2de45c87
Flags: needinfo?(jmercado)
Keywords: regressionwindow-wanted
Comment 6•9 years ago
|
||
This is caused by changes made in Bug 1164200
Blocks: 1164200
QA Whiteboard: [QAnalyst-Triage?]
Comment 7•9 years ago
|
||
Andrew the changes for bug 1164200 seem to have caused this issue. Can you please take a look?
QA Whiteboard: [QAnalyst-Triage?] → [QAnalyst-Triage+]
Flags: needinfo?(jmercado)
Updated•9 years ago
|
Assignee: nobody → aosmond
blocking-b2g: 2.5? → 2.5+
Priority: -- → P1
Assignee | ||
Comment 8•9 years ago
|
||
I've got a one-line fix for this. Stealing it from Andrew.
Assignee: aosmond → dflanagan
Assignee | ||
Comment 9•9 years ago
|
||
Jayme,
Based on comment #2 there wasn't really any need to take the time to do a regression window. It was an easy bug that only needed 20 minutes of my time or of Andrew's time. Sorry that you spent so much time on it.
Flags: needinfo?(aosmond) → needinfo?(jmercado)
Comment 10•9 years ago
|
||
Assignee | ||
Comment 11•9 years ago
|
||
Comment on attachment 8671038 [details] [review]
[gaia] davidflanagan:bug1210614 > mozilla-b2g:master
As I suspected, this was a deep copy issue. The fix is just one line.
Attachment #8671038 -
Flags: review?(aosmond)
Comment 12•9 years ago
|
||
Comment on attachment 8671038 [details] [review]
[gaia] davidflanagan:bug1210614 > mozilla-b2g:master
LGTM. I incorrectly thought mix would not recursively go through the child elements, good to know thanks ;).
Attachment #8671038 -
Flags: review?(aosmond) → review+
Assignee | ||
Comment 13•9 years ago
|
||
Landed on master: https://github.com/mozilla-b2g/gaia/commit/e273efa7647d52c55290c1bca25bb6a2cd796af9
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Comment 14•9 years ago
|
||
Thanks David. We will verify this when it shows up in the nightly builds.
Flags: needinfo?(jmercado)
Keywords: verifyme
Comment 15•9 years ago
|
||
This bug has been verified as pass on latest build of Flame KK v2.5 & Aries KK v2.5 by the STR in Comment 0.
Actual results: All videos now show the poster image of its own poster image.
See attachment: Verfied_Aries_v2.5.3gp.
Reproduce rate: 0/10
Device:Flame v2.5(Pass)
Build ID 20151008150210
Gaia Revision e698df503ff700eb5782e3d50c6eb753567d3451
Gaia Date 2015-10-08 17:26:52
Gecko Revision https://hg.mozilla.org/mozilla-central/rev/e5f1bc63ad52d0eb86f7fb838226ca6036774660
Gecko Version 44.0a1
Device Name flame
Firmware(Release) 4.4.2
Firmware(Incremental) eng.cltbld.20151008.182756
Firmware Date Thu Oct 8 18:28:08 EDT 2015
Firmware Version v18D v4
Bootloader L1TC000118D0
Device:Aries v2.5(Pass)
Build ID 20151008233852
Gaia Revision e698df503ff700eb5782e3d50c6eb753567d3451
Gaia Date 2015-10-08 17:26:52
Gecko Revision https://hg.mozilla.org/mozilla-central/rev/23b7f289df923c01e692299fcd4be7029de8b155
Gecko Version 44.0a1
Device Name aries
Firmware(Release) 4.4.2
Firmware(Incremental) eng.worker.20151008.225742
Firmware Date Thu Oct 8 22:57:51 UTC 2015
Bootloader s1
Comment 16•9 years ago
|
||
You need to log in
before you can comment on or make changes to this bug.
Description
•