Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

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

Đang mở
#342 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Chưa có ai nhận issue này.

Đánh giá

Độ khó
4/5
Thời gian dự kiến
3-5 ngày
Mức phù hợp với người mới
45/100
Loại issue
Tính năng
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
cpp
Lĩnh vực
desktop

Hướng nghiên cứu

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.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

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.

Ngôn ngữ chính
C
Star
10
Fork
8
Merge trung bình
21 phút
Pull request đã merge (30 ngày)
1

Chuẩn bị môi trường

Dự án này không cung cấp dev container, Dockerfile hay hướng dẫn đóng góp, nên bạn cần tự thiết lập môi trường: hãy bắt đầu từ README và xem hướng dẫn đóng góp lần đầu của chúng tôi để biết các bước chung.

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của FriendsofECCE/ECCE

Tất cả issue của FriendsofECCE/ECCE

Issue tương tự

Thêm issue về C

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.