[Rseding91] [0.14.7] Duplicated keybinding cause peculiar behavior

This subforum contains all the issues which we already resolved.
canidae
Long Handed Inserter
Long Handed Inserter
Posts: 72
Joined: Thu Feb 18, 2016 6:24 pm
Contact:

[Rseding91] [0.14.7] Duplicated keybinding cause peculiar behavior

Post by canidae »

Two mods (Auto Research and Foreman) used the same keybinding (Control+T). Clicking the keybinding caused one of the mod (Auto Research) to be triggered twice, the other mod not at all.
Suggestions:
  • Trigger both mods in case of duplicate keybinds.
  • Warn user on new/resumed game about any duplicated keybindings.
Rseding91
Factorio Staff
Factorio Staff
Posts: 14290
Joined: Wed Jun 11, 2014 5:23 am
Contact:

Re: [0.14.7] Duplicated keybinding cause peculiar behavior

Post by Rseding91 »

How they're handled is determined by how they register the hotkeys. If they register with consuming all or script then the other mod doesn't get the event.

Also I just tested with both of the mods you mentioned and when I set the hotkeys to the same value both events are fired in both mods:

http://imgur.com/a/3gkbx
If you want to get ahold of me I'm almost always on Discord.
Rseding91
Factorio Staff
Factorio Staff
Posts: 14290
Joined: Wed Jun 11, 2014 5:23 am
Contact:

Re: [0.14.7] Duplicated keybinding cause peculiar behavior

Post by Rseding91 »

After more testing I see what's happening now :)
If you want to get ahold of me I'm almost always on Discord.
canidae
Long Handed Inserter
Long Handed Inserter
Posts: 72
Joined: Thu Feb 18, 2016 6:24 pm
Contact:

Re: [Rseding91] [0.14.7] Duplicated keybinding cause peculiar behavior

Post by canidae »

Hooray, it's possible I'm not crazy after all, then :)
Rseding91
Factorio Staff
Factorio Staff
Posts: 14290
Joined: Wed Jun 11, 2014 5:23 am
Contact:

Re: [Rseding91] [0.14.7] Duplicated keybinding cause peculiar behavior

Post by Rseding91 »

Fixed for 0.14.9.
If you want to get ahold of me I'm almost always on Discord.
Post Reply

Return to “Resolved Problems and Bugs”