Devolutions / Devolutions/UniGetUI

[BUG] Successful update forces app in foreground / focus

Closed
#5,315 1 comment 1 reaction 1 assignee Claimed by @GabrielDuf View on GitHub
bug ready-for-release
Dominant language
C#
Stars
26.1k
Forks
924
Avg merge
15h 52m
Merged PRs (30d)
52

Description

### 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.7

### Windows version, edition, and architecture

Windows 11 Home, 10.0.26200 Build 26200, x64

### Describe your issue

Since few weeks/months I noticed the following:
Every time I start updates and minimize the window... as soon as an installation is done the screen forces itself in foreground.

Disclaimer: since English is not my native English, the issue might exist already - I'm fine with closing this then.
If this is intended behaviour I want a toggle to disable it - the updates should run in background, I have other stuff to do than watching/baby sitting them (then I could do them manually as well, you know).

### Steps to reproduce the issue

1. start winget update process (probl. also any other)
2. minimize window
3. wait until it's done

### UniGetUI Log

```text
[22.08.2026 21:54:24] __ __ _ ______ __ __ ______
/ / / /___ (_) ____/__ / /_/ / / / _/
/ / / / __ \/ / / __/ _ \/ __/ / / // /
/ /_/ / / / / / /_/ / __/ /_/ /_/ // /
\____/_/ /_/_/\____/\___/\__/\____/___/
Welcome to UniGetUI Version 2026.2.7
[22.08.2026 21:54:24]
[22.08.2026 21:54:24] Build 107
[22.08.2026 21:54:24] UI Framework: Avalonia
[22.08.2026 21:54:24] Data directory C:\Users\rala\AppData\Local\UniGetUI
[22.08.2026 21:54:24] OS: Microsoft Windows 10.0.26200
[22.08.2026 21:54:24] Process arch: X64 (OS: X64)
[22.08.2026 21:54:24] Runtime: .NET 10.0.10
[22.08.2026 21:54:24] Loaded language locale: de
[22.08.2026 21:54:24] Elevated: False
[22.08.2026 21:54:24] Packaged (MSIX): False
[22.08.2026 21:54:24] Args: --daemon
[22.08.2026 21:54:24] DXGI hardware GPU detection took 10,7 ms; hardware GPU: True
[22.08.2026 21:54:25] Command cargo-binstall.exe was not found on the system
[22.08.2026 21:54:25] Starting Avalonia shell bootstrap
[22.08.2026 21:54:25] Loaded language locale: de
[22.08.2026 21:54:25] Generated a IPC API auth token for the current session
[22.08.2026 21:54:25] Scoop is not enabled
[22.08.2026 21:54:25] Npm is not enabled
[22.08.2026 21:54:25] PowerShell7 is not enabled
[22.08.2026 21:54:25] Bun is not enabled
[22.08.2026 21:54:25] Chocolatey is not enabled
[22.08.2026 21:54:25] Pip is not enabled
[22.08.2026 21:54:25] .NET Tool is not enabled
[22.08.2026 21:54:25] vcpkg is not enabled
[22.08.2026 21:54:25] Cargo is not enabled
[22.08.2026 21:54:25] PowerShell is not enabled
[22.08.2026 21:54:25] Command pinget.exe was not found on the system
[22.08.2026 21:54:25] Api running on named pipe UniGetUI.IPC
[22.08.2026 21:54:25] Auto-updater source 'ProductInfo' returned version 2026.2.7.0 (upgradable=False)
[22.08.2026 21:54:25] Connected to WinGet API using packaged COM activation.
[22.08.2026 21:54:25] WinGet activation mode selected: packaged COM registration | Source: system COM registration
[22.08.2026 21:54:25] Winget is enabled and was found on C:\Users\rala\AppData\Local\Microsoft\WindowsApps\winget.exe
[22.08.2026 21:54:25] ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
█▀▀▀▀▀▀▀▀▀▀▀▀▀ MANAGER LOADED ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
█ Name: WinGet (aka Winget)
█ Executable name: "winget.exe"
█ Executable path: "C:\Users\rala\AppData\Local\Microsoft\WindowsApps\winget.exe"
█ Call arguments: ""
█ Version: System WinGet (CLI) Version: v1.29.290
█ Using Native WinGet helper (COM Api)
█ Activation mode: packaged COM registration
█ Activation source: system COM registration

█ WinGet is enabled and ready to go.
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
[22.08.2026 21:54:25] Downloaded new icons and screenshots successfully!
[22.08.2026 21:54:26] Integrity check passed successfully!
[22.08.2026 21:54:26] Avalonia shell bootstrap completed
[22.08.2026 21:54:32] Found 461 installed packages from Winget
[22.08.2026 21:54:32] Couldn't parse update ignoration < 168.2.0.12932:
[22.08.2026 21:54:32] System.FormatException: String ' 168.2.0.12932' was not recognized as a valid DateTime.
at UniGetUI.PackageEngine.Classes.Packages.Classes.IgnoredUpdatesDatabase.HasUpdatesIgnored(String, String) + 0x1ea
[22.08.2026 21:54:32] Found 13 available updates from Winget
[22.08.2026 21:54:32] Couldn't parse update ignoration < 168.2.0.12932:
[22.08.2026 21:54:32] Couldn't parse update ignoration < 168.2.0.12932:
[22.08.2026 21:54:32] System.FormatException: String ' 168.2.0.12932' was not recognized as a valid DateTime.
at UniGetUI.PackageEngine.Classes.Packages.Classes.IgnoredUpdatesDatabase.HasUpdatesIgnored(String, String) + 0x1ea
[22.08.2026 21:54:32] System.FormatException: String ' 168.2.0.12932' was not recognized as a valid DateTime.
at UniGetUI.PackageEngine.Classes.Packages.Classes.IgnoredUpdatesDatabase.HasUpdatesIgnored(String, String) + 0x1ea
[22.08.2026 21:54:32] Local backup saved to C:\Users\rala\Documents\UniGetUI\RALAPC23 installierte Pakete 2026-08-22 21-54-32.ubundle
[22.08.2026 21:54:33] Could not resolve installer hosts for Microsoft.Outlook version 1.2026.728.100: Failed during source operation 'manifest' for 'winget': Version '1.2026.728.100' was not found for package 'Microsoft.Outlook' in source 'winget'.
[22.08.2026 21:54:34] Could not resolve installer hosts for Microsoft.WSL version 2.7.11.0: Failed during source operation 'manifest' for 'winget': Version '2.7.11.0' was not found for package 'Microsoft.WSL' in source 'winget'.
[22.08.2026 21:54:34] Cloud backup completed successfully.
[22.08.2026 21:54:35] Could not resolve installer hosts for TacitDynamics.FolderSync version 2.9.1.0: Failed during source operation 'manifest' for 'winget': Version '2.9.1.0' was not found for package 'TacitDynamics.FolderSync' in source 'winget'.
[22.08.2026 22:06:31] Cached icon for id=Microsoft.WSL is INVALID (SHA256)
[22.08.2026 22:06:35] Loaded operation parameters for package id=Bitwarden.Bitwarden on manager Winget and operation Update: update --id "Bitwarden.Bitwarden" --exact --source winget --accept-source-agreements --disable-interactivity --silent --include-unknown --accept-package-agreements --force
[22.08.2026 22:06:35] [AgentBroker] ShouldUseAgentBroker check: eligible=False, manager=Winget, virtualSource=False
[22.08.2026 22:08:00] WinGet package Docker.DockerDesktop requires elevation, forcing administrator rights...
[22.08.2026 22:08:00] Loaded operation parameters for package id=Docker.DockerDesktop on manager Winget and operation Update: update --id "Docker.DockerDesktop" --exact --source winget --accept-source-agreements --disable-interactivity --silent --include-unknown --accept-package-agreements --force
[22.08.2026 22:08:00] [AgentBroker] ShouldUseAgentBroker check: eligible=False, manager=Winget, virtualSource=False
[22.08.2026 22:08:00] Caching admin rights for process id 15720
[22.08.2026 22:08:05] Found 461 installed packages from Winget
[22.08.2026 22:08:47] Loaded operation parameters for package id=TacitDynamics.FolderSync on manager Winget and operation Update: update --id "TacitDynamics.FolderSync" --exact --source winget --accept-source-agreements --disable-interactivity --silent --include-unknown --accept-package-agreements --force
[22.08.2026 22:08:47] [AgentBroker] ShouldUseAgentBroker check: eligible=False, manager=Winget, virtualSource=False
[22.08.2026 22:08:50] Found 461 installed packages from Winget
[22.08.2026 22:08:53] WinGet package Mozilla.Firefox is installed on a system-wide scope, forcing administrator rights...
[22.08.2026 22:08:53] Loaded operation parameters for package id=Mozilla.Firefox on manager Winget and operation Update: update --id "Mozilla.Firefox" --exact --source winget --accept-source-agreements --disable-interactivity --silent --include-unknown --accept-package-agreements --force
[22.08.2026 22:08:53] [AgentBroker] ShouldUseAgentBroker check: eligible=False, manager=Winget, virtualSource=False
[22.08.2026 22:08:53] Caching admin rights for process id 15720
[22.08.2026 22:08:54] Found 461 installed packages from Winget
[22.08.2026 22:09:11] WinGet package Oracle.VirtualBox is installed on a system-wide scope, forcing administrator rights...
[22.08.2026 22:09:11] Loaded operation parameters for package id=Oracle.VirtualBox on manager Winget and operation Update: update --id "Oracle.VirtualBox" --exact --source winget --accept-source-agreements --disable-interactivity --silent --include-unknown --accept-package-agreements --force
[22.08.2026 22:09:11] [AgentBroker] ShouldUseAgentBroker check: eligible=False, manager=Winget, virtualSource=False
[22.08.2026 22:09:11] Caching admin rights for process id 15720
[22.08.2026 22:09:15] Found 461 installed packages from Winget
[22.08.2026 22:09:46] Loaded operation parameters for package id=Microsoft.Outlook on manager Winget and operation Update: update --id "Microsoft.Outlook" --exact --source winget --accept-source-agreements --disable-interactivity --silent --include-unknown --accept-package-agreements --force
[22.08.2026 22:09:46] [AgentBroker] ShouldUseAgentBroker check: eligible=False, manager=Winget, virtualSource=False
[22.08.2026 22:09:49] Found 461 installed packages from Winget
[22.08.2026 22:09:55] Path returned by the package manager "C:\Program Files\WindowsApps\Microsoft.OutlookForWindows_1.2026.728.100_x64__8wekyb3d8bbwe" did not exist while loading package install location for package Id=Microsoft.Outlook with Manager=Winget
[22.08.2026 22:09:55] Loaded operation parameters for package id=Postman.Postman on manager Winget and operation Update: update --id "Postman.Postman" --exact --source winget --accept-source-agreements --disable-interactivity --silent --include-unknown --accept-package-agreements --force
[22.08.2026 22:09:55] [AgentBroker] ShouldUseAgentBroker check: eligible=False, manager=Winget, virtualSource=False
[22.08.2026 22:09:56] Found 461 installed packages from Winget
[22.08.2026 22:10:11] WinGet package TeamViewer.TeamViewer is installed on a system-wide scope, forcing administrator rights...
[22.08.2026 22:10:11] Loaded operation parameters for package id=TeamViewer.TeamViewer on manager Winget and operation Update: update --id "TeamViewer.TeamViewer" --exact --source winget --accept-source-agreements --disable-interactivity --silent --include-unknown --accept-package-agreements --force
[22.08.2026 22:10:11] [AgentBroker] ShouldUseAgentBroker check: eligible=False, manager=Winget, virtualSource=False
[22.08.2026 22:10:11] Caching admin rights for process id 15720
[22.08.2026 22:10:14] Found 461 installed packages from Winget
[22.08.2026 22:10:35] WinGet package Microsoft.WSL requires elevation, forcing administrator rights...
[22.08.2026 22:10:35] Loaded operation parameters for package id=Microsoft.WSL on manager Winget and operation Update: update --id "Microsoft.WSL" --exact --source winget --accept-source-agreements --disable-interactivity --silent --include-unknown --accept-package-agreements --force
[22.08.2026 22:10:35] [AgentBroker] ShouldUseAgentBroker check: eligible=False, manager=Winget, virtualSource=False
[22.08.2026 22:10:35] Caching admin rights for process id 15720
[22.08.2026 22:10:38] Found 461 installed packages from Winget
[22.08.2026 22:10:43] Path returned by the package manager "C:\Program Files\WindowsApps\MicrosoftCorporationII.WindowsSubsystemForLinux_2.7.11.0_x64__8wekyb3d8bbwe" did not exist while loading package install location for package Id=Microsoft.WSL with Manager=Winget
[22.08.2026 22:10:43] Clearing UAC prompt since there are no remaining operations
[22.08.2026 22:10:43] Resetting administrator rights cache for process id 15720
[22.08.2026 22:10:43] Found 461 installed packages from Winget
[22.08.2026 22:20:11] Loaded language locale: de
[22.08.2026 22:21:16] Auto-updater source 'ProductInfo' returned version 2026.2.7.0 (upgradable=False)
```

