SUMMARY *** Copy/Paste of a rectangular selection between two different files, looses selection contents Same action into same file works ok *** STEPS TO REPRODUCE 1. Select a rectangular area in one file (with image contents) 2. ctrl+C 3. go to another image in other file 4. ctrl+V 5. Rectangular area is marked, but is blanck OBSERVED RESULT EXPECTED RESULT SOFTWARE/OS VERSIONS Linux/KDE Plasma: Fedora Linux 35 (Workstation Edition) Last versions I assume. Just downloaded some hours ago ADDITIONAL INFORMATION If copy/paste is performed inside an unique file, it works OK
Can not reproduce (Version 21.12.3) and have never experienced this issue.
I have encountered this bug too. Fedora 39, with Kolourpaint version 23.08.4 The bug was fickle; it only happened to one of my image files, for some selections. I don't know how to reproduce it more generally. Copying from imageA.png worked fine. Copying from imageB.png worked for small selections but failed for larger selections such as ctrl+A. The workaround I found was to copy from the file browser to kolourpaint, instead of kolourpaint to kolourpaint via selection. Open the directory that contains imageB, copy the whole file without opening it into kolourpaint first, then paste that directly into the destination.
I need some way to reproduce it. Can someone attach an image with which it's reproducible? Does it have to do with the size of the selection?
Created attachment 165259 [details] Image that works fine
Created attachment 165260 [details] Buggy image
Hi Martin, thanks for taking the time to look into this. I attached the images I described in the previous comment. ImageA works fine. ImageB is the buggy one, if selecting the whole thing with ctrl+A.
I tested various selection sizes. It's finicky and depended on both the size *and* the position of the selection. I also have to correct myself about ImageA -- the bug also appears there if I make the same selections that I made on ImageB. For this test, I first resized ImageB so the width of the file is 256. This makes it much easier to select precise sizes with the mouse. - If I start the selection at (0,0), then a 256x256 selection works but 256x257 doesn't work. - However, if I start the selection further down at (0,72), then 256x257 seems to work.