[webvtt] cue display wasn't updated correctly when there are multiple cues with overlapping timestamp
Categories
(Core :: Audio/Video: Playback, defect, P2)
Tracking
()
Tracking | Status | |
---|---|---|
firefox69 | --- | verified |
People
(Reporter: alwu, Assigned: alwu)
References
(Blocks 1 open bug)
Details
Attachments
(3 files, 5 obsolete files)
47 bytes,
text/x-phabricator-request
|
jcristau
:
approval-mozilla-beta-
|
Details | Review |
47 bytes,
text/x-phabricator-request
|
jcristau
:
approval-mozilla-beta-
|
Details | Review |
47 bytes,
text/x-phabricator-request
|
jcristau
:
approval-mozilla-beta-
|
Details | Review |
STR.
Expected.
2. "Second cue" should disappear after 2s
Actual.
2. "Second cue" is still appearing, it disappears with "First cue".
Assignee | ||
Comment 1•6 years ago
|
||
We can actually let processCue()
to handle rendering cues or cleaning displayed cues, no need to use another way to clear the cue.
The advantages is to make the code cleaner and easier to read, now we just need to know JS side would handle all rendering stuffs for us. We don't need to have different behavior when there is no showing cue.
The way we clear displayed cues are intuitive, we would remove all child nodes under the overlay, which are used to display cues.
Updated•6 years ago
|
Assignee | ||
Comment 2•6 years ago
|
||
We can actually let processCue()
to handle rendering cues or cleaning displayed cues, no need to use another way to clear the cue.
The advantages is to make the code cleaner and easier to read, now we just need to know JS side would handle all rendering stuffs for us. We don't need to have different behavior when there is no showing cue.
The way we clear displayed cues are intuitive, we would remove all child nodes under the overlay, which are used to display cues.
Assignee | ||
Comment 3•6 years ago
|
||
Comment 5•6 years ago
|
||
Backed out for breaking reftests at vtt_overlapping_time.html
Push that started the failures: https://treeherder.mozilla.org/#/jobs?repo=autoland&resultStatus=testfailed%2Cbusted%2Cexception&selectedJob=248054168&revision=4268e661e741a5ad122880f818bbcabc9135cb7d
Push with failures: https://treeherder.mozilla.org/#/jobs?repo=autoland&resultStatus=testfailed%2Cbusted%2Cexception&selectedJob=248051339&revision=7eaaa8f90abd04fd6bedfd8e0dbd8fcba5027c0a
Failure log: https://treeherder.mozilla.org/logviewer.html#/jobs?job_id=248057729&repo=autoland&lineNumber=1590
Backout: https://hg.mozilla.org/integration/autoland/rev/ca67f4681a4a6674f3ae2e1bed1bc2cfbdea3749
Assignee | ||
Comment 6•6 years ago
•
|
||
That is a known issue (bug1546133), I will add fuzzy
for this test on Windows.
Assignee | ||
Comment 7•6 years ago
|
||
From the try result [1], although we got some orange on wpt8
, but all of them are related with service work, which are impossible to be affected by my changes.
Comment 9•6 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/d3159b7f0a9c
https://hg.mozilla.org/mozilla-central/rev/3ca6e66532a6
https://hg.mozilla.org/mozilla-central/rev/08cd8019be34
Assignee | ||
Comment 10•6 years ago
•
|
||
Comment on attachment 9064932 [details]
Bug 1551385 - part1 : let 'processCue()' handle cleaning cues div.
Beta/Release Uplift Approval Request
- User impact if declined: When there are some cues having overlapping timestamp, the cue with earlier end time won't disappear correctly when the time reaches its end time.
- Is this code covered by automated tests?: Yes
- Has the fix been verified in Nightly?: No
- Needs manual test from QE?: Yes
- If yes, steps to reproduce: See comment0.
- List of other uplifts needed: None
- Risk to taking this patch: Low
- Why is the change risky/not risky? (and alternatives if risky): What my change did is to force us to recompute cue display when the number of active cues changes, so it just trigger another display update, we didn't add new functionality in this bug. In addition, we have automation tests for this issue, it would be safe to catch any unexpected regressions.
- String changes made/needed: none
Assignee | ||
Updated•6 years ago
|
Assignee | ||
Updated•6 years ago
|
Comment hidden (obsolete) |
Comment hidden (obsolete) |
Comment hidden (obsolete) |
Comment hidden (obsolete) |
Comment hidden (obsolete) |
Comment hidden (obsolete) |
Comment hidden (obsolete) |
Comment hidden (obsolete) |
Comment hidden (obsolete) |
Comment hidden (obsolete) |
Comment 21•6 years ago
|
||
I managed to reproduce the issue using an older version of Nightly (2019-05-13) on Windows 10 x64.
I retested everything using latest Nightly 69.0a1 on Windows 10 x64, Ubuntu 18.04 x64 and macOS 10.13. The bug is not reproducing anymore.
I did notice on the other hand that the button "Picture-in-Picture" is not displayed anymore. Is that a known issue or it's something expected? Or is it a regression caused by this fix?
Comment 22•6 years ago
|
||
Is this a regression? If so when was it introduced?
Comment 23•6 years ago
|
||
I found the regression:
last good: 23-05-2019
first bad: 24-05-2019
But mozregression couldn't find a pushlog, but maybe this one will help: https://hg.mozilla.org/mozilla-central/pushloghtml?fromchange=840b7106d8ae3158aeba8268d2ac0b40c3682bcb&tochange=f58ae8ec64c812739509de09659327bf7ea33494
I can log a separate bug for this issue.
Assignee | ||
Comment 24•6 years ago
|
||
No, my change is impossible to affect the video control. That must be caused by other bug.
Assignee | ||
Comment 25•6 years ago
|
||
(In reply to Oana Botisan, Desktop Release QA from comment #21)
I did notice on the other hand that the button "Picture-in-Picture" is not displayed anymore. Is that a known issue or it's something expected? Or is it a regression caused by this fix?
Look like Bug 1547795.
Comment 26•6 years ago
|
||
According to comment 21 and comment 25 I will mark this issue as verified fixed.
Comment 27•6 years ago
|
||
(In reply to Julien Cristau [:jcristau] from comment #22)
Is this a regression? If so when was it introduced?
Assignee | ||
Comment 28•5 years ago
|
||
This issue is an old existing bug, it's not a regression.
Comment 29•5 years ago
|
||
Comment on attachment 9064931 [details]
Bug 1551385 - part2 : recompute display state when display cues amount is different from the one we rendered last time.
In that case I'd prefer to let this ride the trains to 69.
Updated•5 years ago
|
Updated•5 years ago
|
Updated•5 years ago
|
Description
•