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

            Bug ID: 456950
           Summary: [GMic] Offset of layer position
           Product: krita
           Version: nightly build (please specify the git hash!)
          Platform: Appimage
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: G'Mic for Krita
          Assignee: krita-bugs-n...@kde.org
          Reporter: i...@davidrevoy.com
  Target Milestone: ---

Created attachment 150775
  --> https://bugs.kde.org/attachment.cgi?id=150775&action=edit
^ A Krita file to reproduce the offset easily

Hi,
If you send to GMIC a layer larger than the canvas geometry, the rendering will
likely have a big offset after applying your filter.

To reproduce:
============
1. Open the file in attachement in Krita
2. Select the Paint Layer 1, It contains 
       a.  A rectangle sized inside the canvas geometry in Mustard color,
crossed. 
       b.  An invisible rectangle around in Tomato color, larger than the
layer.
3. Launch Gmic, and apply a filter (eg. Artistic) of your choice, and press OK.

Result:
======
The invisible rectangle that was off canvas (Tomato color) is now visible and
appears on top-left. The full layer is offset from top-left.

Expected:
========
To get the same position of the layer as when sent to GMic.

Observation:
===========
A workaround is to "select all" before sending the layer to GMic. 

Fedora 36 KDE. Mesa 
GPU: AMD ATI Radeon RX 5500/5500M / Pro 5500M
CPU: AMD Ryzen 7 3700X (16) @ 3.600GHz
VM: Kwin/X11
DE: KDE Plasma 5.24.5
Krita Version: 5.1.0-beta2 appimage (nightly, today).
Qt version compiled: 5.12.12, loaded: 5.12.12.

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

Reply via email to