Hello!
This issue only occurs when a filter is set.
A blueprint to reproduce this.
1) When no filters are set. It's no problem.
2) When a filter is set.
It's still snapping to the grid, and the same happens with the other relative-grid blueprint.
I've seen similar topics regarding relative-grid.
viewtopic.php?t=113094
viewtopic.php?p=669879&hilit=blueprint+relative#p669879
I believe those were written as an attempt to place another blueprint after this problem occurred.
Thanks for reading!
[2.0.73] Relative-grid pump blueprint with multiple parameters is still snap to grid after placing
Re: [2.0.73] Relative-grid pump blueprint with multiple parameters is still snap to grid after placing
I posted on a topic that was resolved, not realizing it was marked as resolved: viewtopic.php?t=126229
Here are my findings:
I'm encountering this on 2.0.76 build 84451 on Windows on a new, random seed (tested multiple times, all seeds exhibit this bug).
This blueprint is a a simple constant combinator, with parameter-0 and 1 parametrised constant.
With it, I discovered it only happens when a click occurs outside of the "Parametrised build" window. When selecting an option for parameter-0, the pixel you click on must be a pixel on top of the "Parametrised build" window. Clicking any pixel outside of the "Parametrised Build" window, such as the ground around it or even selecting the option for parameter-0, causes the bug. In fact, selecting parameter-0 that has half the icon above the "Parameterised build" window and half not, which half you click on determines whether the bug occurs.
Notably, dragging the "Select a signal" window for parameter-0 via the top bar such that an icon can be selected above the "Parametrised build" window does not cause the bug. Clicking the top bar of "Select a signal" does not cause the bug, even though it lies outside the boudns of "Parametrised build". Click+dragging the side of "Select a signal" and dragging to the ground, then selecting an icon that is withing the bounds of "Parametrised build" still causes the bug. It seems the framing/background of the UI does not cause the bug. You can spam click anywhere on the UI that doesn't select an icon, then select an icon within the bounds of the "Parametrised build" window and it does not cause the bug.
However, you can drag click from outside the "Parametrised build" window into the "Parameterised build" window, and the bug does not occur; even though the initial "down" of the click was outside of the window. It seems the "up" of a click is the trigger. Indeed, selecting an icon for parameter-0 that is outside the bounds, you can click down on the icon, drag into the window bounds, then release; it selects the correct icon (the one you pressed down on) but does not trigger the bug.
It seems like opening most entity's UI clears the bug. Opening inventory, blueprint library, factoriopedia does not.
Here are my findings:
I'm encountering this on 2.0.76 build 84451 on Windows on a new, random seed (tested multiple times, all seeds exhibit this bug).
This blueprint is a a simple constant combinator, with parameter-0 and 1 parametrised constant.
With it, I discovered it only happens when a click occurs outside of the "Parametrised build" window. When selecting an option for parameter-0, the pixel you click on must be a pixel on top of the "Parametrised build" window. Clicking any pixel outside of the "Parametrised Build" window, such as the ground around it or even selecting the option for parameter-0, causes the bug. In fact, selecting parameter-0 that has half the icon above the "Parameterised build" window and half not, which half you click on determines whether the bug occurs.
Notably, dragging the "Select a signal" window for parameter-0 via the top bar such that an icon can be selected above the "Parametrised build" window does not cause the bug. Clicking the top bar of "Select a signal" does not cause the bug, even though it lies outside the boudns of "Parametrised build". Click+dragging the side of "Select a signal" and dragging to the ground, then selecting an icon that is withing the bounds of "Parametrised build" still causes the bug. It seems the framing/background of the UI does not cause the bug. You can spam click anywhere on the UI that doesn't select an icon, then select an icon within the bounds of the "Parametrised build" window and it does not cause the bug.
However, you can drag click from outside the "Parametrised build" window into the "Parameterised build" window, and the bug does not occur; even though the initial "down" of the click was outside of the window. It seems the "up" of a click is the trigger. Indeed, selecting an icon for parameter-0 that is outside the bounds, you can click down on the icon, drag into the window bounds, then release; it selects the correct icon (the one you pressed down on) but does not trigger the bug.
It seems like opening most entity's UI clears the bug. Opening inventory, blueprint library, factoriopedia does not.
Re: [2.0.73] Relative-grid pump blueprint with multiple parameters is still snap to grid after placing
Thanks for the detailed reproduction steps. This is now fixed for 2.1. In the meantime you can simply remove the relative grid from the blueprint if using parameters because it does nothing anyway (every click requires filling in the GUI and relative grid only matters when drag-building).
If you want to get ahold of me I'm almost always on Discord.

