squidowl / halloy

IRC application written in Rust
GNU General Public License v3.0
1.41k stars 53 forks source link

Improvement request: text input should always have focus #446

Open smakkerlak opened 1 month ago

smakkerlak commented 1 month ago

Currently, clicking a channel in halloy while another application has focus, or clicking a different channel than the currently focused one, automatically makes the text input active so you can type.

I keep clicking something that moves focus away from the text input and start typing into nothing. Send help.

Basically, I'd love it if any window with a text input would always have its focus be the text input, no matter what the user does. This includes things like clicking empty areas in nicklist or channel bar. I cannot currently think of a situation where you would want focus to not be the text input, expect perhaps if there are multiple text input fields and one was clicked explicitly (not sure if any exists)

Running Win11, built from latest main

dmd commented 2 weeks ago

Yes. If I am in another window, and I click ANYWHERE in halloy, the text input most closely associated with where I click should have focus. There is no situation permitted where hallow should be the frontmost app but no text input has focus.