HandheldCompanion
HandheldCompanion copied to clipboard
Suspending with hotkey or pin in QT does not work, suspending through QT page does work
Handheld Companinion Version 0.20.2.5
Describe the bug A clear and concise description of what the bug is.
To Reproduce Configure a hotkey for suspend (pause icon), also pin it in QT. Open an app like Paint, press the hotkey, nothing happens. Open QT, press the suspend pin, nothing happens.
Logs file
Investigated some more, the logic in the hotkey was such that if there no suspended processes it would exit, adjusting this logic allows for initially suspending an app. However unsuspending does not work because the IsSuspended() in ProcessEx.xaml.cs always returns false, even when apps are suspended.
Recently code was changed due to threading, tried additionally calling the refresh() function but didn't have better results.
Upcoming HC will have this button removed, closing as won't fix.