JDK-5094127 : SwingSet2 demo menu items don't react to mouse clicks
  • Type: Bug
  • Component: deploy
  • Sub-Component: plugin
  • Affected Version: 5.0
  • Priority: P3
  • Status: Closed
  • Resolution: Duplicate
  • OS: generic
  • CPU: generic
  • Submitted: 2004-08-30
  • Updated: 2004-09-07
  • Resolved: 2004-09-07
Related Reports
Duplicate :  
Description
When the SwingSet2 demo program is runned in applet mode via browser it's menu item don't react to the mouse clicks. Instead the underlaying 'control' (e.g. button switching pages) receives the event.
Found on RedHat9.0 and SuSE 8.2
Bundles: JDK or JRE 1.5.0 RC b63
###@###.### 2004-08-30


below is instructions to reproduce from ###@###.###
  - install Redhat 9.0
  - install jre-1_5_0-rc-linux-i586-rpm.bin
  - reg. the java plugin: 'ln -s /usr/java/jre1.5.0/plugin/i386/ns7-gcc29/libjavaplugin_oji.so /usr/lib/mozilla-1.2.1/plugins/libjavaplugin_oji.so'
  - login as an ordinary user (tester)
  - run mozilla
  - open the SwingSet demo: http://java.sun.com/products/plugin/1.5.0/demos/plugin/jfc/SwingSet2/SwingSet2.html
  - wait till the applet full load
  - open a menu in the applet
  - !!! TRY TO SELECT A MENU ITEM !!!

On my computer the click event doesn't go to the menu but to the element under the open menu!


below is email from ###@###.### who reproduced the problem:
I tested this on RH 9 w/ Mozilla 1.2.1, and RHEL AS 2.1u4 w/ Mozilla 1.4.2.  The behavior is as described; menu clicks pass straight through the menu and the event is sent to whatever is below the menu.  I tested the 1.4.2 version of SwingSet2 with the Tiger-RC plugin, and the behavior is the same.  I also tested the 1.4.2 version of SwingSet2 with the 1.4.2 plugin, and the problem doesn't occur (1.4.2 can't run the 1.5.0 version of SwingSet2). 

Comments
EVALUATION This is reproducible in appletviewer as well with GTK L&F only. Re-assigning to swing. ###@###.### 2004-08-31 I can not reproduce the issue you are seeing. GTK L&F was broken in applet mode due to a SecurityManager issue which was resolved in bug id 5094122. Is this what you are seeing? Did you receive a stack trace of any sort to the console? ###@###.### 2004-09-01 I added some notes from ###@###.### and ###@###.### on "description" section. Please see if these help to reproduce. thx! ###@###.### 2004-09-01 Conflicting information in description and initial evaluation. Second e-mail has been sent to all parties. Marking as incomplete until I receive an update. ###@###.### 2004-09-01 It has nothing to do with L&F. I initially found this problem in the default L&F SwingSet2 demo uses when loaded (Java L&F). The initial evaluation says that not only in browser but also in appletviewer it is reproducible, in appletviewer in GTK L&F only. ###@###.### 2004-09-02 I still can not reproduce this issue with appletviewer. Transferring to the plugin group for further evaluation. ###@###.### 2004-09-03 Close it as dup of 5094122 ###@###.### 2004-09-07
03-09-2004