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

FXML with useSystemMenuBar="true" makes SceneBuilder replace its menu #69

Open
gluon-bot opened this issue Apr 3, 2016 · 2 comments
Open
Labels
bug Something isn't working major

Comments

@gluon-bot
Copy link

Originally reported by: Takashi Aoe (Bitbucket: aoetk, GitHub: aoetk)


This is the same issue as JDK-8089659 reported in JDK Bug System.
I report this issue here because it is reproduced in Gluon Scene Builder 8.1.1.

I quote the report content below.

If opened FXML file contains menuBar with useSystemMenuBar="true" then SceneBuilder replaces its own menu with this one. After that entire application is just unusable and must be closed using system menu.

Encountered on revision 8898:33c7a11ad099.

Sample FXML:

<BorderPane maxHeight="-Infinity" maxWidth="-Infinity" minHeight="-Infinity" minWidth="-Infinity" prefHeight="400.0" prefWidth="600.0" xmlns="http://javafx.com/javafx/8.0.45" xmlns:fx="http://javafx.com/fxml/1">
   <top>
      <MenuBar BorderPane.alignment="CENTER" useSystemMenuBar="true">
        <menus>
          <Menu mnemonicParsing="false" text="File">
            <items>
              <MenuItem mnemonicParsing="false" text="Close" />
            </items>
          </Menu>
          <Menu mnemonicParsing="false" text="Edit">
            <items>
              <MenuItem mnemonicParsing="false" text="Delete" />
            </items>
          </Menu>
          <Menu mnemonicParsing="false" text="Help">
            <items>
              <MenuItem mnemonicParsing="false" text="About" />
            </items>
          </Menu>
        </menus>
      </MenuBar>
   </top>
</BorderPane>

@gluon-bot
Copy link
Author

Original comment by krabica (Bitbucket: krabica, GitHub: Unknown):


Please solve this problem.
Snímek obrazovky 2017-01-22 v 17.35.30.png

@gluon-bot gluon-bot added major bug Something isn't working labels May 9, 2018
@Oliver-Loeffler
Copy link
Collaborator

Oliver-Loeffler commented Oct 3, 2022

Hi @AlmasB, this one was fixed with with PR #405. Can you close this one please? // CC @aoetk

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working major
Projects
None yet
Development

No branches or pull requests

2 participants