[GH-ISSUE #1233] [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 #915

Open
opened 2026-02-26 09:33:00 +03:00 by kerem · 2 comments
Owner

Originally created by @AdmiralSnyder on GitHub (Sep 26, 2023).
Original GitHub issue: https://github.com/NickeManarin/ScreenToGif/issues/1233

Originally assigned to: @NickeManarin on GitHub.

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]
Originally created by @AdmiralSnyder on GitHub (Sep 26, 2023). Original GitHub issue: https://github.com/NickeManarin/ScreenToGif/issues/1233 Originally assigned to: @NickeManarin on GitHub. **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]
Author
Owner

@NickeManarin commented on GitHub (Sep 30, 2023):

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

Pasting

<!-- gh-comment-id:1741868916 --> @NickeManarin commented on GitHub (Sep 30, 2023): In my tests, it works as expected. I also tried selecting the option after cutting, same results. ![Pasting](https://github.com/NickeManarin/ScreenToGif/assets/14798947/e4f7789c-6f4c-4afa-9c1e-09ce8cfb69a0)
Author
Owner

@AdmiralSnyder commented on GitHub (Oct 3, 2023):

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?

<!-- gh-comment-id:1743941918 --> @AdmiralSnyder commented on GitHub (Oct 3, 2023): 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?
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#915
No description provided.