SFP icon indicating copy to clipboard operation
SFP copied to clipboard

Add option to hide window without system tray icon

Open SleepDaemon opened this issue 2 years ago • 5 comments

I want to Hide the program from both tray and taskbar so I have these settings. But with these settings when I minimize it keeps the taskbar icon which I don't want, and when I close the window it closes the whole program. But I wish to have it running in the background in case steam decides to update it self. I was able to achieve this on Steam Friend Patcher.

2022-05-15_07-34

Image of Taskbar 2022-05-15_07-36

SleepDaemon avatar May 15 '22 04:05 SleepDaemon

I found another problem, every time I click the .exe, it runs a whole new instance instead of opening the existing one.

SleepDaemon avatar May 15 '22 04:05 SleepDaemon

I found another problem, every time I click the .exe, it runs a whole new instance instead of opening the existing one.

So this is actually why the behavior that was included in the old patcher is not included in this one. You have to be able to access a running instance of SFP no matter what and as I currently don't have a way to open the existing one you have to choose between having a taskbar icon or having a tray icon.

The reason I can't just copy the behavior directly from the old patcher is that this patcher is intended to be cross platform compatible and as far as I know there is no built in way to both enforce a single instance of an application and communicate with an already running instance which works across platforms.

I do plan to look into this further, and if anything I might just include the functionality only for the Windows version, but I can't give any kind of ETA on when this will be accomplished.

This is one of the reasons I hesitated to push the update to the old patcher informing people to switch to this one as it does not have complete feature parity yet, but I decided to do so anyway because there was an influx of help requests caused by Valve's recent update to the library.

PhantomGamers avatar May 15 '22 05:05 PhantomGamers

aight thanks

SleepDaemon avatar May 15 '22 11:05 SleepDaemon

Ran into another problem where SFP gives a crash popup when I restart my laptop.

SleepDaemon avatar May 15 '22 12:05 SleepDaemon

If you have issues other than the one described in this post, please post it in its own issue.

Also please make sure your issue is not a known issue.

https://github.com/PhantomGamers/SFP#known-issues

PhantomGamers avatar May 15 '22 13:05 PhantomGamers