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

Application freezes when copying an animated gif image to the system clipboard

    XMLWordPrintable

Details

    • b22

    Backports

      Description

        I have implemented my own transferable object that represents an image and it's associated flavors. I am creating a transferable out of an animated gif image and setting it to the System Clipboard through SysClipboard.setContents(). As soon as I call this method, the application freezes and I had to eventually kill it by pressing CTRL+C. This is noticed only on Win32 platforms and not on Solaris / Linux. This is happening only for animated images and not for normal images. This is noticed on Tiger as well as Mustang.

        I have attached a sample test. Execute the sample test. You would see a frame with 2 buttons and 2 canvases. One of the canvases will show an animated java logo. Click 'Copy' button. After that, if the frame freezes, the bug is reproduced.
        ###@###.### 10/9/04 13:51 GMT

        EDITED:
        As of December 2022, this issue continues to reproduce using newer Java versions. Also, the issue is reproducible with both 32bit and 64bit on both Windows and Linux. Unclear why it was claimed to not reproduced on 64 and Unix/Linux when originally filed. Regarding the ability to "Ctrl+C" as an escape, this is not acceptable. A crash is a crash thereby making any application impacted by the issue unusable.
         

        Attachments

          Issue Links

            Activity

              People

                rmahajan Rajat Mahajan
                pmohansunw Praveen Mohan (Inactive)
                Votes:
                1 Vote for this issue
                Watchers:
                8 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved:
                  Imported:
                  Indexed: