-
Notifications
You must be signed in to change notification settings - Fork 221
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
Scenebuilder on MacOS does not display menu #404
Comments
Oops - forgot to add this to the Steps to reproduce section: |
<.MenuBar useSystemMenuBar="true" BorderPane.alignment="CENTER">. |
Hello @nevillebrailsford. I am able to reproduce the issue. When having 2 scenes open for editing in Scene Builder, switching to Scene different from the one with What is the desirable behavior, what do you think @nevillebrailsford & @abhinayagarwal ? For both versions, if the property Version 1:
Version 2:
Another point, not yet part of this issue, is that the property |
Hi Oliver, |
Version 1 is implemented in the PR #405. If you like, try out the issue-404 branch of my SceneBuilder mirror. Clone, switch to branch issue-404 and run with maven.
|
Hi Oliver, |
Version 1 is the way to go, only when you have a focused preview window it can take the system menu bar like any other active app. About adding the |
Once the proposed fix gets accepted, we can start a new issue for the |
Scenebuilder on MacOS does not show menu when FXML file has useMenuSystemBar set to true in the FXML file loaded into SceneBuilder..
Expected Behavior
SceneBuilder should show its full menu no matter what the FXML file being edited contains.
Current Behavior
SceneBuilder shows the menu from the FXML file.
Steps to Reproduce
Run SceneBuilder on macOS and load an FXML file that contains something like:
Your Environment
Product Version
JavaFX Scene Builder 16.0.0
Build Information
Version 16.0.0
Date: 2021-03-26 18:42:37
JavaFX Version: 16
Java Version: 16+36, AdoptOpenJDK
Logging
The default configuration stores logging output in a file named scenebuilder-16.0.0.log (possibly followed by a trailing '.' and a digit).
The default file path is /var/folders/6x/pg8zpv0s1jj6vnpxn028g7dc0000gn/T/scenebuilder-16.0.0.log
JavaFX
16
Java
16+36, AdoptOpenJDK
Operating System
Mac OS X, x86_64, 10.16
Screenshots
The text was updated successfully, but these errors were encountered: