Comments (6)
I actually don't think this is so bad. I know that Quicktime automatically hides the header (including traffic lights) when the video is playing, but it's harder to do this with Electron.
You can either get a window with native OS buttons, or a completely "frameless" window. You can read about Electron frameless windows.
You can't change the type of window once it's created. I opened an issue to see if the developers could allow setting the frame
option dynamically but it was closed: electron/electron#4652
So, the only way to fix this right now would be to use a frameless window and create our own traffic light buttons in CSS and try to make them match the native buttons as closely as possible. This is what Playback does, but it's a bit janky. When Apple released a new OS, we have to manually change the buttons or they will look wrong. And when we do, all the users on old OSs will suddenly see traffic light buttons from an OS they haven't upgraded to yet.
No easy solution here.
from webtorrent-desktop.
Bummer, that's hugely annoying. The solution seems like a lot of work for such a minor change, but at the same time, I really hate overlays when watching videos - it feels similar to when those annoying adverts pop up when you're watching a TV show.
I'm wondering if I should look at Electron itself and see if I can add something to allow for this option.
from webtorrent-desktop.
QuickTime seems to hide the entire titlebar, not purely the traffic light controls. This might mean that we'd have to use the built-in OS X titlebar. Hmm, maybe it's not worth it.
from webtorrent-desktop.
@ChrisMorrisOrg QuickTime seems to hide the entire titlebar, not purely the traffic light controls. This might mean that we'd have to use the built-in OS X titlebar
Even then, I don't think Electron has an API for changing the frame option after a window has been constructed :(
from webtorrent-desktop.
@feross Even then, I don't think Electron has an API for changing the frame option after a window has been constructed :(
Yeah, it seems like too much of a hassle. I've asked a few friends what they thought about the app, and they didn't seem overly concerned about the traffic lights. Maybe it's not worth worrying about at this point in time.
from webtorrent-desktop.
Okay, sounds good to me.
from webtorrent-desktop.
Related Issues (20)
- how set socks5 proxy,thanks HOT 1
- Change the storage location without modifying the running task HOT 1
- Option to bind to a specific network interface HOT 2
- while playing a torrent file app uses the intel hd gpu and the Nvidia gpu both at the same time HOT 1
- The software doesn't add torrents automatically. HOT 1
- Detection of false positive virus in WebTorrent Desktop download HOT 4
- I can download the movie but not the subtitle because the download forced to priorties the movie? HOT 1
- Ability to click on a magnet link (implementation of the magnet protocol) HOT 1
- Unable to read property of undefined... reading 'getBounds' on file build/main/windows/main.js line 87 HOT 3
- WebTorrent as Default - Not getting updated. HOT 1
- Working Snap Package ready HOT 7
- macOS Sonoma Crash HOT 1
- Add an option for specifying max number of concurrent seeding torrent HOT 1
- build for arm cpu for macos m1/m2, to who do not want to keep intel emulation HOT 3
- NordVPN is reporting that this app is vulnerable HOT 5
- Blank app presents on opening HOT 1
- Crashes when starting HOT 1
- I can't use Cast function
- Cast funcion doesnt work HOT 1
- Adding Watch Party Support HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from webtorrent-desktop.