Skip to content

Builder: use the native file dialog for files on this computer #342

Open

Description

@ohlincha

Andy, 2026-10-15: the Builder's file browser (Add Structure from File, Open, Save As, export of tables) is poor. It opens in /, looks foreign on every platform, and lacks the desktop's bookmarks, recent files and search.

These dialogs derive from ewxGenericFileDialog (OpenCalculationDialog, ImportCalculationDialog, SaveExperimentAsDialog, ExportTableDialog), which is wx's generic dialog extended so it can also browse the data server.

Proposal

  • Use the native dialog (wxFileDialog: GTK file chooser, Windows and macOS dialogs) for files on this computer, starting in the last-used folder or the home folder.
  • Keep data-server browsing as a separate choice, e.g. a 'From the data server...' entry beside it, still using the old dialog. In local mode it is not needed at all.
  • Keep the file-type filters, which come from the CalculationFactory registry, so .gro, .car, .pdb and the rest stay listed.

Applies to Linux, Windows and macOS.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions