Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[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 #1233

Open
AdmiralSnyder opened this issue Sep 26, 2023 · 2 comments
Assignees
Labels
🔷 Bug 🐛 Type • An undesired situation happens. ⬜ Pending Status • This issue stills needs to be analyzed.

Comments

@AdmiralSnyder
Copy link

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 AdmiralSnyder added ⬜ Pending Status • This issue stills needs to be analyzed. 🔷 Bug 🐛 Type • An undesired situation happens. labels Sep 26, 2023
@NickeManarin
Copy link
Owner

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

Pasting

@AdmiralSnyder
Copy link
Author

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 up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🔷 Bug 🐛 Type • An undesired situation happens. ⬜ Pending Status • This issue stills needs to be analyzed.
Projects
None yet
Development

No branches or pull requests

2 participants