Bug 292669 - Undo for some drag-and-drop actions move layers to wrong positions
Summary: Undo for some drag-and-drop actions move layers to wrong positions
Status: RESOLVED FIXED
Alias: None
Product: krita
Classification: Applications
Component: Usability (show other bugs)
Version: unspecified
Platform: Unlisted Binaries Linux
: NOR major
Target Milestone: ---
Assignee: Dmitry Kazakov
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-01-28 09:41 UTC by Dmitry Kazakov
Modified: 2012-02-03 16:13 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Dmitry Kazakov 2012-01-28 09:41:35 UTC
Create the following image:

+-Paint5
+-Paint4
+-Paint3
+-Paint2
+-Paint1

Try to move Paint1 into the position between Paint3 and Paint4 and undo it. Repeat this action until Paint1 will jump to the top of the stack.
Comment 1 Dmitry Kazakov 2012-02-03 16:13:52 UTC
Git commit add6b81b9e1e9c9022fee321b85c1b1e21e2bc60 by Dmitry Kazakov.
Committed on 03/02/2012 at 18:00.
Pushed by dkazakov into branch 'shapes-as-node-model-kazakov'.

Fixed Drag & Drop in the Layer Box. Now it works perfectly!

Yeah, like in all the other applications!
Related: bug 292667

M  +6    -5    krita/image/commands/kis_image_layer_move_command.cpp
M  +2    -0    krita/image/commands/kis_image_layer_move_command.h
M  +12   -0    krita/image/kis_base_rects_walker.h
M  +5    -7    krita/image/kis_merge_walker.cc
M  +1    -3    krita/image/kis_node_facade.cpp
M  +10   -15   krita/image/kis_refresh_subtree_walker.h
M  +114  -11   krita/image/tests/kis_walkers_test.cpp
M  +1    -0    krita/image/tests/kis_walkers_test.h
M  +4    -4    krita/plugins/extensions/dockers/defaultdockers/kis_layer_box.cpp
M  +12   -0    krita/ui/kis_node_manager.cpp
M  +14   -0    krita/ui/kis_node_manager.h
M  +48   -29   krita/ui/kis_node_model.cpp
M  +7    -4    krita/ui/kis_node_model.h

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