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

Event drop isn't called with a link from Explorer 5.5

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P3 P3
    • 1.4.0
    • 1.3.0
    • client-libs
    • beta2
    • x86
    • windows_nt



      Name: boT120536 Date: 02/19/2001


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

      I've developed an applet to share links with the browser using drag & drop.
      It works fine with Netscape 4.7 or Internet Explorer 4.0, but with Internet
      Explorer 5.5 the drop event of the drop target isn't executed.

        To reproduce de problem, Sheetal Gupta's Drag & Drop sample code, from
      http://java.sun.com/docs/books/tutorial/dnd/sheetal.html, can be used adding
      a 'System.out.println("drop");' at the beggining of the drop event.

      It isn't executed with that version of the explorer, and the applet only knows
      when the cursor enters or exists the drop target.

      I don't have any problem with Windows NT or with Drag & Drop in an applet
      (I use a thread to program the drop target listener), as most of bugs talk
      about, so all events are executed if I try to drop a text or a file, for
      exemple, into the target (the Bug ID 4225247 covers a fixed problem of Java
      1.2.1 which don't let those events to run on NT, and I use Java 1.3.0).

      The problem I have is while dropping a link from Internet Explorer 5.5 into
      the applet: the drop event isn't fired. But if the link comes from Internet
      Explorer 4.0 or Netscape Communicator 4.7 (I have only checked this
      version), all is OK.

      Please, note that I use the applet inside a web page running on MS Explorer
      5.5, and the problem is independet on that. It only depends on the drag
      source: if it's a link form Internet Explorer 5.5 the drop event isn't
      runned.

       I've also noticed that when dropping a selected text form Internet
      Explorer 5.5 the drop event works. So try with a link.

      Thank you.
      (Review ID: 117005)
      ======================================================================

            ibdsunw Ibd Ibd (Inactive)
            bonealsunw Bret O'neal (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: