Summary: | Paste into Active Layer and Paste at Cursor paste at the wrong locations | ||
---|---|---|---|
Product: | [Applications] krita | Reporter: | tomtomtomreportingin |
Component: | General | Assignee: | amyspark <amy> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | Ahmettabak1, amy, halla, ss93078 |
Priority: | NOR | Keywords: | regression |
Version: | nightly build (please specify the git hash!) | ||
Target Milestone: | --- | ||
Platform: | Appimage | ||
OS: | Linux | ||
Latest Commit: | https://invent.kde.org/graphics/krita/commit/5b5361c1014219bb9ae1ac87337c0da28f517d43 | Version Fixed In: | |
Sentry Crash Report: | |||
Attachments: | Offset when pasting at cursor |
Description
tomtomtomreportingin
2022-05-01 02:01:28 UTC
Yes, I just want to report it and find your report, confirm this. In 5.0.5 it will paste at the same position where it cut from, while 5.1.0-f866b153a4 will paste at center canvas. re Paste into Active Layer: this may have regressed in commit 84dc357b65f4591573199bca060e82d754b27ce9. The current flow doesn't handle layers, only paint devices. re Paste at cursor: cannot reproduce with commit c94a346e42. Could you send a video of how you reproduce it? A possibly relevant merge request was started @ https://invent.kde.org/graphics/krita/-/merge_requests/1482 Created attachment 149986 [details]
Offset when pasting at cursor
The offset seems dependent on the position on the canvas where the selection was cut from. If you cut from near the top left edge of the canvas for example, then there is only slight offset when pasting at the cursor. This offset does not exist in 5.0.6.
Thanks for your comment! Automatically switching the status of this bug to REPORTED so that the KDE team knows that the bug is ready to get confirmed. In the future you may also do this yourself when providing needed information. Thanks! Just one more thing: if you try drag-and-dropping the image, does it paste at the cursor correctly? If you're referring to dragging and dropping from another application, dragging and dropping from Firefox to Krita drops the image somewhere near the top left edge of the canvas, with an empty layer name. There seems to be some bad calculation as it seems to only slightly depend on the position you drop it at. In 5.0.6, it always drops it at the center (as "Paint Layer X"). Git commit 6c5a713b51f787a19c5c69aba2f41312cc4c8d33 by L. E. Segovia. Committed on 02/07/2022 at 00:42. Pushed by lsegovia into branch 'master'. Paste into Active Layer: allow native pasting once again This commit partially reverts commit 84dc357b65f4591573199bca060e82d754b27ce9. M +10 -2 libs/ui/actions/KisPasteActionFactories.cpp M +30 -1 libs/ui/kis_clipboard.cc M +4 -1 libs/ui/kis_clipboard.h https://invent.kde.org/graphics/krita/commit/6c5a713b51f787a19c5c69aba2f41312cc4c8d33 Git commit 420e7aeb05ed3faa0cc29db11a77b3aba17e5172 by L. E. Segovia. Committed on 02/07/2022 at 00:42. Pushed by lsegovia into branch 'master'. Consistently position native and bitmap pastes at cursor center M +26 -10 libs/ui/actions/KisPasteActionFactories.cpp https://invent.kde.org/graphics/krita/commit/420e7aeb05ed3faa0cc29db11a77b3aba17e5172 Git commit 8d0c0c41a218b9c6a2ebddceebdf9e9fb17f4f85 by L. E. Segovia. Committed on 02/07/2022 at 00:51. Pushed by lsegovia into branch 'krita/5.1'. Paste into Active Layer: allow native pasting once again This commit partially reverts commit 84dc357b65f4591573199bca060e82d754b27ce9. (cherry picked from commit 6c5a713b51f787a19c5c69aba2f41312cc4c8d33) M +10 -2 libs/ui/actions/KisPasteActionFactories.cpp M +30 -1 libs/ui/kis_clipboard.cc M +4 -1 libs/ui/kis_clipboard.h https://invent.kde.org/graphics/krita/commit/8d0c0c41a218b9c6a2ebddceebdf9e9fb17f4f85 Git commit 5b5361c1014219bb9ae1ac87337c0da28f517d43 by L. E. Segovia. Committed on 02/07/2022 at 00:51. Pushed by lsegovia into branch 'krita/5.1'. Consistently position native and bitmap pastes at cursor center (cherry picked from commit 420e7aeb05ed3faa0cc29db11a77b3aba17e5172) M +26 -10 libs/ui/actions/KisPasteActionFactories.cpp https://invent.kde.org/graphics/krita/commit/5b5361c1014219bb9ae1ac87337c0da28f517d43 It is stated that it has been fixed for the last beta. This process works the first time. but when it is tried for the second time, it goes to the first copy. and if the onion skin is open it also copies those images. It works for me. Marking as RESOLVED. If there are further issues, please open a new bug with the affected tool or feature and with a full repro. |