Toggle fullscreen when pressing `f`
See original GitHub issueThe Issue
Pressing f
while watching a video doesn’t toggle fullscreen.
Steps to Reproduce
- Launch a video.
- Press
f
. - Press
f
again, nothing happened.
Expected Behaviour
Fullscreen should be toggled.
Actual Behaviour
Nothing happens instead.
Suggested Solutions
Implement toggling fullscreen when pressing f
.
System Configuration
- LBRY Daemon version: 0.30.1
- LBRY App version: 0.26.1
- LBRY Installation ID: 9ZfMD7MUia6AAvrTDx1MzxGpsEBxUcK3mSxou2VgCFrLSYWwyNavkCTrPBpo5GoTbK
- Operating system: Linux (Linux-4.18.0-13-lowlatency-x86_64-with-debian-buster-sid)
Anything Else
Screenshots
Internal Use
Acceptance Criteria
- If not in fullscreen should go into fullscreen when pressing
f
. - If already in fullscreen, should go into window screen when pressing
f
.
Definition of Done
- Tested against acceptance criteria
- Tested against the assumptions of the user story
- The project builds without errors
- Unit tests are written and passing
- Tests on devices/browsers listed in the issue have passed
- QA performed & issues resolved
- Refactoring completed
- Any configuration or build changes documented
- Documentation updated
- Peer Code Review performed
Issue Analytics
- State:
- Created 5 years ago
- Comments:7 (2 by maintainers)
Top Results From Across the Web
What Is The Keyboard Shortcut For Making A Window Full ...
A very common shortcut, particularly for browsers, is the F11 key. It can take your screen into and out of full-screen mode quickly...
Read more >Fullscreen not working when pressing f11 - Microsoft Community
Hello there, I'm experiencing a problem on my new laptop that when I press f11 on google, the fullscreen shortcut won't work and...
Read more >How to Use a Shortcut and Go Full Screen - Alphr
Simply press and hold the two buttons simultaneously, and your app/game will automatically go full screen. If you want to exit the ...
Read more >What is the keyboard shortcut for making a window full screen?
You can Press F11 to go to full screen mode and to return to normal mode again press F11.
Read more >How to exit full-screen mode on your Windows 10 computer in ...
Press the F11 key on your computer's keyboard to exit full-screen mode. Note that pressing the key again will toggle you back to...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I could take a shot, though it might take me a while given how busy I am.
Question: would it be OK if it is hardwired?
Appreciation is always welcome 😃
@ngeiswei No problem.
I just meant that we need to remove the event listener when the react component leaves the page. We don’t care if a user pressed
f
on the settings page. We do something similar here: https://github.com/lbryio/lbry-desktop/blob/master/src/renderer/component/wunderbar/view.jsx#L39-L41