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 isnt highlighted when reopening menu #86

Closed
philipzae opened this issue Apr 27, 2014 · 2 comments
Closed

search isnt highlighted when reopening menu #86

philipzae opened this issue Apr 27, 2014 · 2 comments
Assignees

Comments

@philipzae
Copy link

When i used to use mint 13, when i would search for something in the menu and then launch the application, when i reopened the menu the search term would still be there and it would be highlighted, i would to suggest this behaviour return, as its annoying when i reopen the menu and the mouse cursor is at the end of the search term and then i start typing thinking that it would start a new search but instead its adding onto the already shown search term.

@monsta
Copy link
Contributor

monsta commented Jul 23, 2014

You can simply turn the "remember the last search term" option off in the preferences and have a blank search field every time you open the menu. Thus the next search term you type won't be appended to anything.

@philipzae
Copy link
Author

well i dont want the search term not to be remembered, i would like the search term to be remembered and it to be highlighted/selected, so when if i do decide to type, it overwrites the selected search term rather than what i currently does of adding new letters to it.

@xenopeek xenopeek self-assigned this Feb 24, 2018
clefebvre pushed a commit that referenced this issue Mar 9, 2018
* Highlight previous search so typing overwrites it

When set to remember the last search, on next opening the menu it would display the last search and put the cursor at the end of it. If you wanted to do a new search you would first have to delete your previous search. More convenient if you starting typing it overwrites the last search and only if you place the cursor with arrow keys or mouse it switches to insert / append text to the last search.

There was existing code that did in fact do that but it was in the wrong place. This patch puts it in the right place. Fixes #86.

* Remove code to set position at end

Because it doesn't do anything when you select all the text.
@clefebvre clefebvre removed the Ready label Mar 9, 2018
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

4 participants