Answered

Space bar doesn't work well on browser (windows 7)

  • 24 January 2018
  • 22 replies
  • 495 views

Userlevel 3
Hey,

Am I the only one having trouble with the space bar?
I expect it to pause/resume the track I'm listening. Even if it seems to try to do so, pressing space bar pauses and resumes the music almost instantly, as if I was pressing very quickly two times the space bar.
This behaviour only happens on deezer. I mean that my space bar works normally everywhere else, and my keyboard isn't particularly sensitive.
It's very annoying because pausing music with space bar is a standard in multimedia players.

Technical details:
  • on windows 7, the configuration of my keyboard is: Repeat delay: 3/4, Repeat rate: 30/30 (Maximum)
  • I'm using deezer in firefox, and I'm having this issue even with the regular updates of the browser. I'm currently with firefox Quantum 57.0.4 (64-bit) for Windows
Sheers,
icon

Best answer by uglybob 19 September 2018, 12:31

Issue seems to be fixed with the "Try a new look" version of the web site ("Try out a new cleaner, easier-to-navigate design based on our desktop app" to activate from Account and Settings > Deezer Labs)
View original

22 replies

Userlevel 7
Badge +5
Hi @uglybob , Could be your space bar. I double checked here on Firefox and Chrome and this works, so it could be your space bar, nothing to do with Deezer. Have you checked all firefox updates? Also, have your tried from Chrome? 😉
@uglybob
I have exactly the same problem (you've described it perfectly!),
on the same operating system and browser:
-Windows 7
-Firefox Quantum 60.0.1 (64-bit)

@Rafael.
On chrome everythings works as it should.
Userlevel 5
Badge +1
hmmm could you guys @martintern @uglybob try to delete your browser's cache? Let me know if that changes something 🙂
@Shannon
I've deleted all cache but nothing changed. (Also, I have cache disabled.)
Userlevel 7
Badge +1
Hi there, thanks for the clarification. It looks like it's an issue only with Windows 7 on firefox as we were not able to reproduce it. I can't promise anything here, as our team has to focus on Windows 10, but I will definitely pass your feedback on to the team. Hopefully this will change soon! Also, just to be clear, you are using the HTML5 version, correct?
@Anja
Yes, HTML5 checkbox is ticked. Without it, songs will not play at all on my machine.
Userlevel 7
Badge +1
@Anja
Yes, HTML5 checkbox is ticked. Without it, songs will not play at all on my machine.


Thanks for the reply 🙂 Will pass it on to the team!
I have the same problem with Firefox in Ubuntu Desktop 18.04

It's normal on windows

Edit: now, i don't have any problem
idk what are happening

but apparently is a object focus bug
Userlevel 3
Issue seems to be fixed with the "Try a new look" version of the web site ("Try out a new cleaner, easier-to-navigate design based on our desktop app" to activate from Account and Settings > Deezer Labs)
Userlevel 3
Issue seems to be fixed with the "Try a new look" version of the web site ("Try out a new cleaner, easier-to-navigate design based on our desktop app" to activate from Account and Settings > Deezer Labs)

Well sadly I spoke to fast: issue is still there with the HTML5 player in windows 10 and latest firefox (Quantum 63.0 64-bit)
Userlevel 7
Badge +1
HI @uglybob so you have the issue only in Firefox?
Userlevel 3
HI @uglybob so you have the issue only in Firefox?
Hi, not tried with an other browser. I will try to check on chrome.
I'm having this problem too, it seems that some other UI element gains focus for the spacebar.
If you press the blank space between the timeline and the next button in the media controls on the bottom of the page in the new design layout the spacebar starts working again, that is, until the next time you press something else or manually press the pause/play button.


I don't really care personally if the spacebar works or not, I would rather have another keybind that has less issues, like `k` or something like YouTube has, I have also enabled the Hotkeys feature in deezer labs so if it can be added there it would be great.

I've seen this issue on Window and Ubuntu with both up-to-date versions of Chrome and Firefox
Userlevel 7
Badge +1
Hi @benjamin.vevang sorry about that. Are you on windows 7? What do you mean exactly with the “k”? Can you explain in that in more detail?
YouTube uses the "k" button for pause/play on videos, I think they do that because the spacebar often causes issues when you try to use it as a play/pause hotkey, default functionality in the browsers uses the spacebar too. If you could add a secondary keybind in addition to the spacebar for testing that would be great :)

I'm not sure about the steps to reproduce the problem as of now, but if you try starting a playlist and start browsing for other songs and try using the spacebar it will most likely happen at some point.

I've had this problem in Chrome and Firefox on both Windows 10 and Ubuntu both up-to-date and still having this issue as of today. I haven't tried on Windows 7.
Userlevel 7
Badge +5
Hi there @benjamin.vevang

I honestly didn't know about the 'k' feature on YouTube so thanks for the tip!
About Deezer, it seems like a good suggestion for our devs to consider. So why don't you pop to the ideas forum we have and start a topic about it there. If people vote for it, we can pass it on 😉
Userlevel 2
Badge

I have this problem even now, so I guess this wasn’t fixed. My guess is that it doesn’t have anything to do with OS or browsers, because it is an issue of event management

deezer reacts to spacebar onkeyup event to control pause, but it doesn’t prevent default reaction this event - if we press pause button with mouse, it gets focus, so if we press spacebar, deezer scripts react to this by toggling pause and button element reacts to it too causing script to toggle pause again.

You can try and click pause button then Tab and in this case pressing spacebar will toggle pause and at the same time press “Next track” button.

If not preventing default reactions, I agree that ‘k’ button should be an option.

Userlevel 7
Badge +5

Thanks for giving your opinion on this @STeeL835 it's always better when we pass the feedback to have specific reasons around it :wink:

Same issue, using win10 + firefox 72.0.2, very annoying bug for me.

Userlevel 7
Badge +5

Hi @Devrus 

Sorry this is happening. I can confirm this is working on Edge and Chrome. Have you tried clearing cache and cookies, then restarting your PC to see if it makes a difference? Thank you for your support.

I’m also facing the same issue, under Linux.

 

It’s easy to reproduce: space bar works well if the “play” button is not focused”.

 

If play button is focused, then pressing space bar will pause-resume instantly, because both the behavior of “button pressed” and the global “spacebar pressed” are activated simultaneously.

 

(pressing space on a button in Firefox will enable the button -- for instance, in this form, I can do “tab” to give focus to the “Save” button →press space, which will be like pressing “Enter” or clicking the button.)

Userlevel 7
Badge +5

Thanks for reporting it @neamar. I encourage you to try clearing cache and cookies to see if it helps. If not, have you tried Chromium?

Reply