Page 1 of 1

[Twinsen] [0.17.25] Pop-ups do not update when shift-click pasting settings into an entity

Posted: Sat Apr 06, 2019 12:36 am
by ignatio
The left-click pop-up dialogues for (at least) combinators do not update when left-click pasting new settings into them. Example:

1. Place two constant combinators. Let's call them A and B.
2. Add a constant to A, e.g. X=1.
3. Left click on B to open its pop-up dialogue.
4. Shift-right click on A.
5. Shift-left click on B.

The dialogue opened in #3 does not update to show X=1 in the "Output" section, although the thumbnail image above it is updated correctly. If the dialogue is dismissed and reopened it shows X=1.

Re: [0.17.25] Pop-ups do not update when shift-click pasting settings into an entity

Posted: Tue Apr 30, 2019 3:02 pm
by Twinsen
I fixed this as it was quite easy. If the active window belongs to an entity you pasted settings to, it will be destroyed and recreated.
Fixed in Version: 0.17.35.
Thanks.


But keep in mind there are other situations where this update will not happen
- in multiplayer when other player changes the same entity
- in multiplayer when the latency is very high, changing something, closing and reopening the window might show the old settings and the window will not update when the change is finally applied.
These are not solved since it would require significant changes to how the gui works.