Open Bug 1906984 Opened 1 year ago Updated 2 months ago

Media control buttons are no longer visible in Firefox

Categories

(Core :: Widget: Gtk, defect, P3)

Firefox 129
defect

Tracking

()

UNCONFIRMED

People

(Reporter: monsterovich, Unassigned, NeedInfo)

Details

Attachments

(2 files)

User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:125.0) Gecko/20100101 Firefox/125.0

Steps to reproduce:

I use xfce4-pulseaudio-plugin and it worked in previous versions.

That's how it looked like: https://imgur.com/a/CtQgzC2

The Bugbug bot thinks this bug should belong to the 'Core::Audio/Video' component, and is moving the bug to that component. Please correct in case you think the bot is wrong.

Component: Untriaged → Audio/Video
Product: Firefox → Core

To clarify: to make the playback control buttons show up all you need to do is open any Youtube video, for example. Now it doesn't work (seems to be controlled by media.hardwaremediakeys.enabled property, right?)

Hello, if I understand your situation correctly, you still have media.hardwaremediakeys.enabled=true but now no Firefox control would show when playing the video? If so, would you mind to follow this instruction, but add ,MediaControl:5 in the end of log modules, after selecting Media Playback preset? Thank you so much!

Flags: needinfo?(monsterovich)
Flags: needinfo?(monsterovich)

The severity field is not set for this bug.
:jimm, could you have a look please?

For more information, please visit BugBot documentation.

Flags: needinfo?(jmathies)
Version: Firefox 128 → Firefox 129

Still broken in 129.0.

Flags: needinfo?(jmathies)

Still broken in 131.0.3. Tried both pulse and jack backends. Could someone please look into this issue?

Flags: needinfo?(alwu)

Sorry for taking so long, could you help me try this build to see if it works for you? (unzip and then run firefox) Thanks!

Flags: needinfo?(alwu) → needinfo?(monsterovich)

(In reply to Alastor Wu [:alwu] from comment #8)

Sorry for taking so long, could you help me try this build to see if it works for you? (unzip and then run firefox) Thanks!

It doesn't work, I opened a random YouTube video and didn't see any media control widget in xfce.

Flags: needinfo?(monsterovich)

I wonder that Firefox is present in the list of players, but for some reason media buttons are not displayed, although with audacious, for example, everything works.

    <property name="plugin-4" type="string" value="pulseaudio">
      <property name="items" type="empty"/>
      <property name="enable-keyboard-shortcuts" type="bool" value="false"/>
      <property name="mpris-players" type="string" value="audacious;firefox.instance_1_82"/>
      <property name="enable-multimedia-keys" type="bool" value="false"/>
    </property>

Could you help me try this build? If it still doesn't work, please follow the comment 3 to capture a profile again, thanks!

Flags: needinfo?(monsterovich)
Flags: needinfo?(monsterovich)
Attached file tmp.tar.bz2

Here's also the log file

From your first log file in the comment4, what I see is the Dbus connection was established too late and we tried to emit signal to dbus before the connection (No D-Bus Connection. Cannot emit properties changed signal .

However, in your new profile in the comment12, I collect those failed tasks as a pending task, and emit the change again after the connection is built (Emit pending signal!), and no error appeared when dispatching those tasks and all emit tasks (g_dbus_connection_emit_signal) seem succeeded after that.


Hello Martin, are you familiar with Dbus? Do you know any reasons why even dbus emit signal succeeds, but there is still no media control displayed? I wonder if it's related with the different desktop environments. Thanks!

Flags: needinfo?(stransky)

What I noticed when I compared the output in dbus-montor between FF and audacious is that the PropertiesChanges signal is missing the PlaybackStatus property in Firefox.

See: PlaybackStatus

(In reply to Alastor Wu [:alwu] from comment #14)

From your first log file in the comment4, what I see is the Dbus connection was established too late and we tried to emit signal to dbus before the connection (No D-Bus Connection. Cannot emit properties changed signal .

However, in your new profile in the comment12, I collect those failed tasks as a pending task, and emit the change again after the connection is built (Emit pending signal!), and no error appeared when dispatching those tasks and all emit tasks (g_dbus_connection_emit_signal) seem succeeded after that.


Hello Martin, are you familiar with Dbus? Do you know any reasons why even dbus emit signal succeeds, but there is still no media control displayed? I wonder if it's related with the different desktop environments. Thanks!

Yes, D-BUS/MPRIS is implemented in Widget/Gtk so it's Linux specific. Will look at it.

Component: Audio/Video → Widget: Gtk
Priority: -- → P3

I still have this issue on FF 135.0

Do you still see the issue? I'm unable to reproduce with Fedora 42 and XFCE 4.20 with Firefox 144.0.2:
https://imgur.com/a/iQr6JDM

Flags: needinfo?(monsterovich)
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: