Devolutions / Devolutions/UniGetUI

[BUG] Window size overwritten after update

Open
#5,016 2 comments 3 reactions 0 assignees View on GitHub
bug
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.2

### Windows version, edition, and architecture

Windows 10 x64

### Describe your issue

A tiny problem which always grinds my gears.

I set the window size as small as possible, because unigetUI doesn't need the full screen. Update button and check for updates are enough. (this picture is after the update because i couldn't believe that because of the update unigetUI changes back to its preferred window size).

Image

i have no opinion aber the cartoon.

this is how unigetUI showed itself after the update.

Image

i don't need that much space for unigetui. max. 25 % of the screen site is enough.

maybe i should have restarted the laptop before update, because i use energy saving mode a lot and this doesn't refresh stuff like registry or so.

### Steps to reproduce the issue

_No response_

### UniGetUI Log

```text
[26.06.2026 10:07:53] __ __ _ ______ __ __ ______
/ / / /___ (_) ____/__ / /_/ / / / _/
/ / / / __ \/ / / __/ _ \/ __/ / / // /
/ /_/ / / / / / /_/ / __/ /_/ /_/ // /
\____/_/ /_/_/\____/\___/\__/\____/___/
Welcome to UniGetUI Version 2026.2.2
[26.06.2026 10:07:53]
[26.06.2026 10:07:53] Build 107
[26.06.2026 10:07:53] UI Framework: Avalonia
[26.06.2026 10:07:53] Data directory C:\Users\Nutzer\AppData\Local\UniGetUI
[26.06.2026 10:07:53] OS: Microsoft Windows 10.0.19045
[26.06.2026 10:07:53] Process arch: X64 (OS: X64)
[26.06.2026 10:07:53] Runtime: .NET 10.0.9
[26.06.2026 10:07:53] Loaded language locale: de
[26.06.2026 10:07:53] Elevated: False
[26.06.2026 10:07:53] Packaged (MSIX): False
[26.06.2026 10:07:53] Args: (none)
[26.06.2026 10:07:59] Command cargo-binstall.exe was not found on the system
[26.06.2026 10:08:00] Previous update attempt killed mid-flow but install succeeded (running version 2026.2.2 matches target 2026.2.2.0). Marking as finished.
[26.06.2026 10:08:01] Unable to retrieve secret for resource 'UniGetUI/GitHubAccessToken': Element nicht gefunden.

Anmeldeinformationen können nicht aus dem Tresor abgerufen werden.
[26.06.2026 10:08:01] Unable to retrieve secret for resource 'UniGetUI/GitHubAccessToken': Element nicht gefunden.

Anmeldeinformationen können nicht aus dem Tresor abgerufen werden.
[26.06.2026 10:08:02] Starting Avalonia shell bootstrap
[26.06.2026 10:08:02] Loaded language locale: de
[26.06.2026 10:08:02] PowerShell is enabled and was found on C:\WINDOWS\System32\WindowsPowerShell\v1.0\powershell.exe
[26.06.2026 10:08:02] Generated a IPC API auth token for the current session
[26.06.2026 10:08:02] Command pwsh.exe was not found on the system
[26.06.2026 10:08:02] PowerShell7 is enabled but was not found on the system!
[26.06.2026 10:08:02] Command vcpkg.exe was not found on the system
[26.06.2026 10:08:02] Command vcpkg was not found on the system
[26.06.2026 10:08:02] Command vcpkg was not found on the system
[26.06.2026 10:08:02] Vcpkg root was not found. Please define the %VCPKG_ROOT% environment variable or define it from UniGetUI Settings
[26.06.2026 10:08:02] vcpkg is enabled but was not found on the system!
[26.06.2026 10:08:02] Command cargo.exe was not found on the system
[26.06.2026 10:08:02] Cargo is enabled but was not found on the system!
[26.06.2026 10:08:02] Command bun.exe was not found on the system
[26.06.2026 10:08:02] Command bun.cmd was not found on the system
[26.06.2026 10:08:02] .NET Tool is enabled but was not found on the system!
[26.06.2026 10:08:02] Bun is enabled but was not found on the system!
[26.06.2026 10:08:02] Chocolatey is not enabled
[26.06.2026 10:08:02] Command npm.cmd was not found on the system
[26.06.2026 10:08:02] Npm is enabled but was not found on the system!
[26.06.2026 10:08:02] Command pwsh.exe was not found on the system
[26.06.2026 10:08:02] Command scoop.ps1 was not found on the system
[26.06.2026 10:08:02] Scoop is enabled but was not found on the system!
[26.06.2026 10:08:02] Pip is enabled and was found on C:\Users\Nutzer\AppData\Local\Programs\Python\Python314\python.EXE
[26.06.2026 10:08:03] ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
█▀▀▀▀▀▀▀▀▀▀▀▀▀ MANAGER LOADED ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
█ Name: PowerShell 5.x (aka PowerShell)
█ Executable name: "powershell.exe"
█ Executable path: "C:\WINDOWS\System32\WindowsPowerShell\v1.0\powershell.exe"
█ Call arguments: " -NoProfile -Command"
█ Version: Name Value
█ ---- -----
█ PSVersion 5.1.19041.7417
█ PSEdition Desktop
█ PSCompatibleVersions {1.0, 2.0, 3.0, 4.0...}
█ BuildVersion 10.0.19041.7417
█ CLRVersion 4.0.30319.42000
█ WSManStackVersion 3.0
█ PSRemotingProtocolVersion 2.3
█ SerializationVersion 1.1.0.1

█ PowerShell 5.x is enabled and ready to go.
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
[26.06.2026 10:08:03] Auto-updater source 'ProductInfo' returned version 2026.2.2.0 (upgradable=False)
[26.06.2026 10:08:03] Connected to WinGet API using packaged COM activation.
[26.06.2026 10:08:03] WinGet activation mode selected: packaged COM registration | Source: system COM registration
[26.06.2026 10:08:03] Winget is enabled and was found on C:\Users\Nutzer\AppData\Local\Microsoft\WindowsApps\winget.exe
[26.06.2026 10:08:05] ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
█▀▀▀▀▀▀▀▀▀▀▀▀▀ MANAGER LOADED ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
█ Name: Pip (aka Pip)
█ Executable name: "pip"
█ Executable path: "C:\Users\Nutzer\AppData\Local\Programs\Python\Python314\python.EXE"
█ Call arguments: "-m pip "
█ Version: pip 26.1.2 from C:\Users\Nutzer\AppData\Local\Programs\Python\Python314\Lib\site-packages\pip (python 3.14)

█ Pip is enabled and ready to go.
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
[26.06.2026 10:08:05] ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
█▀▀▀▀▀▀▀▀▀▀▀▀▀ MANAGER LOADED ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
█ Name: WinGet (aka Winget)
█ Executable name: "winget.exe"
█ Executable path: "C:\Users\Nutzer\AppData\Local\Microsoft\WindowsApps\winget.exe"
█ Call arguments: ""
█ Version: System WinGet (CLI) Version: v1.28.240
█ Using Native WinGet helper (COM Api)
█ Activation mode: packaged COM registration
█ Activation source: system COM registration

█ WinGet is enabled and ready to go.
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
[26.06.2026 10:08:07] Failed to download icons and screenshots
[26.06.2026 10:08:07] System.UnauthorizedAccessException: Access to the path is denied.
at System.IO.FileSystem.MoveFile(String sourceFullPath, String destFullPath, Boolean overwrite)
at UniGetUI.Core.IconEngine.IconDatabase.WriteCacheFileAsync(String path, String contents)
at UniGetUI.Core.IconEngine.IconDatabase.LoadIconAndScreenshotsDatabaseAsync()
[26.06.2026 10:08:08] Api running on named pipe UniGetUI.IPC
[26.06.2026 10:08:12] Found 1 installed packages from Pip
[26.06.2026 10:08:18] Found 0 available updates from Pip
[26.06.2026 10:08:18] Found 1 installed packages from PowerShell
[26.06.2026 10:08:18] Found 1 installed packages from PowerShell
[26.06.2026 10:08:19] Found 0 available updates from PowerShell
[26.06.2026 10:08:34] Integrity check passed successfully!
[26.06.2026 10:08:34] Avalonia shell bootstrap completed
[26.06.2026 10:08:35] Found 199 installed packages from Winget
[26.06.2026 10:08:36] Found 0 available updates from Winget
[26.06.2026 10:08:36] Could not parse Images array from Microsoft Store response
[26.06.2026 10:08:36] Icon download attempt at https://postimg.cc/DSG2WZg2 failed with code NotFound
[26.06.2026 10:08:38] Could not parse Images array from Microsoft Store response
[26.06.2026 10:18:38] Found 0 available updates from Pip
[26.06.2026 10:18:41] Found 1 installed packages from PowerShell
[26.06.2026 10:18:41] Found 0 available updates from PowerShell
[26.06.2026 10:18:53] Found 0 available updates from Winget
```

