The problem is located in the code that the min zIndex was set to -2^13 = -13 instead of -2 << 12; The patch fixes that be calculating the minium zIndex from the defined MaxZIndex Reproducible: Always Steps to Reproduce: 1.Open the attached document 2. Select the lowest shape in the Layer view docker 3. press raise and lower 6 times 4. press raise 2 times Actual Results: the second raise no longer raises the object. Expected Results: the second raise should work
Created attachment 73679 [details] Document that can be used for testing
Git commit 1133dfb085eb196fff130d9a0c876e4b9c78d641 by Thorsten Zachmann. Committed on 05/09/2012 at 21:16. Pushed by zachmann into branch 'master'. Fix reording of shapes. The problem is located in the code that the min zIndex was set to -2^13 which equals -13 instead of -2 << 12; The patch fixes that be calculating the minium zIndex from the defined MaxZIndex M +2 -2 libs/flake/commands/KoShapeReorderCommand.cpp http://commits.kde.org/calligra/1133dfb085eb196fff130d9a0c876e4b9c78d641
Git commit 1b09b3e9822b9386c97f2b474efdf4595e9ddada by Thorsten Zachmann. Committed on 05/09/2012 at 21:16. Pushed by zachmann into branch 'calligra/2.5'. Fix reording of shapes. The problem is located in the code that the min zIndex was set to -2^13 which equals -13 instead of -2 << 12; The patch fixes that be calculating the minium zIndex from the defined MaxZIndex (cherry picked from commit 1133dfb085eb196fff130d9a0c876e4b9c78d641) M +2 -2 libs/flake/commands/KoShapeReorderCommand.cpp http://commits.kde.org/calligra/1b09b3e9822b9386c97f2b474efdf4595e9ddada