Page 1 of 1

[2.0.11] Cant open factoriopedia with Alt+Left Click

Posted: Tue Oct 29, 2024 3:17 am
by smegma_yogurt
Not sure if this is an Linux only issue.

I have Factorio 2.0.11, build 79682, expansion, linux64. Current SO is Linux Mint. Installation through Steam.

Factoriopedia wasn't opening with Alt+Left click. Tried both alts just to be sure and nothing.
Went to configuration and tried to configure Alt + Left click and it didn't work (just shows Left Alt in the field).
Set the key to be just the F key and now works properly.

I'd like to use the alt + click, but 'F' is working at least.

BTW, when I first changed the tooltip still showed the Alt + Left Click instead of F but the keys worked right away.
The tooltip only changes when exiting and reentering the game (not sure if this is an issue.)

Re: [2.0.11] Cant open factoriopedia with Alt+Left Click

Posted: Tue Oct 29, 2024 11:27 am
by raiguard
This indicates that the game is not receiving the input event at all. If that is the case, then there's not much for us to do. Please check your system keyboard configuration.

Re: [2.0.11] Cant open factoriopedia with Alt+Left Click

Posted: Tue Oct 29, 2024 2:14 pm
by smegma_yogurt
Hi, thanks for the quick response!

Game updated to 2.0.12, build 79795, but the bug still persists.

>This indicates that the game is not receiving the input event at all.
I thought this might be the issue too, but Alt mode (alt key) works without a problem, Also left click too.

The issue seems to arise only with alt+left click.

>Please check your system keyboard configuration.
Did that using xev on the terminal. Alt+Left click are registered without any problems. Same with xinput to log the inputs and it too registered flawlessly.

If there is a way to log inputs in factorio I could try logging and sending the logs to you guys.
If there is something you guys need to reproduce the bug, just tell me so I can help.

Re: [2.0.11] Cant open factoriopedia with Alt+Left Click

Posted: Tue Oct 29, 2024 3:11 pm
by raiguard
Please launch the game from the terminal with SDL_EVENT_LOGGING=1 and see if the game receives SDL events for the click. If so, please post them so I can see.

This is what it looks like for me:

Code: Select all

INFO: SDL EVENT: SDL_KEYDOWN (timestamp=639166 windowid=1 state=pressed repeat=false scancode=226 keycode=1073742050 mod=256)
INFO: SDL EVENT: SDL_MOUSEBUTTONDOWN (timestamp=639239 windowid=1 which=0 button=1 state=pressed clicks=1 x=1552 y=705)
INFO: SDL EVENT: SDL_MOUSEBUTTONUP (timestamp=639315 windowid=1 which=0 button=1 state=released clicks=1 x=1552 y=705)
INFO: SDL EVENT: SDL_KEYUP (timestamp=639481 windowid=1 state=released repeat=false scancode=226 keycode=1073742050 mod=0)

Re: [2.0.11] Cant open factoriopedia with Alt+Left Click

Posted: Tue Oct 29, 2024 5:20 pm
by raiguard
Actually, this is a duplicate of 117346. Please post the SDL events in that thread.

Re: [2.0.11] Cant open factoriopedia with Alt+Left Click

Posted: Tue Oct 29, 2024 5:26 pm
by smegma_yogurt
Hey I was about to reply.

I found this thread with a similar issue.

I had the a game installed through steam, so running with the SDL event logging returned only as:

Code: Select all

0.000 Initializing Steam API.
steam.sh[11275]: Running Steam on linuxmint 22 64-bit
steam.sh[11275]: STEAM_RUNTIME is enabled automatically
setup.sh[11467]: Steam runtime environment up-to-date!
0.000 Steam requires game restart, restarting...
Either way I managed to fix that by going to accessibility > keyboard and turning off the virtual keyboard.

Not sure why but this did the trick.

Will inform in that thread too.