https://bugs.kde.org/show_bug.cgi?id=514563

            Bug ID: 514563
           Summary: Pasting an external image with ctrl+V messes with the
                    layer selection
    Classification: Applications
           Product: krita
      Version First nightly build (please specify the git hash!)
       Reported In:
          Platform: Mint (Ubuntu based)
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: Layer Stack
          Assignee: [email protected]
          Reporter: [email protected]
  Target Milestone: ---

Hi,

In the latest nightly builds, the behavior when pasting an image from the
system clipboard (copied from outside Krita) affects layer selection
differently if I use the ctrl+V shortcut instead of using the menu button (Edit
-> paste), while it shoud be the same.

To reproduce :

Take a full or partial screeenshot of your desktop.
In Krita, in a document with one layer called "Paint Layer 1" selected, paste
the clipboard content with the edit menu: "Edit" -> "Paste". A new layer is
created with the data from the previously made screenshot, and this new layer
is now the selected one. This is the expected result.
But, if instead of pasting the clipboard image content through the edit menu,
you choose to paste it wit the ctrl+V shortcut, the result is different: it
still creates the new layer correctly, but both this new layer and the previous
one (Paint Layer 1) end up selected. And if you keep hitting ctrl+V it
continues to expand the layer selection with each new layer.

This only happens when pasting clipboard content from outside Krita, and with
the ctrl+v shortcut. When copy/pasting layers from one Krita file to the other
(or inside the same file) the behavior is fine: only the last copy of the layer
is selected.

Tested on Krita 5.3.0-prealpha (git f49c72d), on both Linux Mint Cinnamon 22.3
and Windows 11
I think I noticed it a few weeks back in a nightly, but I didn't keep any older
build where this worked. I think in early December or late November this still
worked fine in the nightlies (as it does in the last official release).

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to