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

DnD cursor is not changed from NO_DROP even if drag is accepted by target

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Cannot Reproduce
    • Icon: P2 P2
    • None
    • 7
    • client-libs
    • None
    • generic
    • windows_xp

      The problem is reproducible only from 7.0b15.

      Use an attached test to reproduce the problem.

      1. Start drag from the red area.
      2. Cursor should be changed to NO_DROP, because red area is a java.awt.Panel without DropTarget support.
      3. Move the pointer over TextField.
      4. Cursor will not be changed to COPY or MOVE cursor <= Problem !
      This is incorrect because TextField has DropTarget support.
      5. Move the pointer over yellow area.
      6. Cursor will not be changed to COPY or MOVE cursor <= Problem !
      This is incorrect because the yellow Panel has DropTarget support.
      7. Slowly move pointer from red area to TextField.
      8. When border of the TextField is crossed, pointer visualy "jumps back". <= problem !
      The cursor should not change it's visual position in such way.
      9. Finish the drag by releasing the mouse button.

      NOTE: As for Step 8. Looks like anchor point of cursor is changed after crossing of TextField border.

            denis Denis Fokin (Inactive)
            denis Denis Fokin (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: