ChocolateyGUI icon indicating copy to clipboard operation
ChocolateyGUI copied to clipboard

Ability to cancel an ongoing search

Open opusforlife2 opened this issue 5 years ago • 7 comments

When the user searches for a package in a source tab, the GUI blocks the user from doing anything else (other than close ChocolateyGUI entirely).

The user should have the option to cancel the search.

Alternatively, the GUI should not block the user from interacting with the application, while the search is executed in the background.

opusforlife2 avatar Dec 12 '19 11:12 opusforlife2

This issue was created after discussion in this issue: https://github.com/chocolatey/ChocolateyGUI/issues/595

gep13 avatar Dec 12 '19 12:12 gep13

Hey, since the 0.17 pre-release got the option to execute a search only upon pressing Enter, it has saved me a lot of headache. This partially addresses the issue, and should be the default setting for users, in my opinion.

opusforlife2 avatar Feb 23 '20 07:02 opusforlife2

Alternatively, the GUI should not block the user from interacting with the application, while the search is executed in the background.

Is this part complicated to fix? It's a giant terminal that blocks you from doing anything, but just has a useless "loading results" kind of message. The user should be free to interact with the UI while it loads the next page.

opusforlife2 avatar Apr 05 '20 10:04 opusforlife2

@opusforlife2 said... The user should be free to interact with the UI while it loads the next page.

Just so we are on the same page... What other interaction would you want to be taking while the results are being loaded?

gep13 avatar Apr 05 '20 11:04 gep13

  • Scrolling the page.
  • Opening Settings or About.
  • Changing the item view from list/grid to the other.
  • Going back to the installed list of apps.
  • Opening a different remote view (though I have only chocolatey right now).
  • Searching for a different term (which should automatically cancel the current loading process).
  • Loading the previous/next page without waiting for the current load to finish (this should also cancel current loading process).

(other than close ChocolateyGUI entirely)

I just realised even this isn't unblocked when loading a new page, only minimize and resize are unblocked.

opusforlife2 avatar Apr 05 '20 18:04 opusforlife2

I suppose the milestone needs to be bumped.

opusforlife2 avatar Oct 23 '21 02:10 opusforlife2