| Summary: | Vector Text and Shape back-front arrangement resets | ||
|---|---|---|---|
| Product: | [Applications] krita | Reporter: | kyril <kf13> |
| Component: | Layers/Vector | Assignee: | Krita Bugs <krita-bugs-null> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | CC: | griffinvalley, t.zachmann |
| Priority: | NOR | ||
| Version First Reported In: | 2.9.11 | ||
| Target Milestone: | --- | ||
| Platform: | Microsoft Windows | ||
| OS: | Microsoft Windows | ||
| Latest Commit: | http://commits.kde.org/calligra/f0a0daa595c7de9efed812ff445c29f80e2b8261 | Version Fixed/Implemented In: | |
| Sentry Crash Report: | |||
| Attachments: | Document showing the problem | ||
|
Description
kyril
2016-02-11 21:39:16 UTC
Thanks for the report! I can reproduce in 3.0, didn't even need to save a second time. 2016 will be vector year, so this'll go on the pile of bugs that should be fixed during it :) (In reply to wolthera from comment #1) > 2016 will be vector year, so this'll go on the pile of bugs that should be fixed during > it :) Good to know - thanks! I had a look at the saved file and in the saved file it is saved in the correct order. The rect is coming first and then the text. However it seems if you open the document sometimes the rect is above and sometimes it is below the text. Seems like the order of the shapes is not really kept on loading. Created attachment 97223 [details]
Document showing the problem
Document showing the problem. The text shape should be the top most shape but it is either at the bottom or in the middle.
Git commit c82bae186f3e38ec5ade57629fbf9b3c89f77560 by Thorsten Zachmann. Committed on 17/02/2016 at 14:49. Pushed by zachmann into branch 'master'. Fix bug 359288 The problem is that the zIndex of the svg shape is never set and therefore it has the same zIndex 0 as the already existing shape. The problem can be seen always if you create a document with 3 vector shapes where the text shape is the most top one. This commit loads the zIndex also for svg shapes. M +14 -2 libs/flake/svg/SvgShapeFactory.cpp http://commits.kde.org/krita/c82bae186f3e38ec5ade57629fbf9b3c89f77560 I think this was my first time reporting a bug and watching it die(get fixed) with my own eyes. This was awesome :D /endOfUnrelatedComments Git commit a009efea1457580f39f5b880f1e39f9196293200 by Dmitry Kazakov, on behalf of Thorsten Zachmann. Committed on 20/02/2016 at 17:26. Pushed by dkazakov into branch 'calligra/2.9'. Fix bug 359288 The problem is that the zIndex of the svg shape is never set and therefore it has the same zIndex 0 as the already existing shape. The problem can be seen always if you create a document with 3 vector shapes where the text shape is the most top one. This commit loads the zIndex also for svg shapes. M +14 -2 libs/flake/svg/SvgShapeFactory.cpp http://commits.kde.org/calligra/a009efea1457580f39f5b880f1e39f9196293200 Git commit f0a0daa595c7de9efed812ff445c29f80e2b8261 by Friedrich W. H. Kossebau, on behalf of Thorsten Zachmann. Committed on 23/02/2016 at 22:36. Pushed by kossebau into branch 'master'. Fix bug 359288 The problem is that the zIndex of the svg shape is never set and therefore it has the same zIndex 0 as the already existing shape. The problem can be seen always if you create a document with 3 vector shapes where the text shape is the most top one. This commit loads the zIndex also for svg shapes. M +14 -2 libs/flake/svg/SvgShapeFactory.cpp http://commits.kde.org/calligra/f0a0daa595c7de9efed812ff445c29f80e2b8261 |