dweymouth / supersonic

A lightweight and full-featured cross-platform desktop client for self-hosted music servers
GNU General Public License v3.0
670 stars 26 forks source link

Missing visual information while searching #327

Closed CharlesDelorme closed 4 months ago

CharlesDelorme commented 4 months ago

When searching it might sometimes take time to have the result. I have learned to wait a least 5 to 8 seconds while searching on my collection but there is no way to distinguish between a search in progress or a search with no result, the interface stays empty.

It might be interesting to have a "Searching…" message or a "No result found" (or maybe both).

I must admit I have no clew where to add this information in the interface. probably where the results appear (or a "not found" popup ?)

Not a big deal for me but it might be very useful for very large collections or very slow servers.

Thank you.

dweymouth commented 4 months ago

I have thought about this a little bit, and the best idea I had so far was to overlay a "spinner" animation on top of the results grid (or list, in the case of the quick search dialog). I guess the spinner would continue to run as long as the search is still in progress, even as results start to appear? Or it could be hidden as soon as the first batch of results come, if the goal is to just distinguish a "no results" search from one still running.

CharlesDelorme commented 4 months ago

When the search is slow on my configuration, I have nothing during 5 to 8 seconds then everything appears at once. So, based only on my experience and others might of course have another point of view, I think a spinner disappearing at the first result would make the job.

CharlesDelorme commented 4 months ago

Perfect fix in 0.9.1 Thanks a lot.