The following simple, runnable class demonstrates the error:
Clicking anywhere in the window should bring up a SWT Menu, but instead nothing happens.
This additional example demonstrates the expected behavior using a com.jogamp.opengl.swt.GLCanvas:
Non-reproducable in OSX and Windows
Reproducable in older versions of jogl (tested at around 500 commits before current commit 2965f17f1abd3c3af640407187ebedded29ad105)
Seems fixed with swt 4.4, current jogl (tested at current commit 2965f17f1abd3c3af640407187ebedded29ad105) in arch linux (kernel: 3.12.9)
I'm currently still experiencing the issue with the following setup:
OpenJDK Runtime Environment (IcedTea 2.4.7) (7u55-2.4.7-1ubuntu1)
OpenJDK 64-Bit Server VM (build 24.51-b03, mixed mode)
java version "1.7.0_65"
OpenJDK Runtime Environment (IcedTea 2.5.1) (7u65-2.5.1-4ubuntu1~0.14.04.1)
OpenJDK 64-Bit Server VM (build 24.65-b04, mixed mode)
Java(TM) SE Runtime Environment (build 1.7.0_65-b17)
Java HotSpot(TM) 64-Bit Server VM (build 24.65-b04, mixed mode)
Ubuntu 14.04 LTS
linux kernel 3.13.0-32-generic
Both GTK Version 2.8.7 and 3.10.8
JOGL Release Version 2.2.0
Both SWT 4.4 and 4.3
Does any of that look potentially outdated or not covered by your test cases?
It looks like you used a development snapshot of JOGL instead of the latest release (2.2.0). Are you able to reproduce the issue in 2.2.0?
My bad, not fixed.
It seems to actually be on and off... Some times the menu pops up some times not, and the button clicked (left-right) seems to affect whether it will..
Interesting. In the configuration which I listed below, the popup over NewtCanvasSWT _never_ works.
I'm glad that you're able to at least intermittently reproduce the issue though.