Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo


#74 File selector dialogue improvements

Stuart Brady

The file selector dialogues should provide a file type selection box, as is common in many applications.

There should be a separate 'load snapshot' dialogue limited to just snapshots.

An 'All files' filter should still be provided, and an 'All snapshots' filter should be provided for the snapshot dialogues, 'All tapes' for tape dialogues, and so on and so forth.

Of course, infrastructure would need to be added to libspectrum to provide for this, and then it would be up to the individual UI maintainers to make use of it at some later stage.

A preview could be included of the screen contents when selecting a snapshot for toolkits which support this, although no snapshot format yet includes a full dump of the last frame of video (perhaps a bug in itself?) so this would have to be generated based on the video memory within the snapshot.

It might also be useful to have a 'start paused' option in the dialogue for toolkits which support this, and for loading of a snapshot when paused to result in a preview of the display being shown. At present, the screen remains unchanged from before loading the snapshot. The same applies to performing a machine reset.


  • I only do file type selection on save dialogs but you can see what previews can look like in the attached from Fuse for Mac OS X.

  • Stuart Brady
    Stuart Brady

    Thanks for the screenshot! I notice also the snapshot type information included in the preview, which is a nice touch.

    I would say that we should try to follow the conventions of whatever desktop environment we're building for, wherever this is practical. I'm not proposing that we change the widget UI, but it could perhaps benefit, too.