Seeking an audio file with "Loop" active will reset it to 0:00
Categories
(Core :: Audio/Video: Playback, defect, P2)
Tracking
()
Tracking | Status | |
---|---|---|
firefox-esr102 | --- | unaffected |
firefox107 | --- | unaffected |
firefox108 | --- | verified |
firefox109 | --- | verified |
People
(Reporter: csasca, Assigned: alwu)
References
(Regression)
Details
(Keywords: regression)
Attachments
(3 files)
409.65 KB,
image/gif
|
Details | |
48 bytes,
text/x-phabricator-request
|
dmeehan
:
approval-mozilla-beta+
|
Details | Review |
48 bytes,
text/x-phabricator-request
|
dmeehan
:
approval-mozilla-beta+
|
Details | Review |
Found in
- Firefox Nightly 108.0a1
Affected versions
- Firefox Nightly 108.0a1
Tested platforms
- Affected platforms: Windows 7, macOS 13, Ubuntu 22.04
- Unaffected platforms:
Steps to reproduce
- Launch Firefox
- Access an audio file, for example
- Right click over it and activate "Loop"
- Seek the audio file by clicking over
Expected result
- The audio file is loaded and plays correctly
Actual result
- The audio file playback resets to 0:00
Regression range
- Seems that it was recently introduced, 107.0 is not affected.
Additional notes
- The issue can be seen in the attachment
Reporter | ||
Updated•2 years ago
|
Reporter | ||
Comment 1•2 years ago
|
||
Searched for a regression range and it seems that this issue has been introduced by Bug 1262276 - part18 : add a pref to control video seamless looping.
Comment 2•2 years ago
|
||
:alwu, since you are the author of the regressor, bug 1262276, could you take a look?
For more information, please visit auto_nag documentation.
Updated•2 years ago
|
Assignee | ||
Updated•2 years ago
|
Assignee | ||
Comment 4•2 years ago
|
||
This patch fixes the incorrect condition for the single track playback,
because the EOS flag for the nonexistent track would always be true.
Eg. for audio-only playback, mIsReachingVideoEOS
is always true.
Assignee | ||
Comment 5•2 years ago
|
||
Depends on D162025
Comment 6•2 years ago
|
||
Set release status flags based on info from the regressing bug 1262276
Pushed by alwu@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/1ecff38b5156 part1 : only seek back to the head when all tracks reach to EOS already. r=padenot https://hg.mozilla.org/integration/autoland/rev/7abef09cc308 part2 : add test cases to ensure the position won't be changed to zero incorrectly after seeking. r=padenot
Comment 8•2 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/1ecff38b5156
https://hg.mozilla.org/mozilla-central/rev/7abef09cc308
Comment 9•2 years ago
|
||
bugherder |
Assignee | ||
Comment 11•1 year ago
|
||
Comment on attachment 9303351 [details]
Bug 1800233 - part1 : only seek back to the head when all tracks reach to EOS already.
Beta/Release Uplift Approval Request
- User impact if declined: Seeking on a loop audio would be broken.
- 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): It's a just simple one line condition change, to allow single track playback can seek properly. It doesn't introduce any new feature or a major structural change. It's also covered by an automation test.
- String changes made/needed:
- Is Android affected?: Yes
Assignee | ||
Updated•1 year ago
|
Updated•1 year ago
|
Reporter | ||
Comment 12•1 year ago
|
||
Verified that this issue is fixed on Firefox 109.0a1 (2022-11-23). Tests were performed on macOS 13.0.1, Ubuntu 22.04 and Windows 11.
Comment 13•1 year ago
|
||
Comment on attachment 9303351 [details]
Bug 1800233 - part1 : only seek back to the head when all tracks reach to EOS already.
Approved for 108.0b6.
Comment 14•1 year ago
|
||
Comment on attachment 9303352 [details]
Bug 1800233 - part2 : add test cases to ensure the position won't be changed to zero incorrectly after seeking.
Approved for 108.0b6.
Comment 15•1 year ago
|
||
bugherder uplift |
Updated•1 year ago
|
Reporter | ||
Comment 16•1 year ago
|
||
Verified the fix on Firefox 108.0b6 as well. Tests performed on macOS 13.0.1, Ubuntu 22.04 and Windows 11.
Description
•