Buttercup-desktop: [UX] Open empty search bar when shortcut triggered

Created on 8 May 2021  路  6Comments  路  Source: buttercup/buttercup-desktop

When I open the search bar using CMD + F on MacOS, it opens a search bar filled with the text used from the previous search. The problem is that the caret is positioned at the end of the text. If I want to search after another keyword, I have to delete the old text at first and fill in the new keyword at second.

It would be nice if a) the search bar is empty every time I hit CMD + F or b) all text in the search bar is selected so I can ovewrite it easily.

System:
MacOS: 11.3.1
Buttercup: 2.3.0

Low Medium Completed Enhancement

Most helpful comment

Actually, I managed to make it work.. I can make it select all text when re-appearing, so you can simply start typing to get new results.

This is best imo as it:

  • Allows for easily starting new searches
  • Allows for seeing the previous results

All 6 comments

Hi @perry-mitchell ,
this is one of the most, if not the most used Buttercup's functionalities and I really think it shouldn't be considered as _Medium_ priority with _Low_ effort.
I personally consider it like a bug more than an _Enhancement_.

@fmommeja Noted, but I _am_ trying to get it solved now, regardless of those labels.

This might be difficult to implement. We're using Blueprint's Omnibar and it doesn't provide a way, that I can see, to reference the inner input. Without that, I can only enable clearing the input each time it shows. Perhaps this would be better.

@perry-mitchell clearing would definitely be much better ^^

Actually, I managed to make it work.. I can make it select all text when re-appearing, so you can simply start typing to get new results.

This is best imo as it:

  • Allows for easily starting new searches
  • Allows for seeing the previous results

Great news Perry! ^^
Thank you for that. :)

@perry-mitchell Thank you!!
image

Was this page helpful?
0 / 5 - 0 ratings

Related issues

jokeyrhyme picture jokeyrhyme  路  6Comments

rohanthacker picture rohanthacker  路  7Comments

perry-mitchell picture perry-mitchell  路  6Comments

FuridamuFaita picture FuridamuFaita  路  3Comments

julianpoemp picture julianpoemp  路  3Comments