Bug 463477 - Selection from mask layer pasting to wrong location
Summary: Selection from mask layer pasting to wrong location
Status: RESOLVED FIXED
Alias: None
Product: krita
Classification: Applications
Component: * Unknown (show other bugs)
Version: 5.1.4
Platform: Microsoft Windows Microsoft Windows
: NOR normal
Target Milestone: ---
Assignee: Krita Bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-12-26 09:09 UTC by throwaway6611166
Modified: 2023-11-06 10:41 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
Video of selection pasting to wrong location. (1.08 MB, video/mp4)
2022-12-26 09:09 UTC, throwaway6611166
Details

Note You need to log in before you can comment on or make changes to this bug.
Description throwaway6611166 2022-12-26 09:09:58 UTC
Created attachment 154825 [details]
Video of selection pasting to wrong location.

SUMMARY
Copying and pasting selection from a layer with alpha inheritance pastes selected area to the incorrect area.


STEPS TO REPRODUCE
1. Make a quick clipping group and paint on mask layer.
2. Select a portion of mask layer.
3. Right click and cut selection to new layer.

OBSERVED RESULT
Selection stays in original position and painted area is pasted to a new layer, but in the lower right of the canvas (usually off the canvas).

EXPECTED RESULT
Painted area is pasted in the same location on the canvas that it was copied from.

SOFTWARE/OS VERSIONS
Windows: 10 Pro 21H2
Qt Version: 
  (compiled): 5.12.12
  (loaded): 5.12.12

ADDITIONAL INFORMATION
Disabling alpha inheritance produces expected result.
Comment 1 Halla Rempt 2023-01-04 11:34:37 UTC
Thank you for the report. I can confirm the issue.
Comment 2 wolthera 2023-11-06 10:41:55 UTC
Fixed by https://invent.kde.org/graphics/krita/-/commit/31163c43eacf92c6796668dfbf555f3f88707b24

If this doesn't fix it, please don't hesitate to reopen this report.