ScreenToGif icon indicating copy to clipboard operation
ScreenToGif copied to clipboard

[Bug] Copy-pasting a set of frames in the editor pastes them _after_ the first frame, even though "before" is selected in the history window

Open AdmiralSnyder opened this issue 1 year ago • 2 comments

Describe the bug i wanted to offset a gif, and tried doing that using the clipboard (by selecting the last couple of frames and pasting them at the beginning - this did not work, because Copy-pasting a set of frames in the editor pastes them after the first frame, even though "before" is selected in the history window - i think this only happens for subsequent paste operations, but am not entirely sure.

To Reproduce Steps to reproduce the behavior:

  1. open a gif in the editor
  2. select the last couple of frames
  3. cut them using ctrl-x
  4. go to the beginning of the timeline using the Home key
  5. select "before selected frame" in the history window
  6. paste
  7. (it might be possible to repeat these steps for the bug to actually occur, i've seen inconsistencies there - might also be, because i have multiple instances of Screen2Gif running)

Expected behavior the cut frames are pasted before the first frame

Desktop (please complete the following information):

  • OS: [e.g. Windows 11]
  • Version [e.g. 2.38.1]

AdmiralSnyder avatar Sep 26 '23 13:09 AdmiralSnyder

In my tests, it works as expected. I also tried selecting the option after cutting, same results.

Pasting

NickeManarin avatar Sep 30 '23 22:09 NickeManarin

Hey, this is weird - two thoughts: a) i had a much longer gif (like, 60 items or so) b) i selected the "Before" paste option after i had copied stuff into the clipboard

but i just upgraded to the new version and it doesn't repro - though i didn't try very much i guess we should just close this for now?

AdmiralSnyder avatar Oct 03 '23 00:10 AdmiralSnyder