TiltedEvolution icon indicating copy to clipboard operation
TiltedEvolution copied to clipboard

UI not always showing when pressing F2/RCTRL

Open Dragonissa opened this issue 3 years ago • 6 comments

There are plenty of occasions where pressing either of the 2 keys to activate the UI, nothing happens. This isn't just a one time issue, but cant be fixed without quitting the game or with luck exiting to the main menu.

Debugging the issue showed that even though the UI receives the callback to activate it, setting the BehaviourSubject to TRUE, the UI wont change and the BehaviourSubject is still set to FALSE when logging it.

Most likely some false usage of Angular or legacy spaghetti code.

https://github.com/tiltedphoques/TiltedEvolution/blob/master/Code/skyrim_ui/src/app/services/client.service.ts#L128=

https://github.com/tiltedphoques/TiltedEvolution/blob/master/Code/skyrim_ui/src/app/components/root/root.component.ts#L87=

https://github.com/tiltedphoques/TiltedEvolution/blob/master/Code/skyrim_ui/src/app/components/root/root.component.html#L14=

More information will come...

Dragonissa avatar Jul 11 '22 17:07 Dragonissa

My changes might already fix this problem. Haven't had it since I replaced it with my version 🤔

scomans avatar Jul 11 '22 17:07 scomans

My changes might already fix this problem. Haven't had it since I replaced it with my version 🤔

Good to know. It might have been just some deprecated dependency or Angular 11 bug.

Dragonissa avatar Jul 11 '22 18:07 Dragonissa

Still having this issue with 1.1.0, hasn't happened for me but 3 out of 3 launches for my friend the UI refused to open. Verified that the F3 screen said 1.1.0

BlueAmulet avatar Jul 15 '22 01:07 BlueAmulet

Still having this issue with 1.1.0, hasn't happened for me but 3 out of 3 launches for my friend the UI refused to open. Verified that the F3 screen said 1.1.0

There are more fixes in the making.

Dragonissa avatar Jul 15 '22 08:07 Dragonissa

Doesn't appear to be an issue with Angular, as you can still connect a debugger and run js commands in the console. Issue seems to be happening between listening for the F2 key and sending the Activate event to the UI.

Sturlen avatar Jul 23 '22 18:07 Sturlen

Doesn't appear to be an issue with Angular, as you can still connect a debugger and run js commands in the console. Issue seems to be happening between listening for the F2 key and sending the Activate event to the UI.

At least in the past, angular received everything fine but completely ignored it and no updates were triggered.

Dragonissa avatar Jul 24 '22 10:07 Dragonissa