<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://jogamp.org/bugzilla/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.2"
          urlbase="https://jogamp.org/bugzilla/"
          
          maintainer="sgothel@jausoft.com"
>

    <bug>
          <bug_id>1051</bug_id>
          
          <creation_ts>2014-08-24 12:31:16 +0200</creation_ts>
          <short_desc>org.eclipse.swt.widgets.Menu cannot be created over com.jogamp.newt.swt.NewtCanvasSWT</short_desc>
          <delta_ts>2015-06-05 13:40:39 +0200</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>3</classification_id>
          <classification>JogAmp</classification>
          <product>Newt</product>
          <component>swt</component>
          <version>1</version>
          <rep_platform>All</rep_platform>
          <op_sys>linux</op_sys>
          <bug_status>IN_PROGRESS</bug_status>
          <resolution></resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>---</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>geoff.ulman</reporter>
          <assigned_to name="Petros Koutsolampros">pjgl</assigned_to>
          <cc>bryan.osborn</cc>
    
    <cc>stacktracer</cc>
          
          <cf_type>---</cf_type>
          <cf_scm_refs></cf_scm_refs>
          <cf_workaround>---</cf_workaround>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>4115</commentid>
    <comment_count>0</comment_count>
    <who name="">geoff.ulman</who>
    <bug_when>2014-08-24 12:31:16 +0200</bug_when>
    <thetext>The following simple, runnable class demonstrates the error:

https://gist.github.com/ulmangt/e5aa014c1eb8c75328cd

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:

https://gist.github.com/ulmangt/3abfcd7bccb8ad6195d2</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>4116</commentid>
    <comment_count>1</comment_count>
    <who name="Petros Koutsolampros">pjgl</who>
    <bug_when>2014-08-24 22:58:58 +0200</bug_when>
    <thetext>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)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>4120</commentid>
    <comment_count>2</comment_count>
    <who name="">geoff.ulman</who>
    <bug_when>2014-08-25 00:42:43 +0200</bug_when>
    <thetext>
I&apos;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)

or

java version &quot;1.7.0_65&quot;
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)

or

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?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>4122</commentid>
    <comment_count>3</comment_count>
    <who name="Petros Koutsolampros">pjgl</who>
    <bug_when>2014-08-25 22:33:14 +0200</bug_when>
    <thetext>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..</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>4125</commentid>
    <comment_count>4</comment_count>
    <who name="">geoff.ulman</who>
    <bug_when>2014-08-27 06:06:05 +0200</bug_when>
    <thetext>Interesting. In the configuration which I listed below, the popup over NewtCanvasSWT _never_ works.

I&apos;m glad that you&apos;re able to at least intermittently reproduce the issue though.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>