Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8094453

[SWT, Mac] ContextMenu is not shown when embedded through FXCanvas

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P3 P3
    • 8u20
    • 8
    • javafx
    • None
    • OS X 10.8

      Context menus simply don't open:

      <?xml version="1.0" encoding="UTF-8"?>
      <!--
      Do not edit this file it is generated by e(fx)clipse from ../src/application/TestMe.fxgraph
      -->

      <?import java.lang.*?>
      <?import javafx.scene.control.Button?>
      <?import javafx.scene.control.ContextMenu?>
      <?import javafx.scene.control.MenuItem?>
      <?import javafx.scene.layout.HBox?>

      <HBox xmlns:fx="http://javafx.com/fxml">

      <children>
      <Button text="Hello World">
      <contextMenu>
      <ContextMenu>
      <items>
      <MenuItem text="Hello World"/>
      </items>
      </ContextMenu>
      </contextMenu>
      </Button>
      </children>
      </HBox>

            snorthov Steve Northover (Inactive)
            tschindl Tom Schindl
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported: