| Summary: | Copy/Cut>Paste outputs empty layer if you do it while transforming | ||
|---|---|---|---|
| Product: | [Applications] krita | Reporter: | acc4commissions |
| Component: | Tools | Assignee: | amyspark <amy> |
| Status: | RESOLVED WORKSFORME | ||
| Severity: | normal | CC: | amy, halla, shzam |
| Priority: | NOR | ||
| Version First Reported In: | nightly build (please specify the git hash!) | ||
| Target Milestone: | --- | ||
| Platform: | Compiled Sources | ||
| OS: | All | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
| Attachments: |
video recording transform copy paste bug
Proof it works in current master (including hash) |
||
|
Description
acc4commissions
2022-05-05 09:47:03 UTC
Using in-stack preview for transform tool doesn't make a difference in result. Also, when you trigger the transform tool, the layer thumbnail shows the selectetd area (temporarily) empty. Oddly this doesn't happen in krita stable plus builds. In git 90628dc, the layer thumbnail appears temporarily empty, but the copy/cut>paste still works and doesn't output empty layer. Assigning to myself because it sounds like a side effect of my clipboard refactoring Cannot reproduce on the exact same hash. Copying and pasting with the transform tool enabled result in a new layer being pasted with the contents of the selection. (In reply to amyspark from comment #4) > Cannot reproduce on the exact same hash. Copying and pasting with the > transform tool enabled result in a new layer being pasted with the contents > of the selection. It's still happening in the latest nightly(git 3ae600d) on my side. I'll attach a video recording. Created attachment 148967 [details]
video recording transform copy paste bug
Going to assign to myself, as it definitely seems like my paste handling code is being somehow over-strict. (Resolving will take a while, as I'm putting the finishing touches on the xsimd branch and all my builds are pointing to that branch.) Created attachment 149028 [details]
Proof it works in current master (including hash)
Attaching proof it works in current master, including the hash of the commit. (See https://invent.kde.org/graphics/krita/-/merge_requests/1452, it has a single commit on top of current master) Hmm, I *can* reproduce the bug but occasionally. I'll add this to my todo list and try to find the outlier variable. I'm not sure if it's the extension of this bug but recent nightlies outputs nothing when you copy paste something while the transforming is triggered, no matter how fast or slow you do it. Additionally if you just select->cut/copy the layer fast enough it outputs nothing without even involving transforming. tested in git 69812c0 |