[0.12.x][Twins]UI not updated after calling set_request_slot

We are aware of them, but they have low priority. We have more important things to do. They go here in order not to take space in the main bug thread list.
Post Reply
fcaf
Burner Inserter
Burner Inserter
Posts: 10
Joined: Fri Sep 18, 2015 10:47 pm
Contact:

[0.12.x][Twins]UI not updated after calling set_request_slot

Post by fcaf »

When a mod calls set_request_slot on an opened requester chest, the UI for the request slots does not reflect the changed value until the chest is closed and re-opened (or other user action on those slots).

To reproduce, open a logistic requester chest and run

Code: Select all

/c game.player.opened.set_request_slot({name = 'raw-wood', count = 25}, 1)
Note that the request slots don't change. Upon re-opening the chest, you will correctly see the new request values.

Oxyd
Former Staff
Former Staff
Posts: 1428
Joined: Thu May 07, 2015 8:42 am
Contact:

Re: [O.12.x] UI not updated after calling set_request_slot

Post by Oxyd »

Fixed in 0.12.13.

matepeter
Manual Inserter
Manual Inserter
Posts: 2
Joined: Thu Mar 10, 2016 1:40 pm
Contact:

Re: [O.12.x] UI not updated after calling set_request_slot

Post by matepeter »

I'm playing with version 0.12.26 from Steam
The problem resurfaced, the UI again doesn't show the change until reopening after the posted LUA command, altough the logistic robots start to fill the chest as soon as the command is entered.

kovarex
Factorio Staff
Factorio Staff
Posts: 8078
Joined: Wed Feb 06, 2013 12:00 am
Contact:

Re: [O.12.x] [kovarex] UI not updated after calling set_request_slot

Post by kovarex »

Thanks for the report, fixed for 0.12.27

matepeter
Manual Inserter
Manual Inserter
Posts: 2
Joined: Thu Mar 10, 2016 1:40 pm
Contact:

Re: [O.12.x] [kovarex] UI not updated after calling set_request_slot

Post by matepeter »

Thanks for the fix. Keep up the good work ;)

Twinsen
Factorio Staff
Factorio Staff
Posts: 1330
Joined: Tue Sep 23, 2014 7:10 am
Contact:

Re: [O.12.x] [kovarex] UI not updated after calling set_request_slot

Post by Twinsen »

Reverted the fix in 0.13 because it reintroduced this bug: viewtopic.php?t=18486

To be fixed properly in 0.13

Twinsen
Factorio Staff
Factorio Staff
Posts: 1330
Joined: Tue Sep 23, 2014 7:10 am
Contact:

Re: [0.12.x][Twins]UI not updated after calling set_request_slot

Post by Twinsen »

After being fixed and un-fixed 2 times and half a year later I decided to move this to 'minor issues'.

This is a problem with all the gui's in game. If you have a gui open and it is changed by another player(in multiplayer) or by script, you will not se the change until you re-open the gui.

Might seem like something simple but to fix this, the system of latency hiding would have to be implemented in our gui system, something not worth the work for something that is rarely noticeable.

Post Reply

Return to “Minor issues”