I'm using the what is it really used for mod to view recipes.
When pressing CTRL-F, it opens a search box to search recipes.
When the inventory is open, the inventory search has priority, which is okay.
Starting with 1.3.36 (just tested), CTRL-F always open the mod search box, even when the inventory is open. That is a bit confusing to me, since I'd expect search to affect the currently open window.
Is this an intended change, and is there something we could do about it? Either in factorio or the mod, so the behavior stays the same as pre 1.1.36.
Regards,
DarkShadow44
[1.1.36] Changes in CTRL-F behavior when using mods
-
- Filter Inserter
- Posts: 339
- Joined: Thu Jun 01, 2017 12:05 pm
- Contact:
Re: [1.1.36] Changes in CTRL-F behavior when using mods
Thanks for the report however this is somewhat intended. It's related to this fix: 98851
If the mod wants to override the games hotkey it has to set the prototype flag to do so. Otherwise the behavior it's going now is "correct".
If the mod wants to override the games hotkey it has to set the prototype flag to do so. Otherwise the behavior it's going now is "correct".
If you want to get ahold of me I'm almost always on Discord.
-
- Filter Inserter
- Posts: 339
- Joined: Thu Jun 01, 2017 12:05 pm
- Contact:
Re: [1.1.36] Changes in CTRL-F behavior when using mods
The mod sets "consuming = "game-only"" which means work exactly as it does now: if it fires it blocks the game hotkeys. If the mod doesn't want to do that then it should just remove that line from it's prototype.DarkShadow44 wrote: ↑Mon Nov 01, 2021 3:34 amThanks for the quick response.
I don't understand, isn't the problem here that the mod overrides the games hotkey accidentally?
If you want to get ahold of me I'm almost always on Discord.
-
- Filter Inserter
- Posts: 339
- Joined: Thu Jun 01, 2017 12:05 pm
- Contact:
Re: [1.1.36] Changes in CTRL-F behavior when using mods
I see... Without the "consuming" flag, the inventor search opens - but also the mod's search, which has priority.
Is there a way to have only the game process the input, and not the mod?
Is there a way to have only the game process the input, and not the mod?
Re: [1.1.36] Changes in CTRL-F behavior when using mods
Currently no. There's an order to inputs being processed and something always comes first. In this case it's mod inputs.DarkShadow44 wrote: ↑Mon Nov 01, 2021 2:16 pmI see... Without the "consuming" flag, the inventor search opens - but also the mod's search, which has priority.
Is there a way to have only the game process the input, and not the mod?
If you want to get ahold of me I'm almost always on Discord.
-
- Filter Inserter
- Posts: 339
- Joined: Thu Jun 01, 2017 12:05 pm
- Contact:
Re: [1.1.36] Changes in CTRL-F behavior when using mods
I see. A flag for priority would work though, to put that mod in order behind the game. But I understand if you don't want to add that.