Skip to content

[BUG] Can't reboot Linux while UniGetUI is minimized to the tray #4789

@ekolis

Description

@ekolis

Please confirm these before moving forward

  • I have searched for my issue and have not found a work-in-progress/duplicate/resolved issue.
  • I have tested that this issue has not been fixed in the latest (beta or stable) release.
  • I have checked the FAQ section for solutions.
  • This issue is about a bug (if it is not, please use the correct template).

UniGetUI Version

2026.1.10

Windows version, edition, and architecture

Bazzite Linux (Bazzite-DX) 43, x86-64

Describe your issue

If I enable the new "close to tray" feature on Linux, then attempt to reboot, the reboot is blocked and I get an alert "logout cancelled by ''". I need to completely exit UniGetUI before I can reboot.

Steps to reproduce the issue

  1. Install UniGetUI on Linux
  2. Enable the "close to tray" feature
  3. Close UniGetUI so that it minimizes to the tray
  4. Attempt to reboot

UniGetUI Log

[5/15/2026 3:12:30?PM]    __  __      _ ______     __  __  ______
                         / / / /___  (_) ____/__  / /_/ / / /  _/
                        / / / / __ \/ / / __/ _ \/ __/ / / // /
                       / /_/ / / / / / /_/ /  __/ /_/ /_/ // /
                       \____/_/ /_/_/\____/\___/\__/\____/___/
                           Welcome to UniGetUI Version 2026.1.10
[5/15/2026 3:12:30?PM]   
[5/15/2026 3:12:30?PM] Build 107
[5/15/2026 3:12:30?PM] UI Framework: Avalonia
[5/15/2026 3:12:30?PM] Data directory /home/ed/.local/share/UniGetUI
[5/15/2026 3:12:30?PM] OS: Bazzite
[5/15/2026 3:12:30?PM] Process arch: X64 (OS: X64)
[5/15/2026 3:12:30?PM] Runtime: .NET 10.0.5
[5/15/2026 3:12:30?PM] Loaded language locale: en
[5/15/2026 3:12:30?PM] Elevated: False
[5/15/2026 3:12:30?PM] Packaged (MSIX): False
[5/15/2026 3:12:30?PM] Args: (none)
[5/15/2026 3:12:31?PM] Command cargo-binstall was not found on the system
[5/15/2026 3:12:31?PM] Starting Avalonia shell bootstrap
[5/15/2026 3:12:31?PM] Loaded language locale: en
[5/15/2026 3:12:31?PM] Generated a IPC API auth token for the current session
[5/15/2026 3:12:31?PM] vcpkg is not enabled
[5/15/2026 3:12:31?PM] Dnf is not enabled
[5/15/2026 3:12:31?PM] Pip is not enabled
[5/15/2026 3:12:31?PM] PowerShell7 is not enabled
[5/15/2026 3:12:31?PM] Command brew was not found on the system
[5/15/2026 3:12:31?PM] Npm is not enabled
[5/15/2026 3:12:31?PM] Cargo is not enabled
[5/15/2026 3:12:31?PM] Snap is not enabled
[5/15/2026 3:12:31?PM] Flatpak is enabled and was found on /usr/bin/flatpak
[5/15/2026 3:12:31?PM] Homebrew is enabled and was found on /home/linuxbrew/.linuxbrew/bin/brew
[5/15/2026 3:12:31?PM] ?????????????????????????????????????????????
                       ?????????????? MANAGER LOADED ???????????????
                       ? Name: Flatpak (aka Flatpak)
                       ? Executable name: "flatpak"
                       ? Executable path: "/usr/bin/flatpak"
                       ? Call arguments: ""
                       ? Version: 1.16.6
                       ?          
                       ? Flatpak is enabled and ready to go.
                       ?????????????????????????????????????????????
[5/15/2026 3:12:31?PM] ?????????????????????????????????????????????
                       ?????????????? MANAGER LOADED ???????????????
                       ? Name: Homebrew (aka Homebrew)
                       ? Executable name: "brew"
                       ? Executable path: "/home/linuxbrew/.linuxbrew/bin/brew"
                       ? Call arguments: ""
                       ? Version: 5.1.11
                       ?          
                       ? Homebrew is enabled and ready to go.
                       ?????????????????????????????????????????????
[5/15/2026 3:12:31?PM] .NET Tool is enabled and was found on /usr/bin/dotnet
[5/15/2026 3:12:31?PM] ?????????????????????????????????????????????
                       ?????????????? MANAGER LOADED ???????????????
                       ? Name: .NET Tool (aka .NET Tool)
                       ? Executable name: "dotnet tool"
                       ? Executable path: "/usr/bin/dotnet"
                       ? Call arguments: "tool "
                       ? Version: 10.0.107
                       ?          
                       ? .NET Tool is enabled and ready to go.
                       ?????????????????????????????????????????????
