Moon-0xff / gnome-mpris-label

A music related GNOME extension.
GNU General Public License v3.0
51 stars 10 forks source link

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

Open Moon-0xff opened 1 year ago

Moon-0xff commented 1 year ago

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:

Batwam commented 1 year ago

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.