Skip to content

Desktop shortcut fails to open DefGuard when already running in background #465

@zeko9381

Description

@zeko9381

Description:

When the DefGuard Windows client is already running (its tray icon is visible), double-clicking (or otherwise activating) the desktop shortcut does nothing. I have to manually right-click the tray icon and choose Show to bring the window to the foreground. The desktop shortcut should simply show the existing window when the app is already running.

Reproduction Steps:

  • Ensure DefGuard Client is not running.
  • Launch DefGuard Client via desktop shortcut (window appears as expected).
  • Close or minimize the main window—DefGuard remains running in the system tray (tray icon visible).
  • Double-click the desktop shortcut (or press Enter on its icon).
  • Observe that nothing happens: no window appears, no focus change, and no new process is created.
  • Right-click the DefGuard tray icon and select Show — the main window finally appears.

Expected Behavior:

Activating the desktop shortcut when DefGuard is already running should immediately bring the existing application window to the front (or launch a new one if it’s somehow crashed), without requiring manual interaction via the tray icon.

Actual Behavior:

Desktop shortcut activation has no effect when DefGuard is in the background tray.
User must right-click the tray icon and select Show to display the window.

Environment:

DefGuard Client Version: 1.2.4

Windows Version: Windows 11 Pro 23H2

System Architecture: 64-bit

Installation Location: "C:\Program Files\defguard-client\defguard-client.exe"

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    Projects

    Status

    Ready to release

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions