News:

Simutrans Sites
Know our official sites. Find tools and resources for Simutrans.

[Bug] Inaccessible landscape tools

Started by michal., June 12, 2020, 02:54:10 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

michal.

Hi,

I'm unable to click on landscape tools from the top menu after loading the attached save game. The save was created on May 10.



The button remains darker as if the panel was opened at all time. However, lowering/raising terrain via shortcuts works. There are no issues when the save is opened by May 10 linux version by which the map was originally created. I have no issues loading other saves - older or younger than this one -, this issue is specific to the attached save.

Save: https://easyupload.io/nvdd0y

jamespetts

Thank you for your report. I have briefly looked into this, but have not had time to examine this in full. The landscape window appears to be treated as being open, but is somehow corrupt, and closing all windows using the backspace key appears to cause a crash in tool_selector_t::empty on the basis that the object of which that function is a member is an invalid memory location.

This may require some considerable and complex work to look into. In the meantime, you might work around the issue by using the keyboard shortcuts for the various landscaping tools.
Download Simutrans-Extended.

Want to help with development? See here for things to do for coding, and here for information on how to make graphics/objects.

Follow Simutrans-Extended on Facebook.

Mariculous

I cannot confirm the crash.
I can close the window using escape, packspace, delete or  right click.
It does not appear on screen, however.

I'd expect the game was saved at high resolution and the window is out of viewport as I have observed such issues frequently when transfering savegames from my computer to my old laptop, which had a smaller resolution.
I did not debug this save, however.

Edit: Still the game crashed, after a while but that was not related to closing the window.