Summary: | After opening a picture, dragging the picture of the same size into krita and inserting a new layer, the position is wrong. | ||
---|---|---|---|
Product: | [Applications] krita | Reporter: | Eranthis stellata Maxim <1012468643> |
Component: | Layer Stack | Assignee: | Krita Bugs <krita-bugs-null> |
Status: | RESOLVED WORKSFORME | ||
Severity: | normal | CC: | ghevan, halla, matheushcdias |
Priority: | NOR | ||
Version First Reported In: | nightly build (please specify the git hash!) | ||
Target Milestone: | --- | ||
Platform: | Other | ||
OS: | Other | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: |
Description
Eranthis stellata Maxim
2022-06-17 10:58:59 UTC
I'm not sure that this is a bug? The new layer is created with the top-left position at the drop point? (In reply to Halla Rempt from comment #1) > I'm not sure that this is a bug? The new layer is created with the top-left position at the drop point? The new layer is not created in the upper left corner of the drop point. This will not be the case in 5.0.6 (including older versions), so I think it's a bug. 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. Im not sure what do you mean by correct position in this scenario, could you explain where are you expecting the image to be dropped? Usually when dropping, the image is placed at the cursor position, however I can see some frustration to reposition the dropped image in cases it doesn't fall where you need. From what I tested the image top left is not always dropped at the cursor position (this on macOS and multiple monitors). Curiously enough if your drop more than one image at a time, all images are placed so that the dropped image left corners matches with the canvas left corner. (In reply to vanyossi from comment #4) > Im not sure what do you mean by correct position in this scenario, could you > explain where are you expecting the image to be dropped? Usually when > dropping, the image is placed at the cursor position, however I can see some > frustration to reposition the dropped image in cases it doesn't fall where > you need. > > From what I tested the image top left is not always dropped at the cursor > position (this on macOS and multiple monitors). Curiously enough if your > drop more than one image at a time, all images are placed so that the > dropped image left corners matches with the canvas left corner. 1. Is placement at cursor position a new improvement? If this is a new improvement, I can't place at the cursor position. The position of the cursor during placement affects the placement position, but cannot be placed exactly at the cursor position. 2. If it is not a new improvement, I think that 5.0.6 is the correct one. The upper left corner of the placed image matches the upper left corner of the canvas. When the placed image and the canvas are the same size, they will completely coincide. I found that this happens when pasting some images or layers too, but only those that happen to be the exact same size in pixels as the whole canvas. It also happens on Android. The new layer appears on the bottom right of the canvas instead of the top left, as if the top left-most pixel was located on the middle of the canvas and then gets pasted there. However, using the "paste layer" shortcut instead of the simple "paste" one (ctrl+v), this doesn't happen and instead it is placed on the expected position. This has nothing to do with "paste at cursor" command, which is a separate function I can no longer reproduce this with Krita 5.3.0 pre-alpha. I do remember some fixes to dropping layers, but I cannot find the commit. |