Bug 308942 - vector layers inside a group move differently when moving the group
Summary: vector layers inside a group move differently when moving the group
Status: RESOLVED FIXED
Alias: None
Product: krita
Classification: Applications
Component: General (show other bugs)
Version: git master (please specify the git hash!)
Platform: Ubuntu Linux
: NOR normal
Target Milestone: ---
Assignee: Krita Bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-10-24 17:34 UTC by Philippe Nicloux
Modified: 2014-07-24 15:41 UTC (History)
5 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
File showing the bug (34.64 KB, application/x-krita)
2013-01-10 11:20 UTC, Sven Langkamp
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Philippe Nicloux 2012-10-24 17:34:01 UTC
in a group layer with two vector layers inside, and raster layers, ( to create comics frame, like in the dvd "krita for comics", when you drag the group to move it, the vector layers move differently, and are not aligned anymore, with some kind of parallax effect.

if there is only raster layers inside, there is no problem.

Reproducible: Always

Steps to Reproduce:
1.create a layer group, with 1 vector layer, 1 or two raster layers, and another vector layer ( like in "krita for comics" frame creation method
2.draw on each layer, to see what happens
3.move the group with the move tool
Actual Results:  
the two vector layers move differently, and are not aligned anymore, like in a 3d perspective space.

Expected Results:  
the layers inside the group should stay aligned, in the same relative position inside the group
Comment 1 Halla Rempt 2012-10-27 10:23:05 UTC
Weird, I must be doing something wrong here. I cannot reproduce it. Could you make screenshots for me? Thanks!
Comment 2 Philippe Nicloux 2012-10-27 14:02:54 UTC
Hmh, i wonder if it's not a matter of computer power.
 Here is a link to the .kra file wich bugs :
www.plazmazone.com/Krita/Page_Template.kra
and a screenshot with the result : http://snag.gy/YtQqk.jpg when I move the layer group.
Comment 3 Sven Langkamp 2012-11-12 02:04:54 UTC
I can reproduce the bug with that file. Surprisingly it happens only with the comic template.
Comment 4 Halla Rempt 2012-11-12 08:28:49 UTC
Could it be a file version issue? The comic templtaes were made with 2.3, iirc.
Comment 5 Philippe Nicloux 2012-11-12 08:40:33 UTC
Le 12/11/2012 09:28, Boudewijn Rempt a écrit :
> https://bugs.kde.org/show_bug.cgi?id=308942
>
> --- Comment #4 from Boudewijn Rempt <boud@valdyas.org> ---
> Could it be a file version issue? The comic templtaes were made with 2.3, iirc.
>
Hi !
I didn't use the comic template, i made one from scratch. Could it be 
because i made a mask file for each frame, and not a global one for all 
the frames ?
maybe it's to heavy to hold ?
Comment 6 Sven Langkamp 2013-01-10 11:20:36 UTC
Created attachment 76365 [details]
File showing the bug

I found a strange case of the bug. In the attached file there is a layer with two shape. When the group layer is moved the rectangle is moved correctly, while the other shape is not.
Comment 7 Dmitry Kazakov 2013-01-10 11:27:08 UTC
This happens only with the "Stroked Shapes" (i don't know what it is). If you put 2+ usual rectangular/round shapes and move, it works fine
Comment 8 Bollebib 2014-01-16 15:09:23 UTC
Can't reproduce ,is this still an isssue?
Comment 9 Juan Palacios 2014-02-03 21:40:49 UTC
(In reply to comment #8)
> Can't reproduce ,is this still an isssue?

Yes, I can reproduce it in krita master using the file attached by Sven.
Comment 10 Sven Langkamp 2014-07-06 11:38:18 UTC
Git commit 144e9ec7e4da88a88ee4f1570918384b410c9b77 by Sven Langkamp.
Committed on 06/07/2014 at 11:37.
Pushed by langkamp into branch 'master'.

Fix moving of shapes in groups in shape layers

M  +7    -1    krita/ui/flake/kis_shape_layer.cc

http://commits.kde.org/calligra/144e9ec7e4da88a88ee4f1570918384b410c9b77
Comment 11 Halla Rempt 2014-07-24 15:41:51 UTC
Git commit efe7a8a4dc6df2cd7b02800141da1ce5c16e41bb by Boudewijn Rempt, on behalf of Sven Langkamp.
Committed on 06/07/2014 at 11:37.
Pushed by rempt into branch 'calligra/2.8'.

Fix moving of shapes in groups in shape layers

M  +7    -1    krita/ui/flake/kis_shape_layer.cc

http://commits.kde.org/calligra/efe7a8a4dc6df2cd7b02800141da1ce5c16e41bb