Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Not working in FF 51, Gnome 3.22.2 #117

Open
andypillip opened this issue Feb 10, 2017 · 11 comments
Open

Not working in FF 51, Gnome 3.22.2 #117

andypillip opened this issue Feb 10, 2017 · 11 comments

Comments

@andypillip
Copy link

andypillip commented Feb 10, 2017

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).
@carlin-q-scott
Copy link
Owner

carlin-q-scott commented Feb 10, 2017

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.

@andypillip
Copy link
Author

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? (:

@carlin-q-scott
Copy link
Owner

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.

@jversusk
Copy link
Contributor

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.

@gmelikov
Copy link
Collaborator

@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?

@jversusk
Copy link
Contributor

@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.

@carlin-q-scott
Copy link
Owner

@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?

@jversusk
Copy link
Contributor

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!

@gmelikov
Copy link
Collaborator

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

@jversusk
Copy link
Contributor

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

@carlin-q-scott
Copy link
Owner

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants