https://bugs.kde.org/show_bug.cgi?id=416921
Scott Petrovic <scottpetro...@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |INTENTIONAL CC| |scottpetro...@gmail.com Status|CONFIRMED |RESOLVED --- Comment #6 from Scott Petrovic <scottpetro...@gmail.com> --- This was written a little while ago, but I looked at it briefly. The way the paste() works right now, it requires a selection. When you do the deselect action in your code snippet, you are making it so the paste operation doesn't work. See this code. https://api.kde.org/appscomplete-api/krita-apidocs/libs/libkis/html/Selection_8cpp_source.html#l00177 If there is no selection, the paste isn't going to work. The way it works otherwise is that it will truncate some of your copied content depending on what you put fot he x and y position. My recommendation is probably just not to use the paste(). It is probably better to just use the paste action. You can move it around as needed, then merge down to a below layer if it needs to be on another layer. If there are coding questions like this, we also have a new krita-artists website that you can post questions to (https://krita-artists.org/). There is a good community of developers on there to help with scripting questions like this too. I am going to close this for now. If there is something else that comes up we can make a new ticket. -- You are receiving this mail because: You are watching all bug changes.