HandheldCompanion icon indicating copy to clipboard operation
HandheldCompanion copied to clipboard

Suspending with hotkey or pin in QT does not work, suspending through QT page does work

Open CasperH2O opened this issue 1 year ago • 1 comments

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

HandheldCompanion-20231228.log

CasperH2O avatar Dec 28 '23 09:12 CasperH2O

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.

CasperH2O avatar Jan 03 '24 14:01 CasperH2O

Upcoming HC will have this button removed, closing as won't fix.

CasperH2O avatar Jul 09 '24 18:07 CasperH2O