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

F to fullscreen doesn't work #172

Closed
B0pol opened this issue May 27, 2021 · 9 comments
Closed

F to fullscreen doesn't work #172

B0pol opened this issue May 27, 2021 · 9 comments
Labels

Comments

@B0pol
Copy link
Contributor

B0pol commented May 27, 2021

According to #139 it was already implemented so it's a regression

@FireMasterK
Copy link
Member

I cannot replicate this whatsoever, both on Brave and Firefox on Windows and Linux (Gnome 40).

@FireMasterK FireMasterK added the P2 label May 27, 2021
@B0pol
Copy link
Contributor Author

B0pol commented May 29, 2021

I can on Firefox 88, ungoogled chromium 88, gnome web 40, on linux (gnome 40)

@B0pol
Copy link
Contributor Author

B0pol commented May 29, 2021

I found the problem!

https://github.com/TeamPiped/Piped/blob/master/src/components/Player.vue#L120

I added a console.log(e.code) to see what key it detects

It logs key as if I have a QWERTY keyboard layout but I don't.
F key on my keyboard layout isn't at the same as place as QWERTY, therefore it doesn't work. It says I'm pressing slash /.
If I press the key where F is located on QWERTY, it works.

@B0pol
Copy link
Contributor Author

B0pol commented May 29, 2021

You should use e.key instead. See MDN doc for KeyboardEvent.code.

@FireMasterK
Copy link
Member

Very interesting! I'll will change this in a few hours.

@FireMasterK
Copy link
Member

Could you see if https://650b3348.piped.pages.dev/ fixes the issue?
(#176)

@B0pol
Copy link
Contributor Author

B0pol commented May 31, 2021

It does

@ghost
Copy link

ghost commented Oct 8, 2021

@FireMasterK, Seems like this issue is now Back. Using Windows 11 with Firefox 93 and also not available on Microsoft Edge Version 94.0.992.38 too.

@FireMasterK
Copy link
Member

Fixed at e8f8930.

IvRRimum pushed a commit to IvRRimum/Piped that referenced this issue Oct 24, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants