Skip to content

Using keyboard manager shortcut to activate systray minimised application does not restore window correctly #31845

Open
@insanityinside

Description

Microsoft PowerToys version

0.79.0

Installation method

Chocolatey

Running as admin

No

Area(s) with issue?

Keyboard Manager

Steps to reproduce

In this example, I'm using KeepassXC, with the option of "Show a system tray icon" enabled, and "Hide window to system tray when minimised".
Assign a keyboard shortcut to run/activate the program when minimised to system tray (in my case, CTRL+ALT+K)
Activate shortcut.

✔️ Expected Behavior

KeepassXC window is restored from the system tray, as if re-running the program via its shortcut on the start menu/desktop.

❌ Actual Behavior

A hidden QT window is restored, and it is no longer possible to restore KeepassXC without completely closing the program and restarting it. This is likely down to an unexpected interaction between Keyboard Manager and KeepassXC, and an unusual method of keeping a hidden window available to auto-type passwords.

Other Software

KeepassXC 2.7.6

Notes

Unexpected window visibility behaviour is also seen with Keepass 2.56, making three normally hidden windows visible. It looks like the Keyboard Manager tries to make all windows from the program visible, whether they're intended to be or not.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Area-App CompatIssues revolving around application compatibility across PowerToysIssue-BugSomething isn't workingNeeds-ReproWe can't figure out how to make this happen. Please help find a simplified repro.Needs-TriageFor issues raised to be triaged and prioritized by internal Microsoft teamsProduct-Keyboard Shortcut ManagerIssues regarding Keyboard Shortcut Manager

    Type

    No type

    Projects

    • Status

      No status

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions