Created attachment 180547 [details] transform_layer_order_explanation_002 SUMMARY Layer order is reversed during transforming multiple layers. (Check the attached image) It's been this way forever. STEPS TO REPRODUCE 1. Stack multiple layers 2. Select them at once in the Layers docker 3. Try to transform it (Activate the transformation) OBSERVED RESULT The layer order is temporarily reversed, changing how the painting looks on the canvas. EXPECTED RESULT It shouldn't change. SOFTWARE/OS VERSIONS Windows: Win10 macOS: (available in the Info Center app, or by running `kinfo` in a terminal window) Linux/KDE Plasma: KDE Plasma Version: KDE Frameworks Version: Qt Version: ADDITIONAL INFORMATION
It doesn't happen when transforming a group layer. It only happens when selecting multiple layers → transforming them. (It doesn't matter if the layers are stacked together or in between; the selected layer's order is reversed during transformation.)
Hi, acc4commissions! Could you check if you have "Fast" preview mode enabled? Does the problem goes away if you activate "Accurate" or "Accurate with Instant Preview"?
(In reply to Dmitry Kazakov from comment #2) > Hi, acc4commissions! > > Could you check if you have "Fast" preview mode enabled? Does the problem > goes away if you activate "Accurate" or "Accurate with Instant Preview"? Yup, it doesn't happen with the Accurate preview mode. But I can't use Accurate mode because liquify is too slow with it..
Git commit 562845f3223c6a00d8273556d89a0f20a44c665d by Dmitry Kazakov. Committed on 23/04/2025 at 11:43. Pushed by dkazakov into branch 'master'. Fix Transform Tool to show reordered layers preview in Fast mode Obviosly, we should create a preview of layers in their rendering order, not in the order the user selected them. M +22 -0 libs/image/kis_layer_utils.cpp M +1 -0 libs/image/kis_layer_utils.h M +0 -24 plugins/tools/tool_transform2/kis_tool_transform.cc M +0 -1 plugins/tools/tool_transform2/kis_tool_transform.h M +1 -0 plugins/tools/tool_transform2/kis_transform_utils.cpp M +2 -2 plugins/tools/tool_transform2/strokes/transform_stroke_strategy.cpp https://invent.kde.org/graphics/krita/-/commit/562845f3223c6a00d8273556d89a0f20a44c665d
Git commit 7423f4bcd627a20734759aa15dd1ca566e012147 by Dmitry Kazakov. Committed on 23/04/2025 at 11:45. Pushed by dkazakov into branch 'krita/5.2'. Fix Transform Tool to show reordered layers preview in Fast mode Obviosly, we should create a preview of layers in their rendering order, not in the order the user selected them. M +22 -0 libs/image/kis_layer_utils.cpp M +1 -0 libs/image/kis_layer_utils.h M +0 -24 plugins/tools/tool_transform2/kis_tool_transform.cc M +0 -1 plugins/tools/tool_transform2/kis_tool_transform.h M +1 -0 plugins/tools/tool_transform2/kis_transform_utils.cpp M +2 -2 plugins/tools/tool_transform2/strokes/transform_stroke_strategy.cpp https://invent.kde.org/graphics/krita/-/commit/7423f4bcd627a20734759aa15dd1ca566e012147
Hi, acc4commissions! Thank you for the quick reply! I think I have fixed the bug now! :) Please check the result either in tomorrow's nightlies or in this pipeline: https://invent.kde.org/graphics/krita/-/pipelines/936593
(In reply to Dmitry Kazakov from comment #6) > Hi, acc4commissions! > > Thank you for the quick reply! I think I have fixed the bug now! :) Please > check the result either in tomorrow's nightlies or in this pipeline: > https://invent.kde.org/graphics/krita/-/pipelines/936593 Thanks for the quick fix! Is it pushed in the Next build or Plus build or both?
Nvm, I saw the 5.2 label. :>