Bug 364162 - Copy Paste to Frame
Summary: Copy Paste to Frame
Status: RESOLVED FIXED
Alias: None
Product: krita
Classification: Applications
Component: Animation (show other bugs)
Version: 3.0
Platform: Microsoft Windows Microsoft Windows
: NOR wishlist
Target Milestone: ---
Assignee: Krita Bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-06-10 00:03 UTC by Leonardo Kaempf
Modified: 2018-05-02 11:54 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Leonardo Kaempf 2016-06-10 00:03:16 UTC
When pasting pixel-informations to a specific Frame, Krita generates a new Layer. 
And when merging this layer to my animated one, the pixel-information got merged into every single Frame.   

Reproducible: Always

Steps to Reproduce:
1. select pixel from anywhere
2. select one frame in some random Layer and paste the copied Pixel-Information while you have highlighted the Frame which you want to paste to 
3. Krita creates a new layer called [random Layer (pasted)]
4. Select the both layers you want to merge and highlight the frame you want to add the pixel-information 
5. merge

Actual Results:  
the pixel-information was pasted into every frame in the layer which I wanted it to be merged to 

Expected Results:  
I wanted the pixel-information only in the highlighted frame;
and i wanted the possibility to paste directly to paste to a layer/frame

I don’t know if this is a bug-report or a feature-request, but the absence of the mechanism to copy Pixel from one Frame to another limits working with the animation-system very much.
Comment 1 Scott Petrovic 2016-07-13 14:16:02 UTC
This would be a feature request. There is no way for Krita to know now if you want to paste your clipboard content into a layer, or paste your clipboard content into an animation frame.
Comment 2 gordie.lachance+dev 2017-02-24 12:47:04 UTC
Totally agree, highly required !
Which also means the current "Copy Frame" command should be renamed to "Clone Current Frame" or something like that.
Comment 3 Dmitry Kazakov 2018-04-13 10:19:02 UTC
I'm going to fix the issue by pasting the selection into an animated layer with the same start and end time.
Comment 4 Leonardo Kaempf 2018-04-13 10:25:42 UTC
So, will it be possible to merge these Layers without loosing the frames? 
What I mean is:
Will it be possible to merge pasted material into the frame I am working with?
Comment 5 Dmitry Kazakov 2018-04-13 11:38:51 UTC
Git commit eca15c47e552827ec9440ac8bcc8140e4c38b601 by Dmitry Kazakov.
Committed on 13/04/2018 at 11:37.
Pushed by dkazakov into branch 'master'.

Fix copy-pasting pixel data from animated layers

Now when you copy-paste animated frame data, it is pasted into
exactly the same time range position. It means that if you later
merge down this data back to the original layer, you will not get
a data loss. The data will be merged exactly into the position where
it has been taken from.
CC:kimageshop@kde.org

M  +18   -2    libs/ui/actions/KisPasteActionFactory.cpp
M  +17   -3    libs/ui/actions/kis_selection_action_factories.cpp
M  +30   -3    libs/ui/kis_clipboard.cc
M  +4    -1    libs/ui/kis_clipboard.h

https://commits.kde.org/krita/eca15c47e552827ec9440ac8bcc8140e4c38b601
Comment 6 Halla Rempt 2018-05-02 11:54:42 UTC
Git commit a4df42f88c2e9dd01e83110270ba5bfdf939d408 by Boudewijn Rempt, on behalf of Dmitry Kazakov.
Committed on 02/05/2018 at 11:54.
Pushed by rempt into branch 'krita/4.0'.

Fix copy-pasting pixel data from animated layers

Now when you copy-paste animated frame data, it is pasted into
exactly the same time range position. It means that if you later
merge down this data back to the original layer, you will not get
a data loss. The data will be merged exactly into the position where
it has been taken from.
CC:kimageshop@kde.org
(cherry picked from commit 39ec1d47a59425969814dc840209ec2433bdd133)

M  +18   -2    libs/ui/actions/KisPasteActionFactory.cpp
M  +17   -3    libs/ui/actions/kis_selection_action_factories.cpp
M  +30   -3    libs/ui/kis_clipboard.cc
M  +4    -1    libs/ui/kis_clipboard.h

https://commits.kde.org/krita/a4df42f88c2e9dd01e83110270ba5bfdf939d408