Skip to content

[FEATURE REQUEST] Don't block loading main app UI with background tasks #4064

@eugenesvk

Description

@eugenesvk

Please confirm these before moving forward.

  • I have searched for my feature proposal and have not found a work-in-progress/duplicate/resolved/discarded issue.
  • This proposal is a completely new feature. If you want to suggest an improvement or an enhancement, please use this template.

Describe the new feature

UniGet is very slow to startup until you see the functional interface - it shows a moving horizontal "time tracker" waiting line instead while, I guess from the logs, performing all the various maintentance tasks like checking pacakge managers or cleaning up Scoop (which with slow powershell startup is alone ~5 seconds) etc.

These are condensed logs, only showing lines with different times so you can see which was the last task performed that took >1sec

:30 Build 100
:31 User has disabled updates
:33 Scoop found PowerShell7, PowerShell7 will be used...
:33 Command vcpkg was not found on the system
:34 Call to WhichMultiple with file vcpkg returned non-zero status 1
:34 Name: PowerShell Enabled: False THE MANAGER IS DISABLED
:35 Name: Pip Enabled: False THE MANAGER IS DISABLED
:37 Starting scoop cleanup...
:42 LoadComponentsAsync finished executing. All managers loaded. Proceeding to interface.
:44 Dependency Git for manager Scoop is present
:45 Integrity check passed successfully!
:46 Found 5 installed packages from PowerShell7

Describe how this new feature could help users

By letting them do immediate search for existing packages, for example, or typing a name to search a new one, or performing other tasks immediately after launch

Metadata

Metadata

Labels

new-featureA new feature that could be useful in WingetUI

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions