JosefNemec / Playnite

Video game library manager with support for wide range of 3rd party libraries and game emulation support, providing one unified interface for your games.
https://playnite.link
MIT License
8.67k stars 483 forks source link

Automatic input focus #3701

Closed Damntry closed 2 months ago

Damntry commented 4 months ago

Feature description

This is more of a discussion about a possible feature request.

To put things in perspective, I have a category that I use as a wishlist of games I want in the future, which means I regularly add games to it. When adding a new game manually and after opening the window to download metadata, the focus is on the window itself. This means you have to tab a few times to reach the search box, select the "New game" text, and then you can start typing to search. Its worse for users that dont know you can tab to change focus.

SearchFocus

It would be helpful for the cursor to automatically focus on the search input box, with the "new game" text selected, so you can start typing right away. But ideally this would only happen if you havent touched the "New game" text in the game details, otherwise its understood that its an edit of an existing entry, or that the user wrote something in it already, in which case preselecting the first entry might be more useful¿?

The problem with this is that it would make the focus behave differently depending on input, which tends to be avoided.

Thoughs?

Screenshots

No response

Jeshibu commented 4 months ago

I'm definitely in favor of focusing the text field by default - you can shift-tab to the results view, and it's still better than focusing the window.

JosefNemec commented 2 months ago

Fixed in 10.33