<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.kde.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.6"
          urlbase="https://bugs.kde.org/"
          
          maintainer="sysadmin@kde.org"
>

    <bug>
          <bug_id>364162</bug_id>
          
          <creation_ts>2016-06-10 00:03:16 +0000</creation_ts>
          <short_desc>Copy Paste to Frame</short_desc>
          <delta_ts>2018-05-02 11:54:42 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>2</classification_id>
          <classification>Applications</classification>
          <product>krita</product>
          <component>Animation</component>
          <version>3.0</version>
          <rep_platform>Microsoft Windows</rep_platform>
          <op_sys>Microsoft Windows</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>NOR</priority>
          <bug_severity>wishlist</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Leonardo Kaempf">monatsend</reporter>
          <assigned_to name="Krita Bugs">krita-bugs-null</assigned_to>
          <cc>dimula73</cc>
    
    <cc>gordie.lachance+dev</cc>
    
    <cc>scottpetrovic</cc>
          
          <cf_commitlink>https://commits.kde.org/krita/a4df42f88c2e9dd01e83110270ba5bfdf939d408</cf_commitlink>
          <cf_versionfixedin></cf_versionfixedin>
          <cf_sentryurl></cf_sentryurl>
          <votes>0</votes>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1600142</commentid>
    <comment_count>0</comment_count>
    <who name="Leonardo Kaempf">monatsend</who>
    <bug_when>2016-06-10 00:03:16 +0000</bug_when>
    <thetext>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.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1607626</commentid>
    <comment_count>1</comment_count>
    <who name="Scott Petrovic">scottpetrovic</who>
    <bug_when>2016-07-13 14:16:02 +0000</bug_when>
    <thetext>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.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1662988</commentid>
    <comment_count>2</comment_count>
    <who name="">gordie.lachance+dev</who>
    <bug_when>2017-02-24 12:47:04 +0000</bug_when>
    <thetext>Totally agree, highly required !
Which also means the current &quot;Copy Frame&quot; command should be renamed to &quot;Clone Current Frame&quot; or something like that.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1745208</commentid>
    <comment_count>3</comment_count>
    <who name="Dmitry Kazakov">dimula73</who>
    <bug_when>2018-04-13 10:19:02 +0000</bug_when>
    <thetext>I&apos;m going to fix the issue by pasting the selection into an animated layer with the same start and end time.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1745209</commentid>
    <comment_count>4</comment_count>
    <who name="Leonardo Kaempf">monatsend</who>
    <bug_when>2018-04-13 10:25:42 +0000</bug_when>
    <thetext>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?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1745217</commentid>
    <comment_count>5</comment_count>
    <who name="Dmitry Kazakov">dimula73</who>
    <bug_when>2018-04-13 11:38:51 +0000</bug_when>
    <thetext>Git commit eca15c47e552827ec9440ac8bcc8140e4c38b601 by Dmitry Kazakov.
Committed on 13/04/2018 at 11:37.
Pushed by dkazakov into branch &apos;master&apos;.

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</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1749538</commentid>
    <comment_count>6</comment_count>
    <who name="Halla Rempt">halla</who>
    <bug_when>2018-05-02 11:54:42 +0000</bug_when>
    <thetext>Git commit a4df42f88c2e9dd01e83110270ba5bfdf939d408 by Boudewijn Rempt, on behalf of Dmitry Kazakov.
Committed on 02/05/2018 at 11:54.
Pushed by rempt into branch &apos;krita/4.0&apos;.

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</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>