jely2002 / youtube-dl-gui

A cross-platform GUI for youtube-dl made in Electron and node.js
GNU Affero General Public License v3.0
6.53k stars 456 forks source link

Auto focus main input on app startup #341

Closed usernamehw closed 1 year ago

usernamehw commented 2 years ago

Is your feature request related to a problem? Please describe. It would be nice to have focus on the main input automatically.

Describe the solution you'd like Main input has app focus on app startup.

Describe alternatives you've considered Using mouse or Tab key to focus.

Deasonfun commented 2 years ago

I was messing around with this a little bit and I noticed that the URL input auto pastes whatever you have in your clipboard. I could make it so that the add button is focused on startup so you can just hit enter to add it to the queue.

usernamehw commented 2 years ago

It kind of does it both cases: when input or + button has focus - just press Enter.

I think focusing input would make more sense.

Deasonfun commented 2 years ago

Oh yeah, I didn't think about that actually lol. I'd say you're right, it does look better to focus on the input.