JDK-4471459 : Internal frames don't drag properly when using left handed mouse configuration.
  • Type: Bug
  • Component: client-libs
  • Sub-Component: java.awt
  • Affected Version: 1.4.0
  • Priority: P2
  • Status: Closed
  • Resolution: Duplicate
  • OS: windows_2000
  • CPU: x86
  • Submitted: 2001-06-19
  • Updated: 2001-07-20
  • Resolved: 2001-06-26
Related Reports
Duplicate :  
Description

Name: yyT116575			Date: 06/18/2001


java version "1.4.0-beta"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.0-beta-b65)
Java HotSpot(TM) Client VM (build 1.4.0-beta-b65, mixed mode)

The problem is that if your mouse is set up in a left-handed configuration, with
the mouse buttons switched (left / right click switched) then you click on an
internal frame's title bar and drag to move it, the window won't drag to the new
location.

  To reproduce:

  Set your mouse to a left-handed configuration.  On my Win2K machine I do
this by going to Start -> Control Panels -> Mouse and setting
  Left Button = Right-click
  Right Button = Click

  Run the SwingSet2 demo.  Go to the internal frame tab.  Try to drag windows
  as described above.

This function works on JDK 1.3.1.
(Review ID: 126852) 
======================================================================

Comments
EVALUATION Code in MetalInternalFrameUI.java is incorrect. It should be looking for the BUTTON1_DOWN_MASK in the modifiers. There seems to also be a bug in the MouseEvents being generated because the buttons aren't being swapping like they should. joutwate@eng 2001-06-20 Attaching sample program to show mouse event problems. Click and drag in the window and note which mouse events occur. The BUTTON1_CHANGE_EVENT is correct on left handed mice while the BUTTON1_DOWN_EVENT is incorrect. Reassigning to AWT. joutwate@eng 2001-06-21 Win32 only richard.ray@eng 2001-06-26 This is a duplicate of the problem listed in 4449779. richard.ray@eng 2001-06-26
21-06-2001