Open
Bug 1839205
Opened 1 year ago
Updated 2 days ago
Volume percentage is set to 100% when unmuting PiP video by clicking speaker icon
Categories
(Toolkit :: Picture-in-Picture, defect, P3)
Tracking
()
NEW
Tracking | Status | |
---|---|---|
firefox116 | --- | affected |
People
(Reporter: pmagyari, Unassigned)
References
(Blocks 1 open bug)
Details
Note
- If you unmute the video in PiP by using the shortcut (ctrl+up arrow) the volume is set back to the volume percentage accordingly.
Found in
- Firefox Nightly 116.0a1
Affected versions
- Firefox Nightly 116.0a1
Tested platforms
- Affected platforms: All
Steps to reproduce
- Start playing a video and launch Picture-in-Picture.
- Lower the volume of the video to 30% (or anything other than 0/100%) using the volume slider.
- Click the speaker icon or use the mute shortcut to mute the video.
- Press back-to-tab to unpip.
- Launch PiP again.
- Unmute the video by clicking the speaker icon.
Expected result
- The video is unmuted and the volume is set to the percentage it was muted from originally (30%).
Actual result
- The video is unmuted but the volume is set to 100%.
Regression range
- Not a regression, the volume slider was added in Nightly 116.
The unmute is still bugged in Firefox 130 release -- it changes the volume to 100%!! IT IS SOOOOO LOUD THAT I NEVER MUTE/UNMUTE FROM PIP.
How many years will it take for this error to be fixed?
Hmm, I think we'll need to modify the mute/unmute logic in https://searchfox.org/mozilla-central/rev/f549a50b1e39b1e6bea19912d92545c4c0a06b7b/toolkit/components/pictureinpicture/content/player.js#799-806. We rely on the volume slider value to revert back to the right volume level, but that value gets lost when we close + re-open PiP, falling back to 1 (max volume).
Severity: S4 → S3
Priority: -- → P3
You need to log in
before you can comment on or make changes to this bug.
Description
•