Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

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

Aperta
#342 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
45/100
Tipo di issue
Funzionalità
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
cpp
Ambito
desktop

Direzione di ricerca

Start with ewxGenericFileDialog and the four dialogs that derive from it: OpenCalculationDialog, ImportCalculationDialog, SaveExperimentAsDialog and ExportTableDialog. Find where the file-type filters are built from the CalculationFactory registry, since those must carry over to the native wxFileDialog. Done means local file choices open the native dialog in the last-used or home folder, the data-server browser stays reachable as a separate entry, and the filters still list .gro, .car and .pdb on Linux, Windows and macOS.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

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.

Lingua principale
C
Stelle
10
Fork
8
Merge medio
21m
PR unite (30g)
1

Preparare l'ambiente

Questo progetto non fornisce container di sviluppo, Dockerfile né guida per i contributori, quindi l'ambiente è a tuo carico: parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di FriendsofECCE/ECCE

Tutte le issue di FriendsofECCE/ECCE

Issue simili

Altre issue su C

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.