Skip to content

Long module or folder filenames may parse incorrectly #1

@KevReillyUK

Description

@KevReillyUK

Some quirks with the built-in browser:

If a module has more than 40 characters in its filename (including any NextZXOS {LOAD=} flags and the file extension) it will wrap onto the next line of the built-in browser and appear to be a separate entry.

Selecting the non-wrapped part of the filename will load the module or open the folder as expected. (edit: this is true only if the item is the last one in the list -- see comments below)

If the file or folder is the last item in the list, selecting its wrapped part will return to the player in a paused and indeterminate state. Sometimes a restart (R) will return to the previously playing module, while other times it is necessary to press ENTER and (re-)select a valid module from the list.

If the file or folder is not the last item in the list, the name of the next file or folder on the SD card will be displayed on the same line as the wrapped characters. If the second filename is longer than the number of wrapped characters from the first it will overwrite them, and it will load or open correctly when selected in the browser. But if the second filename is shorter than the number of wrapped characters it will show with the excess characters appended, and when selected it will return to the player in the same indeterminate state as above.

Just to add to the confusion, a folder with a filename of exactly 40 characters will always return to the player in an indeterminate state when selected. A 39 character folder will work fine, as will one with more than 40 characters.

I hope this makes sense. It's easier to experience than to describe.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions