[0.8.8] Changing recipe status from Lua causes GUI weirdness

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
immibis
Filter Inserter
Filter Inserter
Posts: 303
Joined: Sun Mar 24, 2013 2:25 am
Contact:

[0.8.8] Changing recipe status from Lua causes GUI weirdness

Post by immibis »

If a Lua script sets the "enabled" field of a recipe while the game is running, like this:

Code: Select all

game.player.force.recipes["solar-panel"].enabled = false
then:
  • If the player's cursor is over any entity, the information panel under the minimap will disappear and not reappear until the cursor is over a different entity. The selection box, radius visualizations, power boxes (the blue ones), and other "overlays" are not affected.
  • If the player's cursor is over an item in a GUI, it will be treated as if the GUI was not there, for one frame. If there is an entity behind the GUI under the cursor, it will show that entity's information panel for one frame. If the cursor is over a GUI element with a tooltip, the tooltip will not be displayed for one frame.

slpwnd
Factorio Staff
Factorio Staff
Posts: 1835
Joined: Sun Feb 03, 2013 2:51 pm
Contact:

Re: [0.8.8] Changing recipe status from Lua causes GUI weird

Post by slpwnd »

The first one is fixed for 0.10.1. The rest is more tricky. Since this is purely graphical glitch I put it to Minor issues category.

Post Reply

Return to “Minor issues”