cosmic-store icon indicating copy to clipboard operation
cosmic-store copied to clipboard

Empty search field should show the home page

Open nalladev opened this issue 1 month ago • 3 comments

Empty search field should show the home page.

Currently it shows the homepage if clear input button is pressed.

nalladev avatar Oct 28 '25 10:10 nalladev

You mean it doesn't do a search of empty string? That seems like it would cost a lot of compute power for very little actual benefit.

leviport avatar Oct 28 '25 13:10 leviport

You mean it doesn't do a search of empty string? That seems like it would cost a lot of compute power for very little actual benefit.

I would expect to go back to the default list of apps if there is no search query in the input.

Where is the compute part to just show what was already there on the screen at first?

nalladev avatar Oct 28 '25 13:10 nalladev

My Issue &description was way off from what i meant to say. I have changed it.

nalladev avatar Nov 15 '25 12:11 nalladev

The issue I noticed was when we cut the text or remove the text with backspace after select all, the search doesn't reset It only triggers per character change at the moment. Eventually it resets to the selected tab contents if search-bar is dismissed with Esc

Empty search field should show the home page.

Currently it shows the homepage if clear input button is pressed.

Currently, on launch the store shows the current selected tab contents. Pressing clear button does the same.

iamkartiknayak avatar Dec 13 '25 15:12 iamkartiknayak