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

Ahab Greybeard <ahab.greybe...@hotmail.co.uk> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |ahab.greybe...@hotmail.co.u
                   |                            |k

--- Comment #1 from Ahab Greybeard <ahab.greybe...@hotmail.co.uk> ---
Created attachment 125121
  --> https://bugs.kde.org/attachment.cgi?id=125121&action=edit
good liquify result

Shouldn't this be marked as a Crash bug?

Using the 4.3.0 prealpha appimage (git 0a0738b) I get slightly different (but
still incorrect results) and a crash on saving. As follows:

Steps to reproduce [and Observed results]

1. Make two layers and draw something on one of them.
2. Make a rectangular selection around the drawing.
3. Select the empty layer, click it with the Liquify Transform tool.
   [Get a warning: Cannot transform empty layer.]
4. Select the layer with the drawing and use the Liquify transform tool.
   [On the first stroke, the selection outline is removed and there is no
effect on the drawing.]
   [On further strokes, a liquify action is performed on the painted pixels.]
5. Liquify/drag pixels from inside the selection to outside the selection.
   [This works with some interesting 'sector sweeping' effects but there is
quite a bit of lag.]
6. Press Return to confirm/apply the transform.
   [The projected screen image returns to the original drawing.]
   [After a wait of about three seconds, the following is observed: ...]
   [The selection outline returns and has it's outline dragged out in
accordance with the liquify actions.]
   [The Overview and the Layer thunbnail both show the liquified result.]
   [Turning layers on and off does not give a liquified result on-screen.]
   [If the drawing layer is turned off, the original drawing is still
on-screen.]
7. Try to look at the Help - system info window
   [It shows a Safe Assert due to Transform]
9. Close the System info window with its Ok button.
   [Crash]


13 Jan 2020 21:43:26 +0000: Created image "Unnamed", 3508 * 2480 pixels, 300
dpi. Color model: 8-bit integer/channel RGB/Alpha (sRGB-elle-V2-srgbtrc.icc).
Layers: 2
13 Jan 2020 21:43:45 +0000: SAFE ASSERT (krita): "m_savedTransformArgs" in file
/home/appimage/workspace/Krita_Nightly_Appimage_Build/krita/plugins/tools/tool_transform2/strokes/transform_stroke_strategy.cpp,
line 400
13 Jan 2020 21:49:26 +0000: Autosaving:
/home/adminahab/krita-14594-document_0-autosave.kra
13 Jan 2020 21:49:27 +0000: ASSERT (krita): "!rhs.m_d->disableUIUpdateSignals"
in file
/home/appimage/workspace/Krita_Nightly_Appimage_Build/krita/libs/image/kis_image.cc,
line 461

Note the Autosaving action.

Running krita again, there was no offer to load the autosaved file because it
didn't exist.

Turning Autosave off and repeating the Steps, I got a crash at Step 6.

13 Jan 2020 21:57:01 +0000: Created image "Unnamed", 3508 * 2480 pixels, 300
dpi. Color model: 8-bit integer/channel RGB/Alpha (sRGB-elle-V2-srgbtrc.icc).
Layers: 2
13 Jan 2020 21:57:19 +0000: SAFE ASSERT (krita): "m_savedTransformArgs" in file
/home/appimage/workspace/Krita_Nightly_Appimage_Build/krita/plugins/tools/tool_transform2/strokes/transform_stroke_strategy.cpp,
line 400
13 Jan 2020 21:57:50 +0000: ASSERT (krita): "row < 0x7FFF && col < 0x7FFF" in
file
/home/appimage/workspace/Krita_Nightly_Appimage_Build/krita/libs/image/tiles3/kis_tile_hash_table2.h,
line 133

Repeating this process in a freshly started krita (with Autosave still turned
off), the observed results were repeated and at Step 7, the Safe Assert was
there:


14 Jan 2020 13:37:06 +0000: Created image "Unnamed", 3508 * 2480 pixels, 300
dpi. Color model: 8-bit integer/channel RGB/Alpha (sRGB-elle-V2-srgbtrc.icc).
Layers: 2
14 Jan 2020 13:38:09 +0000: SAFE ASSERT (krita): "m_savedTransformArgs" in file
/home/appimage/workspace/Krita_Nightly_Appimage_Build/krita/plugins/tools/tool_transform2/strokes/transform_stroke_strategy.cpp,
line 400

Then Save the document and there was a crash with no file saved:

14 Jan 2020 13:48:49 +0000: Saving Document  as
/home/adminahab/CONFIG/dump/Desktop/tue-liquify-1.kra (mime:
application/x-krita). 3508 * 2480 pixels, 5 layers.  101 frames, 24 framerate.
Export configuration: No configuration
14 Jan 2020 13:48:49 +0000: ASSERT (krita): "!rhs.m_d->disableUIUpdateSignals"
in file
/home/appimage/workspace/Krita_Nightly_Appimage_Build/krita/libs/image/kis_image.cc,
line 461

KRITA DID NOT CLOSE CORRECTLY

Restarted krita and repeated the process with a variation:

    At Step 3. Click the empty layer with the Free Transform Tool
    At Step 4. Select the drawing layer and click with the Liquify Transform
Tool.
    [The Liquify transform works on the drawing as before.]
    At Step 5.
    [As before.]
    At Step 6.
    [Everything works with no problems.]

    The image can be saved with no crashing and is attached as
tue-liquify-4.kra

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

Reply via email to