browser-media-keys icon indicating copy to clipboard operation
browser-media-keys copied to clipboard

Not working in FF 51, Gnome 3.22.2

Open andypillip opened this issue 8 years ago • 11 comments

Hi there.

Awesome extension, but unfortunately for me it doesn't work for a while now. When pressing the play-key, I'm seeing Gnome's 🛇 sign, which tells that no application is currently listening to the media keys.

I'm on Fedora 25 (64 bit of course), Gnome 3.22.2 and Firefox 51.0.1.

I already used the extension, and at some point it stopped working.

I tried removing the extension, restarting Firefox, installing, restarting, which didn't change anything. Also I can Pin Media Keys to tabs, but that doesn't enable the function either.

--- Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/41889159-not-working-in-ff-51-gnome-3-22-2?utm_campaign=plugin&utm_content=tracker%2F7600490&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F7600490&utm_medium=issues&utm_source=github).

andypillip avatar Feb 10 '17 14:02 andypillip

This is probably the same issue as #114 and I posted a potential workaround. We changed the method for listening to key events in v1.0.0 of this add-on so going back to the older version should work.

Please let me know if the older version works for you.

carlin-q-scott avatar Feb 10 '17 21:02 carlin-q-scott

I cannot install 0.7.9. since it's not available for my platform.

But 0.7.8 works, thanks!

Apparently you know exactly what the issue is – can we expect a new version anytime soon? (:

andypillip avatar Feb 11 '17 10:02 andypillip

Haha, unfortunately it's not that easy. Some Linux configurations work with the new method and not the old one and some of those are also ubuntu. The simplest solution, which we already have for Windows, is to add a add-on preference checkbox that activates the old method.

carlin-q-scott avatar Feb 17 '17 23:02 carlin-q-scott

I seem to be having this same issue with Linux Mint 19 Cinnamon and Firefox 62.0.3. The libxcb-keysyms1 was already installed and the media keys work with other apps, but pressing the media keys with Firefox just displays the 🛇 sign. I'm unable to install any of the older versions, so I don't really know if the older method would work.

jversusk avatar Oct 12 '18 07:10 jversusk

@jversusk bear in mind, that:

Due to the conversion, some features have been removed or modified:

  1. The browser window must be active for media keys to be detected.
  2. Only Play/Pause is supported; this is a Firefox limitation.
  3. Pinned tabs get priority over all other tabs when pressing a media key.
  4. The autoplay feature is disabled by default and cannot be enabled until I create a configuration page for the add-on.

So do you test with firefox window active?

gmelikov avatar Oct 12 '18 08:10 gmelikov

@gmelikov Checked all that, still not working. I was thinking maybe the media keys use DBus instead of XCB, but I'm not able to test it because the older versions won't install.

jversusk avatar Oct 12 '18 12:10 jversusk

@jversusk Can you open up the options page for the extension and see if you can assign your key presses to the media events manually?

carlin-q-scott avatar Oct 12 '18 14:10 carlin-q-scott

Tried that, getting the same 🛇 sign. When I tried removing the media shortcuts in the system settings, the extension worked - but then the media keys don't work for other apps!

jversusk avatar Oct 12 '18 14:10 jversusk

@jversusk unfortunately you can use global hotkeys only in one app at the same time.

gmelikov avatar Oct 12 '18 15:10 gmelikov

@gmelikov I didn't mean at the same time.

jversusk avatar Oct 12 '18 17:10 jversusk

I believe Firefox is listening to the key events rather than media events so it's not going to work the way you want it to. I'm not sure if I will be able to get them to switch either.

carlin-q-scott avatar Oct 12 '18 23:10 carlin-q-scott