Page 1 of 1

Stop alt-tab from becoming input

Posted: Sun Mar 13, 2022 1:34 pm
by hajducsekb
Hi, I don't know how easy this would be to implement, but as of right now, whenever someone alt-tabs into the game, the tab gets detected as an input. This could especially be an issue for hosts, as if they alt-tab while in lobby, they might accidentally start the race.
Maybe it could be solved by turning off inputs for a portion of a second once the window becomes active. I don't know, not sure how hard that would be to add when considering the current code.
Thanks in advance c:

Re: Stop alt-tab from becoming input

Posted: Mon Mar 14, 2022 3:36 am
by Huki
Specifically in the waiting room, the TAB key press is ignored if modifiers are pressed (alt / ctrl / shift or win key). So I guess the only place alt-tab can conflict is in the editor. Is there any place else you experienced this issue?

Re: Stop alt-tab from becoming input

Posted: Sun Mar 27, 2022 7:50 pm
by hajducsekb
Ohhhh.... I experienced it while spectating in the race, which is not as big of an issue, it's more a minor inconvenience. But I think people tend to hold down tab longer than alt, which is what might cause the issue in waiting room then.