https://bugs.kde.org/show_bug.cgi?id=402443
Bug ID: 402443 Summary: Enlarging a canvas paint added sections instead of keeping them transparent Product: krita Version: 4.1.5 Platform: Ubuntu Packages OS: Linux Status: REPORTED Severity: normal Priority: NOR Component: Resize/Scale Image/Layer Assignee: krita-bugs-n...@kde.org Reporter: skydive...@gmail.com Target Milestone: --- My original scenario started with opening a .jpg image, but it's enough to create a new document for reproducing the issue. STEPS TO REPRODUCE 1. Open Krita and create a new document (should have a white background) 2. Draw a black circle at the middle of the document 3. Select the Contiguous Selection Tool > fuzziness = 1 4. Click outside the circle to select all the outer white material 5. Press DEL to make the white area transparent 6. Image > Resize Canvas: enlarge width/height/both (e.g. by 50%) OBSERVED RESULT The enlarged space is painted white. EXPECTED RESULT The enlarged space should be transparent. NOTES 1. Saving the document as a .kra file, relaunching and retesting preserves the problem. 2. Duplicating the layer (CTRL+J) preserves the problem. 3. It seems that the layer "remembers" that it's some sort of a "background layer" thus painting new area instead of keeping them white. 4. The following workaround fixes the problem 4.1. Make sure the layer is selected 4.2. Select > Select All 4.3. Edit > Paste 4.4. Remove/hide the old layer 4.5. Enlarge the canvas. 4.6. The enlarges space remains transparent. SOFTWARE/OS VERSIONS Krita Version: 4.1.5 Qt Version (compiled): 5.9.5 Version (loaded): 5.9.5 OS Information Build ABI: x86_64-little_endian-lp64 Build CPU: x86_64 CPU: x86_64 Kernel Type: linux Kernel Version: 4.15.0-42-generic Pretty Productname: Ubuntu 18.04.1 LTS Product Type: ubuntu Product Version: 18.04 OpenGL Info **OpenGL not initialized** -- You are receiving this mail because: You are watching all bug changes.