https://bugs.kde.org/show_bug.cgi?id=446120
Bug ID: 446120 Summary: Paste At Position doesn't paste at the cursor Product: krita Version: 5.0.0-beta2 Platform: Compiled Sources OS: Microsoft Windows Status: REPORTED Severity: normal Priority: NOR Component: Tools Assignee: krita-bugs-n...@kde.org Reporter: a...@amyspark.me Target Milestone: --- SUMMARY Invoking the feature and clicking on e.g. "Add as Reference Image" (or any other that uses QCursor::pos()) when the clipboard has an image bitmap (e.g. Firefox copy-paste, not a remote URL) inserts the image at the chosen option from the color space dialog, and not where the cursor was when the feature was invoked. If this dialog isn't invoked, but the menu was, it'll instead be inserted at the point of menu option click. This regression was introduced in 47db9c0be50fc85f38ba6c86757a7b307f0bbbd4, because the refactoring didn't forward the cursor position at the drag-n-drop event to the clipboard handler. STEPS TO REPRODUCE See above. OBSERVED RESULT The image is inserted at the vicinity of wherever the cursor was between the tool invocation and the insertion op. EXPECTED RESULT Insert the image where the cursor was at the tool invocation. SOFTWARE/OS VERSIONS Windows: macOS: Linux/KDE Plasma: (available in About System) KDE Plasma Version: KDE Frameworks Version: Qt Version: ADDITIONAL INFORMATION e650032da0 (upstream/krita/5.0) Make the ants 8 instead of 4 pixels -- You are receiving this mail because: You are watching all bug changes.