Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Search bar: pre-select current text when selecting search bar #36

Closed
ge0rg opened this issue Dec 21, 2017 · 3 comments
Closed

Search bar: pre-select current text when selecting search bar #36

ge0rg opened this issue Dec 21, 2017 · 3 comments

Comments

@ge0rg
Copy link

ge0rg commented Dec 21, 2017

When I press Ctrl+L, I typically want to search for a contact. If I already have a search string in there, I will end up at the last cursor position that was active before switching away from the search tab. To search for a different name, I first need to delete the current content of the search bar.

It would be great if on selecting the search bar / pressing Ctrl+L, the current content of the search bar would be put into a selection, so that typing a letter would replace the selection with what I type.

@horazont
Copy link
Contributor

Great idea.

How about (in addition) clearing the search bar when (a) only a single item is in the filtered roster && (b) a conversation is started/opened by activating (double-clicking) that item?

@ge0rg
Copy link
Author

ge0rg commented Dec 21, 2017

Sounds reasonable. Would be nice to try it out to see if it is good or not.

@horazont
Copy link
Contributor

@ge0rg See 4a02ce4 for the original issue and d14c2f4 (both merged) for the experiment I suggested.

Close if you agree, keep open and discuss otherwise.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants