JDK-6287288 : Menu doesn't disappear if window title is clicked - under Windows LAF
  • Type: Bug
  • Component: client-libs
  • Sub-Component: javax.swing
  • Affected Version: 5.0
  • Priority: P4
  • Status: Closed
  • Resolution: Cannot Reproduce
  • OS: windows_xp
  • CPU: x86
  • Submitted: 2005-06-17
  • Updated: 2011-02-16
  • Resolved: 2005-12-23
Related Reports
Relates :  
Description
FULL PRODUCT VERSION :
java version "1.5.0_03"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_03-b07)
Java HotSpot(TM) Client VM (build 1.5.0_03-b07, mixed mode, sharing)

ADDITIONAL OS VERSION INFORMATION :
Microsoft Windows XP [ 5.1.2600]

A DESCRIPTION OF THE PROBLEM :
Under Windows LookAndFeel open menu (from JMenuBar) should disappear when user click to  native windows title. You can check this behavior on any native Windows application, for example notepad.exe

STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
1. Launch SwingSet2.jar
2. Swintch to Windows LAF
3. Click to "File" menu
4. Move mouse to window title area (and make sure that "File" menu is still open)
5. Click to title

EXPECTED VERSUS ACTUAL BEHAVIOR :
EXPECTED -
"File" menu should disappear
ACTUAL -
"File" menu presents on screen

REPRODUCIBILITY :
This bug can be reproduced always.
###@###.### 2005-06-17 14:15:52 GMT

Comments
EVALUATION This problem is gone after bug 6322035 (Need to use native mouse grab support for menus and popups.) is fixed. Closing as not reproducible and adding 6322035 to see also list.
23-12-2005