[5/15/2026 3:12:31?PM] No compatible Linux installer (.AppImage) found in productinfo for architecture 'x64'
[5/15/2026 3:12:31?PM] /IntegrityTree.json does not exist, integrity check will not be performed!
[5/15/2026 3:12:31?PM] IntegrityTree.json not found (dev/CI build) ? skipping integrity dialog.
[5/15/2026 3:12:31?PM] Avalonia shell bootstrap completed
[5/15/2026 3:12:31?PM] Found 33 installed packages from Flatpak
[5/15/2026 3:12:31?PM] Downloaded new icons and screenshots successfully!
[5/15/2026 3:12:31?PM] Found 0 installed packages from .NET Tool
[5/15/2026 3:12:31?PM] Found 0 installed packages from .NET Tool
[5/15/2026 3:12:31?PM] Found 0 available updates from .NET Tool
[5/15/2026 3:12:33?PM] Found 0 available updates from Flatpak
[5/15/2026 3:12:33?PM] Found 135 installed packages from Homebrew
[5/15/2026 3:12:34?PM] Api running on unix socket /tmp/UniGetUI.IPC
[5/15/2026 3:12:34?PM] Found 135 installed packages from Homebrew
[5/15/2026 3:12:35?PM] Found 0 available updates from Homebrew

Package Managers Logs

Manager Homebrew with version:
5.1.11

??????????????????????????????????????????

Logged subprocess-based task on manager Homebrew. Task type is ListSources
Subprocess executable: "/home/linuxbrew/.linuxbrew/bin/brew"
Command-line arguments: "tap"
Process start time: 5/15/2026 3:12:31?PM
Process end time:   5/15/2026 3:12:31?PM

-- Process STDOUT
 ...

Return code: SUCCESS (0)

??????????????????????????????????????????
Logged subprocess-based task on manager Homebrew. Task type is RefreshIndexes
Subprocess executable: "/home/linuxbrew/.linuxbrew/bin/brew"
Command-line arguments: "update"
Process start time: 5/15/2026 3:12:31?PM
Process end time:   5/15/2026 3:12:32?PM

-- Process STDOUT
 ...

-- Process STDERR
  ==> Updating Homebrew...

Return code: SUCCESS (0)

??????????????????????????????????????????
Logged subprocess-based task on manager Homebrew. Task type is ListInstalledPackages
Subprocess executable: "/home/linuxbrew/.linuxbrew/bin/brew"
Command-line arguments: "list --formula --versions"
Process start time: 5/15/2026 3:12:31?PM
Process end time:   5/15/2026 3:12:32?PM

-- Process STDOUT
 ...

Return code: SUCCESS (0)

??????????????????????????????????????????
Logged subprocess-based task on manager Homebrew. Task type is ListInstalledPackages
Subprocess executable: "/home/linuxbrew/.linuxbrew/bin/brew"
Command-line arguments: "list --cask --versions"
Process start time: 5/15/2026 3:12:32?PM
Process end time:   5/15/2026 3:12:33?PM

Return code: SUCCESS (0)

??????????????????????????????????????????
Logged subprocess-based task on manager Homebrew. Task type is ListInstalledPackages
Subprocess executable: "/home/linuxbrew/.linuxbrew/bin/brew"
Command-line arguments: "list --formula --versions"
Process start time: 5/15/2026 3:12:32?PM
Process end time:   5/15/2026 3:12:33?PM

-- Process STDOUT
 ...

Return code: SUCCESS (0)

??????????????????????????????????????????
Logged subprocess-based task on manager Homebrew. Task type is ListInstalledPackages
Subprocess executable: "/home/linuxbrew/.linuxbrew/bin/brew"
Command-line arguments: "list --cask --versions"
Process start time: 5/15/2026 3:12:33?PM
Process end time:   5/15/2026 3:12:34?PM

Return code: SUCCESS (0)

??????????????????????????????????????????
Logged subprocess-based task on manager Homebrew. Task type is ListUpdates
Subprocess executable: "/home/linuxbrew/.linuxbrew/bin/brew"
Command-line arguments: "outdated --verbose"
Process start time: 5/15/2026 3:12:34?PM
Process end time:   5/15/2026 3:12:35?PM

Return code: SUCCESS (0)

??????????????????????????????????????????

Relevant information

No response

Screenshots and videos

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions