Hacktoberfest 2026: as issues que os mantenedores marcaram para outubro, abertas e boas para iniciantes. Ver issues do Hacktoberfest

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

Aberta
#342 0 comentários 0 reações 0 responsáveis Ver no GitHub

Ninguém assumiu esta issue ainda.

Avaliação

Dificuldade
4/5
Tempo estimado
3-5 dias
Facilidade para iniciantes
45/100
Tipo de issue
Funcionalidade
Clareza
Razoavelmente clara
Status de atividade
Ativa
Stack de tecnologia
cpp
Domínio
desktop

Direção de pesquisa

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.

Escrita pelo modelo de indexação a partir do texto da issue.

Descrição

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.

Linguagem predominante
C
Estrelas
10
Forks
8
Merge médio
21min
PRs com merge (30d)
1

Preparar o ambiente

Este projeto não oferece contêiner de desenvolvimento, Dockerfile nem guia de contribuição, então a configuração fica por sua conta: comece pelo README e veja nosso guia da primeira contribuição para os passos gerais.

Primeiros passos

  1. Leia a issue inteira e depois o guia de contribuição do projeto.
  2. Comente na issue dizendo que vai assumir — evita que duas pessoas façam o mesmo trabalho.
  3. Faça um fork do repositório e trabalhe em uma branch.
  4. Abra um pull request que referencie o número da issue.

Mais de FriendsofECCE/ECCE

Todas as issues de FriendsofECCE/ECCE

Issues semelhantes

Mais issues de C

Receba novas issues na sua caixa de entrada

Um resumo curto de issues do GitHub para quem está começando.