Page 1 of 1

[0.17.9][keybind] Middle-click on toolbar on Linux not working

Posted: Sun Mar 10, 2019 8:35 pm
by TuTurambar
EDIT: It's not a Factorio bug. Please delete this thread.

Whenever I try to remove a shortcut in the toolbar (unbind an item) by middle-clicking, nothing happens.

I use the Steam version on Linux (Manjaro KDE, kernel 4.20.11-1). My mouse is a Steelseries Sensei.

For the log, I just loaded a game, tried to remove an item from the toolbar, and closed the game.

Re: [0.17.9][keybind] Middle-click on toolbar on Linux not working

Posted: Sun Mar 10, 2019 8:50 pm
by tehfreek
Please run `xev` from a terminal, middle-click within the black square, and post the lines that show up in the terminal after middle-clicking. It will be easier to find the lines if you press Alt-F4 to exit it after releasing the button without having moved the mouse.

Re: [0.17.9][keybind] Middle-click on toolbar on Linux not working

Posted: Sun Mar 10, 2019 9:30 pm
by TuTurambar
Here's the result:

Code: Select all

KeyPress event, serial 40, synthetic NO, window 0x6200001,
    root 0x156, subw 0x6200002, time 22087775, (43,47), root:(43,608),
    state 0x10, keycode 65 (keysym 0x20, space), same_screen YES,
    XLookupString gives 1 bytes: (20) " "
    XmbLookupString gives 1 bytes: (20) " "
    XFilterEvent returns: False

KeyRelease event, serial 41, synthetic NO, window 0x6200001,
    root 0x156, subw 0x6200002, time 22088018, (43,47), root:(43,608),
    state 0x10, keycode 65 (keysym 0x20, space), same_screen YES,
    XLookupString gives 1 bytes: (20) " "
    XFilterEvent returns: False

Re: [0.17.9][keybind] Middle-click on toolbar on Linux not working

Posted: Sun Mar 10, 2019 9:38 pm
by TuTurambar
Well, this issue does not seem to be specific to factorio, seems like I have an issue with my mouse.

Sorry for opening this, then :cry:

This thread can be deleted.