[BUG] winget search sometimes takes an excessively long time.
bug
### Please confirm these before moving forward
- [x] I have searched for my issue and have not found a work-in-progress/duplicate/resolved issue.
- [x] I have tested that this issue has not been fixed in the latest [(beta or stable) release](https://github.com/Devolutions/UniGetUI/releases/).
- [x] I have checked the [FAQ](https://github.com/Devolutions/UniGetUI#frequently-asked-questions) section for solutions.
- [x] This issue is about a bug (if it is not, please use the [correct template](https://github.com/Devolutions/UniGetUI/issues/new/choose)).
### UniGetUI Version
2026.2.2
### Windows version, edition, and architecture
windows 11 Pro 26200.8737
### Describe your issue
When using winget to query software packages, it often takes a long time to obtain the list. However, using cli for the same operation completes almost instantly.
<img width="1730" height="1043" alt="Image" src="https://github.com/user-attachments/assets/c3349280-133c-4dde-b75c-4b904e5bde2b" />
The Firefox query in the below winget log took more than three minutes and did not return any results.
<img width="2097" height="1100" alt="Image" src="https://github.com/user-attachments/assets/b03ffeda-df51-4c72-b5a0-94b322ffdb72" />
### Steps to reproduce the issue
_No response_
### UniGetUI Log
```text
[2026/7/4 8:37:38] __ __ _ ______ __ __ ______
/ / / /___ (_) ____/__ / /_/ / / / _/
/ / / / __ \/ / / __/ _ \/ __/ / / // /
/ /_/ / / / / / /_/ / __/ /_/ /_/ // /
\____/_/ /_/_/\____/\___/\__/\____/___/
Welcome to UniGetUI Version 2026.2.2
[2026/7/4 8:37:38]
[2026/7/4 8:37:38] Build 107
[2026/7/4 8:37:38] UI Framework: Avalonia
[2026/7/4 8:37:38] Data directory C:\Users\****\AppData\Local\UniGetUI
[2026/7/4 8:37:38] OS: Microsoft Windows 10.0.26200
[2026/7/4 8:37:38] Process arch: X64 (OS: X64)
[2026/7/4 8:37:38] Runtime: .NET 10.0.9
[2026/7/4 8:37:38] Loaded language locale: zh_CN
[2026/7/4 8:37:38] Elevated: False
[2026/7/4 8:37:38] Packaged (MSIX): False
[2026/7/4 8:37:38] Args: (none)
[2026/7/4 8:37:39] Command cargo-binstall.exe was not found on the system
[2026/7/4 8:37:41] Starting Avalonia shell bootstrap
[2026/7/4 8:37:41] Loaded language locale: zh_CN
[2026/7/4 8:37:41] Auto-updater: disabled by user setting, skipping.
[2026/7/4 8:37:41] PowerShell is not enabled
[2026/7/4 8:37:41] Pip is not enabled
[2026/7/4 8:37:41] PowerShell7 is not enabled
[2026/7/4 8:37:41] Bun is not enabled
[2026/7/4 8:37:41] .NET Tool is not enabled
[2026/7/4 8:37:41] vcpkg is not enabled
[2026/7/4 8:37:41] Cargo is not enabled
[2026/7/4 8:37:41] Generated a IPC API auth token for the current session
[2026/7/4 8:37:41] Scoop is not enabled
[2026/7/4 8:37:41] Npm is not enabled
[2026/7/4 8:37:41] Chocolatey is not enabled
[2026/7/4 8:37:41] Using user GSudo (forced by user) at D:\Winget\gerardog.gsudo\Current\gsudo.exe
[2026/7/4 8:37:41] Api running on named pipe UniGetUI.IPC
[2026/7/4 8:37:41] Connected to WinGet API using packaged COM activation.
[2026/7/4 8:37:41] WinGet activation mode selected: packaged COM registration | Source: system COM registration
[2026/7/4 8:37:41] Winget is enabled and was found on C:\Users\****\AppData\Local\Microsoft\WindowsApps\winget.exe
[2026/7/4 8:37:41] ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
█▀▀▀▀▀▀▀▀▀▀▀▀▀ MANAGER LOADED ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
█ Name: WinGet (aka Winget)
█ Executable name: "winget.exe"
█ Executable path: "C:\Users\****\AppData\Local\Microsoft\WindowsApps\winget.exe"
█ Call arguments: ""
█ Version: System WinGet (CLI) Version: v1.29.280
█ Using Native WinGet helper (COM Api)
█ Activation mode: packaged COM registration
█ Activation source: system COM registration
█
█ WinGet is enabled and ready to go.
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
[2026/7/4 8:37:42] Downloaded new icons and screenshots successfully!
[2026/7/4 8:37:43] Integrity check passed successfully!
[2026/7/4 8:37:43] Avalonia shell bootstrap completed
[2026/7/4 8:37:59] Version string 2.5.2+autobuild.0621.b4a490f appears to contain non-numeric characters within a numeric segment and will be treated as unknown
[2026/7/4 8:37:59] Version string 2.5.2+autobuild.0621.b4a490f appears to contain non-numeric characters within a numeric segment and will be treated as unknown
[2026/7/4 8:38:01] Version string 4.6.6 Beta 5 appears to contain non-numeric characters within a numeric segment and will be treated as unknown
[2026/7/4 8:38:01] Version string 4.6.6 Beta 5 appears to contain non-numeric characters within a numeric segment and will be treated as unknown
[2026/7/4 8:38:02] WinGet package CreativeTechnology.OpenAL not being shown as an updated as this version has already been marked as installed
[2026/7/4 8:38:02] Version string 7.3.7 Beta 6 appears to contain non-numeric characters within a numeric segment and will be treated as unknown
[2026/7/4 8:38:02] Version string 7.3.7 Beta 6 appears to contain non-numeric characters within a numeric segment and will be treated as unknown
[2026/7/4 8:38:04] Found 13 available updates from Winget
[2026/7/4 8:38:04] Found 446 installed packages from Winget
[2026/7/4 8:38:06] Icon download attempt at https://img001.prntscr.com/file/img001/aG60yNoTRDq_hlSMrV4e1A.png failed with code Forbidden
[2026/7/4 8:38:06] Error when loading the package icon for the package MSIX\Microsoft.Winget.Source_2026.702.1233.24_neutral__8wekyb3d8bbwe on manager Winget
[2026/7/4 8:38:06] System.IO.FileNotFoundException: Could not find file 'C:\Program Files\WindowsApps\Microsoft.Winget.Source_2026.702.1233.24_neutral__8wekyb3d8bbwe\AppxManifest.xml'.
File name: 'C:\Program Files\WindowsApps\Microsoft.Winget.Source_2026.702.1233.24_neutral__8wekyb3d8bbwe\AppxManifest.xml'
at System.IO.Strategies.OSFileStreamStrategy..ctor(String path, FileMode mode, FileAccess access, FileShare share, FileOptions options, Int64 preallocationSize, Nullable`1 unixCreateMode)
at System.IO.File.ReadAllText(String path)
at UniGetUI.PackageEngine.Managers.WinGet.ClientHelpers.WinGetIconsHelper.GetAppxPackageIcon(IPackage package)
at UniGetUI.PackageEngine.Classes.Manager.BaseProviders.BasePkgDetailsHelper.GetIcon(IPackage package)
[2026/7/4 8:38:07] Icon download attempt at https://upload.wikimedia.org/wikipedia/commons/thumb/9/9a/Visual_Studio_Code_1.35_icon.svg/langfr-800px-Visual_Studio_Code_1.35_icon.svg.png failed with code BadRequest
[2026/7/4 8:38:10] Cloud backup completed successfully.
[2026/7/4 9:16:33] Found 3 available packages from Winget with the query comfy
[2026/7/4 9:16:37] Found 0 screenshots for package Id=Comfy.ComfyUI-Desktop
[2026/7/4 9:16:37] Loading WinGet installer metadata with Pinget. Query: Id=Comfy.ComfyUI-Desktop, Source=winget, Exact=True
[2026/7/4 9:16:37] Loaded operation parameters for package id=Comfy.ComfyUI-Desktop on manager Winget and operation Install: install --id "Comfy.ComfyUI-Desktop" --exact --source winget --accept-source-agreements --disable-interactivity --silent --location "D:\Winget\Comfy.ComfyUI-Desktop" --accept-package-agreements --force --proxy http://127.0.0.1:7890
[2026/7/4 9:16:39] Loaded details for package Comfy.ComfyUI-Desktop on manager Winget
[2026/7/4 9:16:44] Loaded operation parameters for package id=Comfy.ComfyUI-Desktop on manager Winget and operation Update: update --id "Comfy.ComfyUI-Desktop" --exact --source winget --accept-source-agreements --disable-interactivity --silent --include-unknown --accept-package-agreements --force --proxy http://127.0.0.1:7890
[2026/7/4 9:16:47] Loaded operation parameters for package id=Comfy.ComfyUI-Desktop on manager Winget and operation Install: install --id "Comfy.ComfyUI-Desktop" --exact --source winget --accept-source-agreements --disable-interactivity --silent --location "D:\Winget\Comfy.ComfyUI-Desktop" --accept-package-agreements --force --proxy http://127.0.0.1:7890
[2026/7/4 9:16:48] Loaded operation parameters for package id=Comfy.ComfyUI-Desktop on manager Winget and operation Update: update --id "Comfy.ComfyUI-Desktop" --exact --source winget --accept-source-agreements --disable-interactivity --silent --include-unknown --accept-package-agreements --force --proxy http://127.0.0.1:7890
[2026/7/4 9:19:16] Auto-updater source 'ProductInfo' returned version 2026.2.2.0 (upgradable=False)
```
### Package Managers Logs
```text
file below
```
### Relevant information
[UniGetUI 日志.txt](https://github.com/user-attachments/files/29651776/UniGetUI.txt)
### Screenshots and videos
_No response_
1 条评论