Menu

#3317 File picker dialog is empty

Current
open-needs-info
None
5
2023-01-14
2023-01-12
tkzv
No

When I try to save or load a savegame file, the list of files in the file picker dialog is empty. When I move a mouse cursor over it, it switches to "watch" icon as if waiting for all files to be read. However, this reading never finishes. Otherwise, the dialog does allow to traverse the directory tree and to type in file names to load and save them.
Game version: 1.0.0, both the binary and built from source.
OS: AMD64 Gentoo Linux. Java versions: dev-java/openjdk-bin-11.0.15_p10 and dev-java/openjdk-bin-17.0.3_p7.

Discussion

  • Stian Grenborgen

    This sounds like you are saving the files without ".fsg" (which unfortunately seems to be the default).

    Could you try entering * as the filename and pressing enter?

     
  • Stian Grenborgen

    • status: open --> open-needs-info
    • assigned_to: Stian Grenborgen
     
  • tkzv

    tkzv - 2023-01-14

    Entering * does nothing. The dialog is empty and the "watch" icon remains.

    But I think, I found the cause: This reliably happens when I launch the game with LC_ALL="C"

     
  • Stian Grenborgen

    Did you press enter after entering *?

    I'm still not able to reproduce the problem after setting LC_ALL to "C".

    Could you perhaps provide a screenshot of the load savegame dialog? ...and also the file "FreeCol.log"? (perhaps there's an exception being logged there)

    You can also try the development version where a "View all files (.)" filter has been added to the load dialog.

     
  • tkzv

    tkzv - 2023-01-14

    Did you press enter after entering *?

    Yes, I did.

    Here are the log and the screenshots: https://pastebin.com/gynjcbkC https://imgur.com/a/S8LbbX8 And could you delete the next 2 empty posts? Attaching doesn't seem to work in Firefox.

    And the Unicode file names in the log are damaged, all non-ASCII letters are replaced with "EF BF BD" sequence.

    P.S. Sorry, I misread your first reply and didn't mention this earlier. The files are all saved with .fsg extension, as you can see from the log.

     

    Last edit: tkzv 2023-01-14
  • tkzv

    tkzv - 2023-01-14
     

    Last edit: tkzv 2023-01-14
  • tkzv

    tkzv - 2023-01-14
     

    Last edit: tkzv 2023-01-14

Log in to post a comment.

MongoDB Logo MongoDB