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

            Bug ID: 381732
           Summary: (gmic-qt) Problems with layer dimension and position
                    calculations
           Product: krita
           Version: unspecified
          Platform: Other
                OS: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: G'Mic for Krita
          Assignee: krita-bugs-n...@kde.org
          Reporter: nicholaslapoin...@gmail.com
  Target Milestone: ---

Created attachment 106341
  --> https://bugs.kde.org/attachment.cgi?id=106341&action=edit
Demo file

It is easier to notice the first three here when
https://phabricator.kde.org/D6409 is applied.

1. A layer with visible dimensions smaller than its actual dimensions will have
an unaffected edge after applying the filter. It will also appear similarly
cropped in the G'MIC dialog's preview.
Applying the filter "Black & white" -> "Black & white" to the layer "Top-left
logo" in the attached file will show this.

2. Layers are only sent to G'MIC in a rectangle given by (0, 0, layerWidth,
layerHeight). For example, a 100x100 layer on 0,0 will be okay; the same layer
moved to 100,100 will not.

3. If those two are fixed, then it may still be possible that an off-canvas
part of a layer will not be affected at all. This also happens in Krita 3.0.1.
It can be by tested using "Black & white" on "Partially off-canvas logo" and
then moving the layer back onto the canvas.

4. The G'MIC dialog's preview can zoom very differently than it does in the
GIMP plug-in. This can be seen by opening
krita/pics/app/1024-apps-calligrakrita.png in both GIMP and Krita, then
enlarging the canvas to 2048x2048 (with the layer anchored to the top-left). If
the canvas is not enlarged, then they will instead zoom with the same
appearance.

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

Reply via email to