Page 1 of 1

[2.1.10] LuaPlayer::toggle_menu_leaves_remote_view doesn't work properly when inside a space platform

Posted: Tue Jul 14, 2026 2:24 pm
by sarge945
disabling LuaPlayer::toggle_menu_leaves_remote_view allows us to use the main menu freely with the escape key without leaving remote view, with leaving remote view being tied to the "toggle remote view" key only.

This works fine when it's possible to leave remote view, but when we're in a place that forces remote view always (such as being inside a space platform), the old behaviour still happens, where the escape key will switch from whatever I was looking at, to the "remote" view of the platform I'm currently on, as if toggle_menu_leaves_remote_view was true. The "toggle remote view" key does exactly the same thing (it always has).

Escape should toggle the menu and do nothing else just like what it does when I would otherwise be able to leave remote view normally.

Re: [2.1.10] LuaPlayer::toggle_menu_leaves_remote_view doesn't work properly when inside a space platform

Posted: Tue Jul 14, 2026 2:34 pm
by Rseding91
Thanks for the report however this it not a bug. It is not "toggle_menu_locks_the_player_to_the_remote_view_surface_they're_on". It will also leave remote driving of cars, close the space map, and close the map view.

Re: [2.1.10] LuaPlayer::toggle_menu_leaves_remote_view doesn't work properly when inside a space platform

Posted: Tue Jul 14, 2026 2:51 pm
by sarge945
Rseding91 wrote: Tue Jul 14, 2026 2:34 pm Thanks for the report however this it not a bug. It is not "toggle_menu_locks_the_player_to_the_remote_view_surface_they're_on". It will also leave remote driving of cars and close the space map.
This absolutely is a bug, you seem to fundamentally misunderstand what I'm talking about. I'm talking about going into remote view - which is exactly the same remote view as normal - while your character is inside a space platform, which replaces the *characters* view (when we aren't in remote view) with a scrollable view of the platform, but doesn't do anything to change how remote view works. It's not like remote driving a car where we are directly controlling another entity and need to escape out of that mode, we're just using bog standard ordinary remote view, and yet the value of this variable is arbitrarily not respected.

When remote driving vehicles or looking at the space map (or doing other UI related things), your view is normally locked, or you're in a special state that doesn't facilitate normal play. That's not the case when you're on a space platform.

I made a mod to use this function (https://mods.factorio.com/mod/BetterRemoteView), and the extra QoL of being able to open the menu and save without cancelling out of remote view is quite nice and feels very good, I can literally sit in remote view for hours now without interruption, which seems like a pretty fundamental improvement to me. Not having the same behaviour when inside a space platform certainly feels like a bug, even if it's technically working as intended, because using remote view in that context is the same as using it at any other time, and yet using it will result in inconsistent behaviour that doesn't meet expectations with the value set. It's hard to describe, unfortunately.

Despite this not being considered a bug, I *highly* recommend the use-case of this variable be looked at because it fundamentally makes more sense to work in the way I described. At the very least, an extra variable should be added to enforce the same behaviour when "forced" into remote view (which AFAIK only happens when you're currently onboard a space platform)

I guess if I had to describe why I think it's an issue. "toggle_menu_leaves_remote_view" essentially means that pressing Escape will cancel out of remote view, and go back to your character view. Because there IS no character view when you're inside a space platform, you instead get "remote view" of that platform, centered on the player. I don't see why it should work differently between these two different contexts because pressing TAB or M or whatever to go into remote view is the same regardless of whether you're on a space platform or not. You can still enable and disable remote view with the remote view key, and it doesn't behave how you'd expect.

To summarize: When I go onto a space platform, my player view is replaced with a limited "remote view" of the platform, but regular remote view still works as normal and is unchanged from how it would be if I was just standing around on Nauvis. Thus, "toggle_menu_leaves_remote_view" should behave as usual, since remote view is completely unchanged when on a space platform, only the players perspective is different. But alas, it doesn't respect the value of this variable when on a space platform. Therefore, it's a bug.

Sometimes I wish there was a "my bug was classed as not a bug but is actually a bug" forum.