LoginLogin
Might make SBS readonly: thread

Displaying DAT types in slot load dialog

Root / SmileBASIC Bug Reports / [.]

snail_Created:
In the slot load dialog (accessed from SHIFT - F2), it is possible that DAT type files will be displayed alongside TXT files (or even just DAT files, I'll get into it later.) Attempting to load DAT files into a slot fails silently, similar to this other bug I reported. To stop DAT files from displaying, simply navigate to the project list from any menu. I mention this particular bug because it interests me. I've managed to track down why it happens, but first I should go through how to trigger it step-by-step. Firstly, you have to take note of the active project in Direct mode. This is required for the trigger method. Then, exit to the Top Menu. From here, you have a choice! You may either go the Manage Projects/Files menu, or the Options menu. Options is the least annoying, so we'll go there. When you're in the Options menu, select Assign Program to SMILE Button, and navigate to the active project. Stop! When you're there, check the DAT box at the bottom to display DAT types in the list (you may also uncheck the TXT box to hide TXT files.) Then, pick any file. It doesn't matter. Return to Direct mode, and pull up the slot load dialog with SHIFT - F2. The file list will display DAT types! Now, to the why. As it turns out, the type filter for the file list is reset to default (TXT-only) every time the project list is opened. If you never open the project list, the type filter you set last will carry over to every file list dialog you open. This is why you can reset the bug by opening any project list. Why, then, do you have to use the SMILE Button dialog to do it? Because the dialog doesn't return to a list when you select a program, it exits straight away. So, you never end up defaulting the type filter setting. The same can be done with the Rename and Delete file lists. This bug is just so quirky and interesting. It can be avoided by forcibly displaying only TXT types in the slot load dialog instead of going off of the current filter setting. But, this bug flew under the radar and nobody ever fixed it! It's a very easy bug to miss considering the obscure way of activating it. Sorry for this long post amounting to a lot of nothing, it's just fascinating how many weird bugs SB has.

I like this, weird bugs are fun :D Wonder if there are other bugs pertaining to the smile button?