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

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

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P3
    • Resolution: Fixed
    • Affects Version/s: 8
    • Fix Version/s: 8u20
    • Component/s: javafx
    • Labels:
      None
    • Environment:

      OS X 10.8

      Description

      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>

        Attachments

          Activity

            People

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

              Dates

              Created:
              Updated:
              Resolved:
              Imported: