[2.0.15] Custom "Drag map" keybind does not work on the space map

Bugs that are actually features.
User avatar
ReBootYourMind
Burner Inserter
Burner Inserter
Posts: 6
Joined: Tue May 14, 2019 11:29 pm
Contact:

[2.0.15] Custom "Drag map" keybind does not work on the space map

Post by ReBootYourMind »

1. I opened the space map and tried to use my custom drag map keybind (middle mouse) and it did not work. Only the default left click worked and it could not be changed.
2. The map could not be moved with the custom key in the drag map keybind
3. I assume the space map should respect the custom keybind drag map like all of the other maps do.
4. Happens always. Tried to remove the keybind and set it back to middle mouse and had to still use the default left click to drag the map around in the space map view. Regarless which key you bind to drag map the space map will ignore it and only move around with left click.

Steps to reproduce:
1. Open any space age save where you have left Nauvis.
2. Change your "drag map" keybind in the controls to anything other than left click.
3. Open the space map from the map view.
4. Try to move the map with the custom keybind.
5. Happens now: Doesn't move. How it should be: The space map should be movable with the custom keybind.
Rseding91
Factorio Staff
Factorio Staff
Posts: 15885
Joined: Wed Jun 11, 2014 5:23 am
Contact:

Re: [2.0.15] Custom "Drag map" keybind does not work on the space map

Post by Rseding91 »

Thanks for the report. The space map does not use the drag map hotkey and is hard-coded to left mouse button. Other GUI draggable things are either also hard coded to left mouse or will react to *any* mouse button for dragging.

The "Drag map" hotkey is specific to the map view opened with Tab or M.
If you want to get ahold of me I'm almost always on Discord.
User avatar
ReBootYourMind
Burner Inserter
Burner Inserter
Posts: 6
Joined: Tue May 14, 2019 11:29 pm
Contact:

Re: [2.0.15] Custom "Drag map" keybind does not work on the space map

Post by ReBootYourMind »

Sounds weird to use a different key for different maps. After all it is called the space MAP so the key that is used to navigate the map should work there too. Also to enter the space map you need to have opened the map view first. It is listed under surfaces next to all of the other surfaces that use the same custom drag map key. Allowing rebinding of all keys is a great accessibility feature to have.

The inconsistency here is all that annoys me. I do admit that there must be a huge list of more important bugs to fix but I'd still personally call this a bug.
Rseding91
Factorio Staff
Factorio Staff
Posts: 15885
Joined: Wed Jun 11, 2014 5:23 am
Contact:

Re: [2.0.15] Custom "Drag map" keybind does not work on the space map

Post by Rseding91 »

The difference is all other “maps” are GUI widgets and the map opened by tab/m is actually called the “chart” internally and is not a GUI widget.

GUI most commonly does not use hotkeys in any of its logic and will be hard coded to some button type. This is a core part of how the GUI system functions and without a rewrite it is not likely to ever change.

At this stage in development I don’t see it ever changing.
If you want to get ahold of me I'm almost always on Discord.
Post Reply

Return to “Not a bug”