[GH-ISSUE #470] Copy link copies a PNG file rather than the gif #393

Closed
opened 2026-02-26 09:31:16 +03:00 by kerem · 11 comments
Owner

Originally created by @nickdiacre on GitHub (Mar 25, 2019).
Original GitHub issue: https://github.com/NickeManarin/ScreenToGif/issues/470

On hitting "save as... copy link" the data on the clipboard is just the last PNG frame and not the actual animated GIF...

Originally created by @nickdiacre on GitHub (Mar 25, 2019). Original GitHub issue: https://github.com/NickeManarin/ScreenToGif/issues/470 On hitting "save as... copy link" the data on the clipboard is just the last PNG frame and not the actual animated GIF...
kerem closed this issue 2026-02-26 09:31:16 +03:00
Author
Owner

@ajayyy commented on GitHub (May 27, 2019):

Same with copy as image, but I kind of understand that.

<!-- gh-comment-id:496048529 --> @ajayyy commented on GitHub (May 27, 2019): Same with copy as image, but I kind of understand that.
Author
Owner

@erickmp07 commented on GitHub (Apr 2, 2020):

I want to fix this bug.
Can you describe the steps to reproduce it?

<!-- gh-comment-id:608108068 --> @erickmp07 commented on GitHub (Apr 2, 2020): I want to fix this bug. Can you describe the steps to reproduce it?
Author
Owner

@ajayyy commented on GitHub (Apr 2, 2020):

It might be intended as the clipboard has a maximum size.

This occurs when you hit export and then click the copy image button on the export dialog

<!-- gh-comment-id:608108972 --> @ajayyy commented on GitHub (Apr 2, 2020): It might be intended as the clipboard has a maximum size. This occurs when you hit export and then click the copy image button on the export dialog
Author
Owner

@erickmp07 commented on GitHub (Apr 2, 2020):

I'm sorry, but I can't reproduce this bug.
The Copy Image Button on the Export Dialog doesn't exist at version 2.22.1 or I couldn't find it.

<!-- gh-comment-id:608131478 --> @erickmp07 commented on GitHub (Apr 2, 2020): I'm sorry, but I can't reproduce this bug. The Copy Image Button on the Export Dialog doesn't exist at version 2.22.1 or I couldn't find it.
Author
Owner

@nickdiacre commented on GitHub (Apr 2, 2020):

Thanks for looking into this...

Just tested...

  • Create recording
  • Go to "Save As"
  • Select "Copy to Clipboard" as output
  • Got to app - in my case Mailbird, Discord or Slack
  • Paste

The result is a PNG plus text linking to the file.

Nick

On 02/04/2020 23:49:19, Erick Macedo Pinto notifications@github.com wrote:
I'm sorry, but I can't reproduce this bug.
The Copy Image Button on the Export Dialog doesn't exist at version 2.22.1 or I couldn't find it.

You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub [https://github.com/NickeManarin/ScreenToGif/issues/470#issuecomment-608131478], or unsubscribe [https://github.com/notifications/unsubscribe-auth/ABLE5FSSQ7CQI2H56DCAOU3RKUI65ANCNFSM4HA4EJPA].

<!-- gh-comment-id:608137557 --> @nickdiacre commented on GitHub (Apr 2, 2020): Thanks for looking into this... Just tested... * Create recording * Go to "Save As" * Select "Copy to Clipboard" as output * Got to app - in my case Mailbird, Discord or Slack * Paste The result is a PNG plus text linking to the file. Nick On 02/04/2020 23:49:19, Erick Macedo Pinto <notifications@github.com> wrote: I'm sorry, but I can't reproduce this bug. The Copy Image Button on the Export Dialog doesn't exist at version 2.22.1 or I couldn't find it. — You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub [https://github.com/NickeManarin/ScreenToGif/issues/470#issuecomment-608131478], or unsubscribe [https://github.com/notifications/unsubscribe-auth/ABLE5FSSQ7CQI2H56DCAOU3RKUI65ANCNFSM4HA4EJPA].
Author
Owner

@NickeManarin commented on GitHub (Apr 2, 2020):

There's two places where you can set to copy the generated gif:

image

image

The first that says "File" is the same as the "Copy" button on the second one.

The problem here is that there's no Windows API to properly add a GIF to the clipboard, with all frames.

https://stackoverflow.com/a/19823589/1735672

(I'm going to try something different)

<!-- gh-comment-id:608138159 --> @NickeManarin commented on GitHub (Apr 2, 2020): There's two places where you can set to copy the generated gif: ![image](https://user-images.githubusercontent.com/14798947/78307382-1e883b00-751c-11ea-9420-ba7a3b52b568.png) ![image](https://user-images.githubusercontent.com/14798947/78307527-7cb51e00-751c-11ea-9cd9-0f0678068275.png) The first that says "File" is the same as the "Copy" button on the second one. The problem here is that there's no Windows API to properly add a GIF to the clipboard, with all frames. https://stackoverflow.com/a/19823589/1735672 (I'm going to try something different)
Author
Owner

@nickdiacre commented on GitHub (Apr 2, 2020):

yes I was using file, should have added that...

<!-- gh-comment-id:608138614 --> @nickdiacre commented on GitHub (Apr 2, 2020): yes I was using file, should have added that...
Author
Owner

@nickdiacre commented on GitHub (Apr 2, 2020):

Both options, using "file" and right clicking the completed result yield the same outcome

<!-- gh-comment-id:608139015 --> @nickdiacre commented on GitHub (Apr 2, 2020): Both options, using "file" and right clicking the completed result yield the same outcome
Author
Owner

@erickmp07 commented on GitHub (Apr 2, 2020):

So the issue doesn't have a solution at this moment, right?

<!-- gh-comment-id:608141903 --> @erickmp07 commented on GitHub (Apr 2, 2020): So the issue doesn't have a solution at this moment, right?
Author
Owner

@NickeManarin commented on GitHub (Apr 2, 2020):

Kind of. I'm going to replace the code of the File/Copy options to follow the same behavior as doing Ctrl + C with the file selected on Windows Explorer.

Also, I'm going to remove the "Copy as Image".

<!-- gh-comment-id:608149267 --> @NickeManarin commented on GitHub (Apr 2, 2020): Kind of. I'm going to replace the code of the File/Copy options to follow the same behavior as doing Ctrl + C with the file selected on Windows Explorer. Also, I'm going to remove the "Copy as Image".
Author
Owner

@NickeManarin commented on GitHub (Apr 3, 2020):

Closing this as not possible to fix, but with a code tweak.

<!-- gh-comment-id:608157195 --> @NickeManarin commented on GitHub (Apr 3, 2020): Closing this as not possible to fix, but with a code tweak.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/ScreenToGif#393
No description provided.