Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Consider using system menu for "typical" functionality #6

Open
daemontus opened this issue Sep 28, 2023 · 2 comments
Open

Consider using system menu for "typical" functionality #6

daemontus opened this issue Sep 28, 2023 · 2 comments

Comments

@daemontus
Copy link
Member

Right now, we have import/export tab which is ok, but not very idiomatic in desktop apps. Instead, we could use system menus for this, as other applications do. As part of this, we could also "improve" the recent/last model functionality to be more in line with typical behavior in desktop apps.

@daemontus
Copy link
Member Author

daemontus commented Oct 12, 2023

What we know so far:

  • On macOS, help should ideally be last, otherwise stuff breaks.
  • On macOS, the first item should be "app menu" with about/quit/etc.
  • We should test menu show/hide on macOS to see if it would be possible to have different per-window menus.
  • If show/hide does not work, we need to make a menu on macOS which changes items using enabled/disabled depending on the focused window.

@StefanSidlo StefanSidlo mentioned this issue Nov 2, 2023
@daemontus
Copy link
Member Author

Mostly resolved by #15, but there are still some issues/inconsistencies to look out for, so I'll keep this open for brainstorming.

TODOs:

  • It would make sense to enable the import/export menu also in other windows, in which case the export would be the underlying model (for computation) and the import would simply open a new editor.
  • It would be nice to have help with manual as the last menu, because then we get a "search menus" functionality in macOS for free.
  • We should add .bnet import, but I'll take care of that.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant