UniGetUI icon indicating copy to clipboard operation
UniGetUI copied to clipboard

[BUG] UI layout stuck during updates

Open mwisnicki opened this issue 10 months ago • 10 comments

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.
  • [x] I have checked the FAQ section for solutions.
  • [x] This issue is about a bug (if it is not, please use the correct template).

UniGetUI Version

3.1.6

Windows version, edition, and architecture

Windows 11 Pro 10.0.26100.3037

Describe your issue

I started updates with maximized UniGetUI main window and then unmaximized it.

The layout got stuck with most elements out of bounds and not responding to input except the list of packages is responding to mouse scroll so the UI is not fully frozen.

Applications continue to update in the background and I receive notifications from UniGetUI about them.

Steps to reproduce the issue

No response

UniGetUI Log

Couldn't access due to locked UI. This is captured after restart:

[2025-02-10 22:22:14]    __  __      _ ______     __  __  ______
                        / / / /___  (_) ____/__  / /_/ / / /  _/
                       / / / / __ \/ / / __/ _ \/ __/ / / // /
                      / /_/ / / / / / /_/ /  __/ /_/ /_/ // /
                      \____/_/ /_/_/\____/\___/\__/\____/___/
                          Welcome to UniGetUI Version 3.1.6
[2025-02-10 22:22:14]
[2025-02-10 22:22:14] Build 80
[2025-02-10 22:22:14] Data directory C:\Users\mwisn\AppData\Local\UniGetUI
[2025-02-10 22:22:14] Encoding Code Page set to 437
[2025-02-10 22:22:14] Using built-in UniGetUI Elevator
[2025-02-10 22:22:15] Loaded language locale: en
[2025-02-10 22:22:15] Randomly-generated background API auth token for the current session: d5cxtkyozsoskq2f01qvenuctyyny5nbk6igrqa7baaj92zxwlyz3pm1gf170cor
[2025-02-10 22:22:15] Api running on http://localhost:7058
[2025-02-10 22:22:15] Lang files were updated successfully from GitHub
[2025-02-10 22:22:16] Old chocolatey path is a symbolic link, not migrating Chocolatey...
[2025-02-10 22:22:16] Downloaded new icons and screenshots successfully!
[2025-02-10 22:22:16] Command cargo was not found on the system
[2025-02-10 22:22:16] ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
                      █▀▀▀▀▀▀▀▀▀▀▀▀▀ MANAGER LOADED ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
                      █ Name: Cargo
                      █ Enabled: True
                      █ Found: False
                      █ THE MANAGER WAS NOT FOUND. PERHAPS IT IS NOT 
                      █ INSTALLED OR IT HAS BEEN MISCONFIGURED 
                      ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
[2025-02-10 22:22:16] Command vcpkg was not found on the system
[2025-02-10 22:22:17] Command vcpkg was not found on the system
[2025-02-10 22:22:17] ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
                      █▀▀▀▀▀▀▀▀▀▀▀▀▀ MANAGER LOADED ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
                      █ Name: Pip
                      █ Enabled: False
                      █ THE MANAGER IS DISABLED
                      ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
[2025-02-10 22:22:17] Command vcpkg was not found on the system
[2025-02-10 22:22:17] ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
                      █▀▀▀▀▀▀▀▀▀▀▀▀▀ MANAGER LOADED ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
                      █ Name: vcpkg
                      █ Enabled: True
                      █ Found: False
                      █ THE MANAGER WAS NOT FOUND. PERHAPS IT IS NOT 
                      █ INSTALLED OR IT HAS BEEN MISCONFIGURED 
                      ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
[2025-02-10 22:22:17] Command pwsh.exe was not found on the system
[2025-02-10 22:22:17] ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
                      █▀▀▀▀▀▀▀▀▀▀▀▀▀ MANAGER LOADED ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
                      █ Name: PowerShell7
                      █ Enabled: True
                      █ Found: False
                      █ THE MANAGER WAS NOT FOUND. PERHAPS IT IS NOT 
                      █ INSTALLED OR IT HAS BEEN MISCONFIGURED 
                      ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
[2025-02-10 22:22:18] ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
                      █▀▀▀▀▀▀▀▀▀▀▀▀▀ MANAGER LOADED ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
                      █ Name: Winget
                      █ Enabled: True
                      █ Found: True
                      █ Fancy exe name: winget.exe
                      █ Executable path: C:\Users\mwisn\AppData\Local\Microsoft\WindowsApps\winget.exe
                      █ Call arguments: 
                      █ Version: 
                      █   System WinGet CLI Version: v1.9.25200
                      █   Using Native WinGet helper (COM Api)
                      ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