### Package Managers Logs

```text
Manager WinGet with version:
System WinGet (CLI) Version: v1.28.240
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: 26.06.2026 10:08:06
Process end time: 26.06.2026 10:08:06

-- Task information
...

The task reported success

——————————————————————————————————————————
Logged native task on manager Winget. Task type is ListInstalledPackages
Process start time: 26.06.2026 10:08:10
Process end time: 26.06.2026 10:08:35

-- Task information
...

The task reported success

——————————————————————————————————————————
Logged subprocess-based task on manager Winget. Task type is RefreshIndexes
Subprocess executable: "C:\Users\Nutzer\AppData\Local\Microsoft\WindowsApps\winget.exe"
Command-line arguments: " source update --disable-interactivity "
Process start time: 26.06.2026 10:08:10
Process end time: 26.06.2026 10:08:11

-- Process STDOUT
...

Return code: SUCCESS (0)

——————————————————————————————————————————
Logged native task on manager Winget. Task type is OtherTask
Process start time: 26.06.2026 10:08:11
Process end time: 26.06.2026 10:08:31

-- Task information
...

The task reported success

——————————————————————————————————————————
Logged native task on manager Winget. Task type is ListUpdates
Process start time: 26.06.2026 10:08:17
Process end time: 26.06.2026 10:08:36

The task reported success

——————————————————————————————————————————
Logged subprocess-based task on manager Winget. Task type is RefreshIndexes
Subprocess executable: "C:\Users\Nutzer\AppData\Local\Microsoft\WindowsApps\winget.exe"
Command-line arguments: " source update --disable-interactivity "
Process start time: 26.06.2026 10:18:36
Process end time: 26.06.2026 10:18:37

-- Process STDOUT
...

Return code: SUCCESS (0)

——————————————————————————————————————————
Logged native task on manager Winget. Task type is ListUpdates
Process start time: 26.06.2026 10:18:37
Process end time: 26.06.2026 10:18:53

The task reported success

——————————————————————————————————————————
Logged native task on manager Winget. Task type is OtherTask
Process start time: 26.06.2026 10:18:37
Process end time: 26.06.2026 10:18:51

-- Task information
...

The task reported success

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

### Relevant information

_No response_

### Screenshots and videos

_No response_

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the reported Windows 10 scenario: resize the UniGetUI window, update the application, and check whether the saved size is replaced. Inspect the Avalonia desktop startup and update flow to find where window dimensions are restored or overwritten. Done means the user's chosen size remains after an update; add a regression test if the project provides a suitable test entry point.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp
Domain
desktop
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Needs clarification
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.