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

Solaris DnD should not send mouseReleased after DnD

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P2
    • Resolution: Fixed
    • Affects Version/s: 1.4.0
    • Fix Version/s: 1.4.0
    • Component/s: client-libs
    • Labels:
    • Subcomponent:
    • Resolved In Build:
      rc1
    • CPU:
      sparc
    • OS:
      solaris_8
    • Verification:
      Verified

      Description

      As a fix to 4215643, the Solaris DnD implementation was changed to send a mouseReleased event to the window which originated the drag at the end of a DnD operation. Only the Solaris implementation was changed.

      This is a problem for multiple reasons.
      1) This change was made for Solaris only. The event is not sent on Windows. As a result, DnD developers will need to handle things differently on different platforms.
      2) Swing's DnD implementation was written expecting no mouseEvents after the start of a DnD operation (the old behavior).

      As a result of this change, on Solaris, Swing components supporting drag respond oddly when their mouseListeners receive a mouseReleased event at the end of a DnD operation. It is unexpected and results in incorrect selection behavior.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              dassunw Das Das (Inactive)
              Reporter:
              shickeysunw Shannon Hickey (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: