-
-
Notifications
You must be signed in to change notification settings - Fork 24
Fixes Mac Info and settings... menu options. #457
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
base: master
Are you sure you want to change the base?
Conversation
| userOptionDialog.getShell().isDisposed()); | ||
|
|
||
| if (needsCreation) { | ||
| log.debug("Creating User Options dialog (first open or after disposal) - this takes ~2 seconds..."); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It really doesn't seem appropriate to mention anything about timing even in logging, especially because opening this dialog is near-instant for me on Linux.
| userOptionDialog.create(); | ||
| } | ||
| else { | ||
| log.debug("Reusing cached User Options dialog (instant open)"); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Here as well
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think I'm going to abandon trying to work around the delay on the mac, nothing seems to work. It just pushes the delay somewhere else.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Some initial profiling should be done to see where time is being spent. There's a lot of logic that can probably be avoided, especially if we separate options into categories better.
Removed OS-specific guard - No more ViewProperties.isMacOS() check Removed unnecessary asyncExec Removed redundant checks - No need for shell.isDisposed() checks that aren't used elsewhere Cleaned up variables - Removed unused display variable Platform-neutral naming - Method and log messages now use "system menu" terminology
Isolated fix from #454
Important
Fixes macOS menu handling in
HDFView.javaand centralizes macOS detection inViewProperties.java.setupMacOSMenuHandlers()inHDFView.javato handle macOS-specific "About" and "Preferences" menu items.openUserOptionsDialog()inHDFView.java.isMacOS()method inViewProperties.javafor centralized macOS detection.ViewProperties.isMacOS()inDefaultScalarDSTableView.javaandHDFView.java..github/CODEOWNERSto replace@byrnHDFwith@mattjala.This description was created by
for e6b15a5. You can customize this summary. It will automatically update as commits are pushed.