JonasNilson / idle_master_extended

🃏 Get your Steam Trading Cards the Fast Way (Fast Mode Extension 🚀)
GNU General Public License v2.0
2.75k stars 180 forks source link

"You're now in game" windows #419

Open IraJacobs opened 1 year ago

IraJacobs commented 1 year ago

It keeps popping up these game windows that show game banner and taking focus, every time it switches game, or sometimes many games at once. How can I suppress these windows? https://imgur.com/a/0mMEI8G

JonasNilson commented 1 year ago

Thank you for getting in contact.

Now this is an issue/bug I have not come across before. It looks like the following fails on your system (WindowStyle = ProcessWindowStyle.Hidden):

https://github.com/JonasNilson/idle_master_extended/blob/0d2800e9955d99ba6fd0a8ac56d8ea12cc5859bc/Source/IdleMasterExtended/Badge.cs#L39

Can you provide some more information? For example:

IraJacobs commented 1 year ago

Win10 64b, I can't provide much more detail, but I think it was being caused by running IdleMaster through Steam as a non-Steam game. Running it "normally" worked fine.

JonasNilson commented 1 year ago

I think it was being caused by running IdleMaster through Steam as a non-Steam game. Running it "normally" worked fine.

Thank you for your detailed response. I will have to try and reproduce the scenario myself.

It sounds like Steam might not allow hidden windows.

Update: It is definitely Steam causing this issue. I added Idle Master Extended to Steam and ran a bunch of games through the Whitelist mode:

And in the task manager it can be seen that the processes does not start as subprocesses to Idle Master Extended, but instead as their own separate processes: