[krita] [Bug 475409] "Paste into active layer" not working with extremely low resolution images.

2023-10-17 Thread Emmet O'Neill
https://bugs.kde.org/show_bug.cgi?id=475409

Emmet O'Neill  changed:

   What|Removed |Added

  Latest Commit|https://invent.kde.org/grap |https://invent.kde.org/grap
   |hics/krita/-/commit/31163c4 |hics/krita/-/commit/3bbc62a
   |3eacf92c6796668dfbf555f3f88 |905a015bcee30a165ae86bc136a
   |707b24  |bd6c60

--- Comment #6 from Emmet O'Neill  ---
Git commit 3bbc62a905a015bcee30a165ae86bc136abd6c60 by Emmet O'Neill, on behalf
of Simon Ra.
Committed on 17/10/2023 at 22:40.
Pushed by emmetoneill into branch 'krita/5.2'.

fix two bugs related to pasting image data into krita, along with some
refactoring:
1) "Paste into active layer" not working with non-krita MIME type paste data
2) all types of pastes not correctly detecting when the pasted content is
outside of the bounds of the canvas being pasted into


(cherry picked from commit 31163c43eacf92c6796668dfbf555f3f88707b24)

M  +16   -16   libs/ui/actions/KisPasteActionFactories.cpp

https://invent.kde.org/graphics/krita/-/commit/3bbc62a905a015bcee30a165ae86bc136abd6c60

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

[krita] [Bug 475409] "Paste into active layer" not working with extremely low resolution images.

2023-10-16 Thread Emmet O'Neill
https://bugs.kde.org/show_bug.cgi?id=475409

Emmet O'Neill  changed:

   What|Removed |Added

 Status|CONFIRMED   |RESOLVED
  Latest Commit||https://invent.kde.org/grap
   ||hics/krita/-/commit/31163c4
   ||3eacf92c6796668dfbf555f3f88
   ||707b24
 Resolution|--- |FIXED

--- Comment #5 from Emmet O'Neill  ---
Git commit 31163c43eacf92c6796668dfbf555f3f88707b24 by Emmet O'Neill, on behalf
of Simon Ra.
Committed on 16/10/2023 at 23:46.
Pushed by emmetoneill into branch 'master'.

fix two bugs related to pasting image data into krita, along with some
refactoring:
1) "Paste into active layer" not working with non-krita MIME type paste data
2) all types of pastes not correctly detecting when the pasted content is
outside of the bounds of the canvas being pasted into

M  +16   -16   libs/ui/actions/KisPasteActionFactories.cpp

https://invent.kde.org/graphics/krita/-/commit/31163c43eacf92c6796668dfbf555f3f88707b24

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

[krita] [Bug 475409] "Paste into active layer" not working with extremely low resolution images.

2023-10-10 Thread Simon Ra
https://bugs.kde.org/show_bug.cgi?id=475409

--- Comment #4 from Simon Ra  ---
my attempt to fix both issues:
https://invent.kde.org/graphics/krita/-/merge_requests/1956

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

[krita] [Bug 475409] "Paste into active layer" not working with extremely low resolution images.

2023-10-10 Thread Simon Ra
https://bugs.kde.org/show_bug.cgi?id=475409

Simon Ra  changed:

   What|Removed |Added

 CC||wildca...@gmail.com

--- Comment #3 from Simon Ra  ---
I believe there are two issues here:

1) "paste into active layer" from a raw image source (like another program's
"Copy") does not work seemingly at all. this is an easy fix.
2) tentative STR:
2.1) make a new biggish image
2.2) draw something in the bottom right
2.3) select and copy a small region in thing you drew
2.4) create a second image, smaller in size
2.5) paste into active layer
-> canvas does not change, but the preview in the layer docker does

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

[krita] [Bug 475409] "Paste into active layer" not working with extremely low resolution images.

2023-10-09 Thread Emmet O'Neill
https://bugs.kde.org/show_bug.cgi?id=475409

--- Comment #2 from Emmet O'Neill  ---
Created attachment 162182
  --> https://bugs.kde.org/attachment.cgi?id=162182=edit
Video: krita -> krita paste into active layer fails.

Update: Ok, it turns out that this *does* happen between 2 krita documents,
though I'm not sure exactly how to reproduce it.

In this case I have a bunch of 24 x 24 sprites packed onto a single sprite
sheet, and for some reason I can't copy and paste them into the active layer on
my other 24 x 24 document. (Video attached.)

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

[krita] [Bug 475409] "Paste into active layer" not working with extremely low resolution images.

2023-10-09 Thread Emmet O'Neill
https://bugs.kde.org/show_bug.cgi?id=475409

Emmet O'Neill  changed:

   What|Removed |Added

 Status|REPORTED|CONFIRMED
 Ever confirmed|0   |1

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

[krita] [Bug 475409] "Paste into active layer" not working with extremely low resolution images.

2023-10-09 Thread Emmet O'Neill
https://bugs.kde.org/show_bug.cgi?id=475409

--- Comment #1 from Emmet O'Neill  ---
Actually it seems like I can only reproduce this when pasting into Krita from
another program.

So I need to correct the steps to reproduce reliably using a second program.

UPDATED STEPS TO REPRODUCE
1. In another program (I've been using Aseprite, but other FOSS options like
Pixelorama or LibreSprite should be similar), create a 24 x 24 pixel image.
2. Select the entire canvas (in the source program) and copy it to your
clipboard.
3. Now create another 24 x 24 document.
4. In this new 24 x 24 document, try the `Edit > Paste into active layer`
action.

(I should say I believe I've had this problem copying pixel art between Krita
files in the past, but I was unable to reliably reproduce it just now without
getting a second program involved. *shrug*.)

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