Moon-0xff/gnome-mpris-label

Volume resets when changing position (Firefox built-in media player)

Opened this issue · 1 comments

This might be a problem with Firefox itself or an oversight in our part, in either case we should try to fix the issue.

Steps to reproduce:

  • Open a video or audio file in Firefox
  • Decrease the window volume by scrolling on the label
  • Jump to a different position (e.g from 00:01 to 00:59)
Batwam commented

this is interesting indeed. I can confirm also that this does not happen with chrome.

Looking at a website like Deezer, there is volume toggle within it. When this toggle is moved, the Gnome volume level for this stream also moved fore Firefox (with chrome this does nothing). when the track position is changed, the stream volume switches back to whatever value the toggle has in the browser. so while gnome sees the change in slider value from the browser, firefox doesn't seem to be "aware" of the change in stream value initiated from within gnome
image

Note that if we ignore the extension altogether, if I start playing music in firefox, adjust the stream volume within Gnome Settings, then go back to firefox and change the track position, the stream jumps back too. In short, this is more of an issue with gnome/firefox not talking to each other and arguable in bug in Gnome and/or Firefox rather than with the extension.