RFR: 6176679: Application freezes when copying an animated gif image to the system clipboard [v2]

Alan Snyder javalists at cbfiddle.com
Fri Apr 14 22:54:33 UTC 2023



> On Apr 14, 2023, at 3:48 PM, Rajat Mahajan <rmahajan at openjdk.org> wrote:
> 
>> On pressing the Copy button we keep waiting in AWT-EventQueue thread in reconstruct() function as we detect that we have missing information for the animated image since we are copying single frame at a time.

Is it really the case that multiple frames are copied one at a time?

I don’t see that, and don’t see how that could work.

I’m not saying it is wrong to copy only the first frame, as that is the only reasonable option if the goal is to transfer a BufferedImage.

I assume there is no Java representation of a multi-frame image that could be copied?


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.openjdk.org/pipermail/client-libs-dev/attachments/20230414/582a7883/attachment.htm>


More information about the client-libs-dev mailing list