Kataiser/tf2-rich-presence

GUI doesn't work for some reason

Closed this issue · 3 comments

Did a fresh install of the app and can't open the gui. The actual rich presence works fine, but I can't un-minimize the app (probably because there's no gui actually open?)
I use the .bat file included with the install to open the app
изображение
Basically, when I click on this black rectangle, nothing opens

Huh strange, I don't see how the main program could be working but the GUI wouldn't since it's all single threaded. Could you send me your post recent log in C:\Users\USERNAME\AppData\Roaming\TF2 Rich Presence\logs? And also try launching from the start menu shortcut, which shouldn't make a difference but still.

Update: Minimizing the window is what is causing this to happen.

Check the DB.json file (C:\Users\USERNAME\AppData\Roaming\TF2 Rich Presence\db.json)

I was running into this issue and it turns out that the value saved for the GUI position was incorrect. This was mine for example.
"gui_position": [ -31750, -31875 ]

Setting it to this value instead will center it on the screen.

"gui_position": [ 0, 0 ]

Afterward, I turned off the "Remember previous window position" setting.

Oh it totally does for some reason, thanks Windows? I'll add a safety check to fix it, thanks for the report.