[2025-02-10 22:22:18] ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
                      █▀▀▀▀▀▀▀▀▀▀▀▀▀ MANAGER LOADED ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
                      █ Name: .NET Tool
                      █ Enabled: True
                      █ Found: True
                      █ Fancy exe name: dotnet tool
                      █ Executable path: C:\Program Files\dotnet\dotnet.exe
                      █ Call arguments: tool
                      █ Version: 
                      █   9.0.102
                      ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
[2025-02-10 22:22:19] ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
                      █▀▀▀▀▀▀▀▀▀▀▀▀▀ MANAGER LOADED ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
                      █ Name: Npm
                      █ Enabled: True
                      █ Found: True
                      █ Fancy exe name: npm
                      █ Executable path: C:\WINDOWS\system32\windowspowershell\v1.0\powershell.exe
                      █ Call arguments:  -NoProfile -ExecutionPolicy Bypass -Command npm
                      █ Version: 
                      █   10.9.2
                      ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
[2025-02-10 22:22:19] ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
                      █▀▀▀▀▀▀▀▀▀▀▀▀▀ MANAGER LOADED ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
                      █ Name: Chocolatey
                      █ Enabled: True
                      █ Found: True
                      █ Fancy exe name: choco.exe
                      █ Executable path: C:\ProgramData\chocolatey\bin\choco.exe
                      █ Call arguments: 
                      █ Version: 
                      █   2.4.2
                      ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
[2025-02-10 22:22:21] ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
                      █▀▀▀▀▀▀▀▀▀▀▀▀▀ MANAGER LOADED ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
                      █ Name: PowerShell
                      █ Enabled: True
                      █ Found: True
                      █ Fancy exe name: powershell.exe
                      █ Executable path: C:\WINDOWS\system32\windowspowershell\v1.0\powershell.exe
                      █ Call arguments:  -NoProfile -Command
                      █ Version: 
                      █   Name                           Value                                                                                   
                      █   ----                           -----                                                                                   
                      █   PSVersion                      5.1.26100.2161                                                                          
                      █   PSEdition                      Desktop                                                                                 
                      █   PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0...}                                                                 
                      █   BuildVersion                   10.0.26100.2161                                                                         
                      █   CLRVersion                     4.0.30319.42000                                                                         
                      █   WSManStackVersion              3.0                                                                                     
                      █   PSRemotingProtocolVersion      2.3                                                                                     
                      █   SerializationVersion           1.1.0.1
                      ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
[2025-02-10 22:22:22] ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
                      █▀▀▀▀▀▀▀▀▀▀▀▀▀ MANAGER LOADED ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
                      █ Name: Scoop
                      █ Enabled: True
                      █ Found: True
                      █ Fancy exe name: scoop
                      █ Executable path: C:\WINDOWS\system32\windowspowershell\v1.0\powershell.exe
                      █ Call arguments:  -NoProfile -ExecutionPolicy Bypass -Command scoop
                      █ Version: 
                      █   Current Scoop version:
                      █   859d1db5 chore(release): Bump to version 0.5.2 (#6080)
                      █   
                      █   'main' bucket:
                      █   1490fbd52 uv: Update to version 0.5.30
                      █   
                      █   'extras' bucket:
                      █   02288a002 ueli: Update to version 9.17.0
                      █   
                      █   'java' bucket:
                      █   d321c7fe semeru8-jre: Update to version 8u442-b06-0.49.0
                      ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
[2025-02-10 22:22:22] LoadComponentsAsync finished executing. All managers loaded. Proceeding to interface.
[2025-02-10 22:22:22] Dependency Scoop-Search for manager Scoop is present
[2025-02-10 22:22:23] Dependency Git for manager Scoop is present
[2025-02-10 22:22:24] Dependency .NET Tools Outdated for manager .NET Tool is present
[2025-02-10 22:22:28] Found 0 installed packages from Npm
[2025-02-10 22:22:29] Found 30 installed packages from Chocolatey
[2025-02-10 22:22:30] Found 1 installed packages from .NET Tool
[2025-02-10 22:22:31] Found 4 available updates from Chocolatey
[2025-02-10 22:22:32] Found 1 installed packages from PowerShell
[2025-02-10 22:22:33] Found 0 available updates from .NET Tool
[2025-02-10 22:22:34] Found 17 installed packages from Scoop
[2025-02-10 22:22:34] Found 17 installed packages from Scoop
[2025-02-10 22:22:36] Found 0 available updates from PowerShell
[2025-02-10 22:22:36] Found 4 available updates from Winget
[2025-02-10 22:22:36] Found 294 installed packages from Winget
[2025-02-10 22:22:36] Backup saved to C:\Users\mwisn\OneDrive\Documents\UniGetUI\MW-SURFACEPRO8 installed packages.ubundle
[2025-02-10 22:22:37] Found 0 available updates from Npm
[2025-02-10 22:22:39] Found 0 available updates from Scoop

Package Managers Logs

Captured after restart

Manager WinGet with version:
System WinGet CLI Version: v1.9.25200
Using Native WinGet helper (COM Api)

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


Logged native task on manager Winget. Task type is ListSources
Process start time: 2025-02-10 22:22:18
Process end time:   2025-02-10 22:22:18

-- Task information
 ...

The task reported success

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

Logged native task on manager Winget. Task type is ListInstalledPackages
Process start time: 2025-02-10 22:22:22
Process end time:   2025-02-10 22:22:36

-- Task information
 ...

The task reported success

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

Logged subprocess-based task on manager Winget. Task type is RefreshIndexes
Subprocess executable: "C:\Users\mwisn\AppData\Local\Microsoft\WindowsApps\winget.exe"
Command-line arguments: " source update --disable-interactivity"
Process start time: 2025-02-10 22:22:28
Process end time:   2025-02-10 22:22:28

-- Process STDOUT
 ...

Return code: SUCCESS (0)

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

Logged native task on manager Winget. Task type is OtherTask
Process start time: 2025-02-10 22:22:29
Process end time:   2025-02-10 22:22:33

-- Task information
 ...

The task reported success

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

Logged native task on manager Winget. Task type is ListUpdates
Process start time: 2025-02-10 22:22:30
Process end time:   2025-02-10 22:22:36

-- Task information
 ...

The task reported success

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

Relevant information

Tray icon title says "Attention required"

Screenshots and videos

Image

mwisnicki avatar Feb 11 '25 03:02 mwisnicki

Can you remember which app were you updating?

marticliment avatar Feb 11 '25 06:02 marticliment

All of them. Not sure which one was it at when I switched to the window.

I assumed there is some modal piece of ui blocking event processing that went bad, perhaps that "share anonymous data" in toolbar?

mwisnicki avatar Feb 11 '25 07:02 mwisnicki

I could also close main window and recall it from tray icon and it was still stuck.

mwisnicki avatar Feb 11 '25 07:02 mwisnicki

All of them. Not sure which one was it at when I switched to the window.

I assumed there is some modal piece of ui blocking event processing that went bad, perhaps that "share anonymous data" in toolbar?

No, it shouldn't

marticliment avatar Feb 11 '25 14:02 marticliment

I'm seeing the same thing - actually had to kill the app when it attempted to update GoW: the GoW installer launched a dialog asking if it should uninstall the existing version and I couldn't focus or click on that, and UniGetUI also got stuck. I killed all of that and started again, unticking GoW for updates, and then it appeared to get stuck whilst updating VS Build tools - UI unresponsive even after (eventually) the installer completed.

I'm leaving it running in this state because it's still completing other installers - but again, the app is non-responsive to user input.

I really like this front-end, but it's kinda frustrating when the UI becomes unresponsive to user input - I couldn't click settings or about or anything.

fluffynuts avatar Feb 13 '25 08:02 fluffynuts

I will continue investigating the issue, however I cannot reproduce it with the given steps - for me the UI works fine

marticliment avatar Feb 13 '25 15:02 marticliment

I will continue investigating the issue, however I cannot reproduce it with the given steps - for me the UI works fine

do you mean the OP given steps, or have you tried with GoW and VS (I have VS Community and VS Build tools installed)? This is on upgrade, so it would take a little time to test, tho GoW should give the same issue every time as it's pretty-much stable and appears to be "upgradeable" because winget doesn't know what version is installed.

fluffynuts avatar Feb 14 '25 08:02 fluffynuts

Yeah, I have tried GoW, and I regularly update vs community via UniGetUI, and the interface doesn't freeze at any point

marticliment avatar Feb 14 '25 09:02 marticliment

I feel your pain - trying to debug issues that you can't reproduce is an exercise in futility

fluffynuts avatar Feb 14 '25 09:02 fluffynuts

I'm experiencing this same issue when attempting to update pretty much any app, but I can reproduce this consistently when trying to download the "Files" app (package ID "files"). (In my case it fails to download, but I believe that's unrelated to this issue.)

Result found below (image), can scroll the feed with packages but only of those I had already viewed before attempting to perform the installation and the UI breaks when scrolling up. Also, attempting to resize the window after the fact will result in black areas. Requires to be forced to shut down to make it usable once again. Image

JoeyHamlet avatar Apr 28 '25 18:04 JoeyHamlet