### Package Managers Logs

```text
Manager WinGet with version:
System WinGet (CLI) Version: v1.29.290
Using Native WinGet helper (COM Api)
Activation mode: packaged COM registration
Activation source: system COM registration

——————————————————————————————————————————

Logged native task on manager Winget. Task type is ListSources
Process start time: 22.08.2026 21:54:25
Process end time: 22.08.2026 21:54:25

-- Task information
...

The task reported success

——————————————————————————————————————————
Logged native task on manager Winget. Task type is ListInstalledPackages
Process start time: 22.08.2026 21:54:25
Process end time: 22.08.2026 21:54:32

-- Task information
...

The task reported success

——————————————————————————————————————————
Logged subprocess-based task on manager Winget. Task type is RefreshIndexes
Subprocess executable: "C:\Users\rala\AppData\Local\Microsoft\WindowsApps\winget.exe"
Command-line arguments: " source update --disable-interactivity "
Process start time: 22.08.2026 21:54:25
Process end time: 22.08.2026 21:54:27

-- Process STDOUT
...

Return code: SUCCESS (0)

——————————————————————————————————————————
Logged native task on manager Winget. Task type is OtherTask
Process start time: 22.08.2026 21:54:25
Process end time: 22.08.2026 21:54:29

-- Task information
...

The task reported success

——————————————————————————————————————————
Logged native task on manager Winget. Task type is ListUpdates
Process start time: 22.08.2026 21:54:27
Process end time: 22.08.2026 21:54:32

-- Task information
...

The task reported success

——————————————————————————————————————————
Logged native task on manager Winget. Task type is ListInstalledPackages
Process start time: 22.08.2026 22:08:00
Process end time: 22.08.2026 22:08:05

-- Task information
...

The task reported success

——————————————————————————————————————————
Logged native task on manager Winget. Task type is OtherTask
Process start time: 22.08.2026 22:08:00
Process end time: 22.08.2026 22:08:02

-- Task information
...

The task reported success

——————————————————————————————————————————
Logged native task on manager Winget. Task type is ListInstalledPackages
Process start time: 22.08.2026 22:08:47
Process end time: 22.08.2026 22:08:50

-- Task information
...

The task reported success

——————————————————————————————————————————
Logged native task on manager Winget. Task type is OtherTask
Process start time: 22.08.2026 22:08:47
Process end time: 22.08.2026 22:08:49

-- Task information
...

The task reported success

——————————————————————————————————————————
Logged native task on manager Winget. Task type is ListInstalledPackages
Process start time: 22.08.2026 22:08:53
Process end time: 22.08.2026 22:08:54

-- Task information
...

The task reported success

——————————————————————————————————————————
Logged native task on manager Winget. Task type is ListInstalledPackages
Process start time: 22.08.2026 22:09:11
Process end time: 22.08.2026 22:09:15

-- Task information
...

The task reported success

——————————————————————————————————————————
Logged native task on manager Winget. Task type is OtherTask
Process start time: 22.08.2026 22:09:11
Process end time: 22.08.2026 22:09:13

-- Task information
...

The task reported success

——————————————————————————————————————————
Logged native task on manager Winget. Task type is ListInstalledPackages
Process start time: 22.08.2026 22:09:46
Process end time: 22.08.2026 22:09:49

-- Task information
...

The task reported success

——————————————————————————————————————————
Logged native task on manager Winget. Task type is OtherTask
Process start time: 22.08.2026 22:09:46
Process end time: 22.08.2026 22:09:48

-- Task information
...

The task reported success

——————————————————————————————————————————
Logged native task on manager Winget. Task type is ListInstalledPackages
Process start time: 22.08.2026 22:09:55
Process end time: 22.08.2026 22:09:56

-- Task information
...

The task reported success

——————————————————————————————————————————
Logged native task on manager Winget. Task type is ListInstalledPackages
Process start time: 22.08.2026 22:10:10
Process end time: 22.08.2026 22:10:14

-- Task information
...

The task reported success

——————————————————————————————————————————
Logged native task on manager Winget. Task type is OtherTask
Process start time: 22.08.2026 22:10:10
Process end time: 22.08.2026 22:10:13

-- Task information
...

The task reported success

——————————————————————————————————————————
Logged native task on manager Winget. Task type is ListInstalledPackages
Process start time: 22.08.2026 22:10:35
Process end time: 22.08.2026 22:10:38

-- Task information
...

The task reported success

——————————————————————————————————————————
Logged native task on manager Winget. Task type is OtherTask
Process start time: 22.08.2026 22:10:35
Process end time: 22.08.2026 22:10:37

-- Task information
...

The task reported success

——————————————————————————————————————————
Logged native task on manager Winget. Task type is ListInstalledPackages
Process start time: 22.08.2026 22:10:43
Process end time: 22.08.2026 22:10:43

-- Task information
...

The task reported success

——————————————————————————————————————————
```

### Relevant information

_No response_

### Screenshots and videos

_No response_

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.