OpenLoco / OpenLoco

An open source re-implementation of Chris Sawyer's Locomotion
https://openloco.io/
MIT License
1.26k stars 154 forks source link

Load Game dialog is sometimes blank #2255

Closed FenderBender2 closed 6 months ago

FenderBender2 commented 8 months ago

Version information:

Describe the bug Load Game window show no files or folders, even when there are some available in the current folder.

To Reproduce Steps to reproduce the behaviour:

  1. Click on the Load Saved Game icon.
  2. Navigate to a folder somewhere on your system. (Vanilla save game files used to be held in C:\Users\\AppData\Local\VirtualStore\Program Files (x86)\Atari\Locomotion\Single Player Saved Games).
  3. Clicking on VirtualStore in the path produces a blank file/folder list.
  4. Sometimes, when reversing back up the path, the files/folder window stays blank even when navigating back to C:.

Expected behaviour Files/folders should be displayed.

Screenshots image

Additional context Is this anything to do with folders or files that have spaces, or characters such as (x86)?

AaronVanGeffen commented 8 months ago

Hmm, honestly, I'm not sure what's going wrong. But it'd be better not to go through the VirtualStore stuff, anyway. Is it not an option to use OpenLoco's save folder?

FenderBender2 commented 8 months ago

Yes, but when I had the issue I tested it on the VirtualStore to produce the screen shot.

FenderBender2 commented 8 months ago

I've just done a quick check, and it seems this started happening from 23.07 onwards.

duncanspumpkin commented 7 months ago

Oh lol this is a funny one its the scroll bar that is broken and its hiding everything because it thinks that it can't be shown. If you click on the scroll bar it should be visible.

FenderBender2 commented 7 months ago

So it is 😄