Page 1 of 1

[2.1.14] Scrollbar of the surfaces interface resets when a platform changes state and a hidden platform exists

Posted: Sat Aug 15, 2026 3:43 pm
by Dymiaz
I'm creating a mod that contains platforms with hidden = true.

During a playthrough of that mod I've created enough platforms so that a scrollbar is added to the surfaces overview.
I noticed sometimes when scrolling that that scrollbar jumps back to the current platform/surface you're currently remote viewing.

After some debugging I was able to reliably reproduce it. This happens when:
There is at least one platform that is hidden (not sure if it needs to be of the same force).
Any platform changes state (I think it's the general on_space_platform_changed_state, I have seen it happen when new platforms are built as well).

As a test I have created a platform that flies for 1 second towards the shattered planet and back to the edge repeatedly. So a platform changed state happens every second.
scrollbar_bug.mp4
(31.93 MiB) Downloaded 18 times
Bonus bug, probably related: You are not able to scroll at all or even switch surfaces through the remote view surface interface when a "on_space_platform_changed_state" happens every tick. For example when you remove the "1s passed" fly condition in the video so it continuously flies for 1 tick to the shattered planet and then back to the edge.

Re: [2.1.14] Scrollbar of the surfaces interface resets when a platform changes state and a hidden platform exists

Posted: Sun Aug 16, 2026 8:11 pm
by Rseding91
Could you provide a save file and the mod for the hidden issue?

Re: [2.1.14] Scrollbar of the surfaces interface resets when a platform changes state and a hidden platform exists

Posted: Mon Aug 17, 2026 7:44 am
by Dymiaz
No mod needed. Just the console command to make a platform hidden (game.player.surface.platform.hidden = true).

The save file loads on the hidden platform, but the scrolling issue only happens when you are on a non hidden surface:

Edit: save file removed now it is no longer needed. Thanks for the fix!

Re: [2.1.14] Scrollbar of the surfaces interface resets when a platform changes state and a hidden platform exists

Posted: Mon Aug 17, 2026 1:27 pm
by Rseding91
Thanks for the save. This is now fixed for the next release.