Bug 430070

Summary: Selecting cut in the right-click menu of the reference image tool deletes a selection
Product: [Applications] krita Reporter: Halla Rempt <halla>
Component: Tools/Reference ImagesAssignee: Sachin Jindal <jindalsachin01>
Status: RESOLVED FIXED    
Severity: normal CC: ahab.greybeard, jindalsachin01
Priority: NOR    
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: Other   
OS: Other   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Halla Rempt 2020-12-06 12:09:24 UTC
The right-click menu in the reference tool shows "vector object actions" which is already confusing, but if you have a selection on your raster layer and select cut in the menu, not the currently selected reference image is deleted, but the selected pixels.
Comment 1 Ahab Greybeard 2021-04-04 18:58:18 UTC
I can confirm this for the Apr 04 5.0.0-prealpha (git 4e05187) appimage.

The Transform options do work on the refence image.

Setting to Confirmed.

(If it's been Assigned, does it need to be Confirmed?)
Comment 2 Sachin Jindal 2021-04-19 13:49:30 UTC
The menu name and cut ,copy and paste are implemented in this MR https://invent.kde.org/graphics/krita/-/merge_requests/798 .

They still don't work with the global shortcuts (e.g Ctrl+C) because Reference Image Tool is not connected to KisSelectedShapeProxy .

 As suggested by Dmitry KisSelectedShapesProxy can proxy only one source, which is usually a shape layer. That is, if you have a vector layer active and activated a reference tool, then the layer should be temporary deactivated as shape selection source.
Comment 3 Halla Rempt 2022-09-19 13:59:27 UTC
Closing since the MR was merged.