[0.17.25] Objects behind technology research screen can be rotated

Things that has been reported already before.
Shogal
Inserter
Inserter
Posts: 28
Joined: Tue Mar 05, 2019 1:46 am
Contact:

[0.17.25] Objects behind technology research screen can be rotated

Post by Shogal »

How to reproduce this issue:

1. Place any rotatable object (for example, mining drill) near you or walk near this object
2. Hover mouse above rotatable object (while you are not far from it)
3. Open technology research screen with T hotkey
4. Press R hotkey anywhere inside this screen (except search textbox)

Expected behavior: as technology research dialog intended to be modal, it should not pass hotkeys to objects behind it, like any other in-game dialogs do. Especially because it pauses a game.

Actual behavior: nothing visible will happen on screen. But when you return to game, you will see your mining drill was rotated, even you didn't intended to do it.

Also, pressing M in tech research dialog toggles map, that is visible and it's also weird, this dialog should not accept hotkeys not related to itself (except global). But some hotkeys are accepted (like rotate object or toggle minimap), some are not (like opening another dialog window).

This bug occurs in both 0.16.x and 0.17.x branches (didn't test earlier branches)
Shogal
Inserter
Inserter
Posts: 28
Joined: Tue Mar 05, 2019 1:46 am
Contact:

Re: [0.17.25] Objects behind technology research screen can be rotated

Post by Shogal »

It was duplicate of 66320 (didn't notice it when used search). I can't delete a topic after few days passed, so move to duplicate category please.
Post Reply

Return to “Duplicates”