Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-6466587

cursor is displayed depends on the speed of the movement

XMLWordPrintable

    • x86
    • windows_xp

      J2SE Version (please include all output from java -version flag):

      java version "1.6.0-rc"
      Java(TM) SE Runtime Environment (build 1.6.0-rc-b91)
      Java HotSpot(TM) Client VM (build 1.6.0-rc-b91, mixed mode, sharing)

      Does this problem occur on J2SE 1.4.x or 5.0.x ? Yes / No (pick one)
      yes


      Operating System Configuration Information (be specific):
      Windows XP Professional SP2


      Hardware Configuration Information (be specific):
      Intel Pentium III, 730 Mhz, 384 Mb RAM


      Bug Description:
      When the user presses and drags the pointer out of a window, the
      cursor that is displayed depends on the speed of the movement.

      Steps to Reproduce (be specific):

      Compile and run the attached program. A window is displayed.
      Move the mouse in it. Then press a mouse button and drag the
      pointer out of the window slowly. A double arrow cursor is
      displayed (W_RESIZE).

      Redo the same gesture, but quickly. A cross-arrow (MOVE) cursor
      is displayed. Note that this is the cursor in force when
      the mouse is in the window, and not the one that has been set
      when the mouse exit event occurred. This means that in addition
      to be speed-dependent, the cursor does not even take into account
      the current setting. Note also that the drag events are dispatched
      to the component (which effectively has grabbed the mouse as long
      as it is not released), which means that the component should
      control the shape of the cursor.

      Attached two .avi files to show it which was recored by CamStudio.
      Just place the cursor in the window, press the left mouse button
      and drag it until it gets out of the window.
      The first shows the cross cursor displayed, the second the
      WE_CURSOR. Note that both are wrong since the mouse listener
      has set the hand cursor.

            dav Andrei Dmitriev (Inactive)
            tyao Ting-Yun Ingrid Yao (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: