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

[Menus] Disable Edit menu items when not available #401

Closed
warpdesign opened this issue Mar 7, 2023 · 0 comments · Fixed by #406
Closed

[Menus] Disable Edit menu items when not available #401

warpdesign opened this issue Mar 7, 2023 · 0 comments · Fixed by #406

Comments

@warpdesign
Copy link
Owner

warpdesign commented Mar 7, 2023

Some (native) menus make no sense in some situations.

For example:

File menu

  • new tab disabled when

    • downloads active
    • a dialog is opened
  • close tab disabled when

    • downloads active
    • a dialog is opened
    • the active view has only one tab
  • new folder disabled when:

    • downloads are active
    • folder is readonly
    • a dialog is opened
    • cache.status !== 'ok'
  • rename disabled when:

    • downloads are active
    • folder is readonly
    • a dialog is opened
    • no file ore multiple files are selected ?
    • cache.status !== 'ok'
  • delete disabled when:

    • downloads are active
    • folder is readonly
    • a dialog is opened
    • no file ore multiple files are selected ?
  • open terminal disabled when:

    • downloads are active
    • a terminal is opened
    • cache.options.indirect is true
    • a dialog is opened
@warpdesign warpdesign changed the title [Menus] Disable menus when not available [Menus] Disable Edit menu items when not available Mar 7, 2023
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

Successfully merging a pull request may close this issue.

1 participant