Page 1 of 1

[Resolved 0.4.0] Mouse clicks originated in gui that closes

Posted: Fri Feb 22, 2013 2:49 am
by Milaha
You can destroy items behind the menus while clicking in the circuit network window on a smart inserter. I blew up like 5 transport belts before I figured out what was happening.

Re: When interacting with circuit network can destroy items

Posted: Fri Feb 22, 2013 9:50 am
by kovarex
How? I'm not able to reproduce it.

Re: When interacting with circuit network can destroy items

Posted: Fri Feb 22, 2013 7:22 pm
by Milaha
I did some further testing, my initial report was inaccurate. I would still consider it a bug though. Instead of interacting behind windows it seems like windows that close on mouse clicks (such as selecting an item in the circuit network menus) allow that same mouse click to continue interacting with the environment. So when you can destroy a track in a tiny amount of time you have to make your clicks super fast to not cause a problem after the window closes. You have to be interacting with an item at the edges so that there is not a 2nd menu beneath it, and you have to be zoomed in enough that your mouse is landing on intractable terrain after the window closes of course.

EDIT: It is even easier to test with the escape menu and clicking resume.

Re: When interacting with circuit network can destroy items

Posted: Sat Feb 23, 2013 4:37 am
by Maxion
I have been having this issue too, mostly when setting filters in inserters, but the other situations listed make sense too.
Randomly lost quite a few buildings to this before figuring out what was happening.

Re: When interacting with circuit network can destroy items

Posted: Mon May 06, 2013 2:47 pm
by kovarex
This has been solved in 0.4.0 (we had to do it due to instant mining in the tight spot challenge scenario ...)