Support Raise and Lower (z-order) for non-overlapping objects
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Inkscape |
Fix Released
|
Wishlist
|
chr[] |
Bug Description
Inkscape 0.48.5 r10040
Windows 7 x64 SP1
Steps to reproduce:
1. Load the attached SVG.
2. Once the SVG is loaded, hit the 'TAB' button on your keyboard to cycle through the three colored shapes you see. They should go 'Light Blue > Green > Red'.
3. Now, select the 'Green' one and hit the 'Page Up' button on your keyboard (or do Object > Raise, doesn't matter which way it's done for this bug to happen) to raise it up the order of the shapes so that you can change the order of the tab cycle.
4. Now, un-select the 'Green' shape so that nothing is selected.
5. Now, do the TAB cycle again and pay attention to the order Inkscape cycles through the colored shapes.
What should happen:
Since you hit the 'Page Up' button on the 'Green' shape, it should have raised it so that the TAB order cycle of the shapes should now have become 'Light Blue > Red > Green'.
What happens:
The TAB order cycle stays the same as when you opened the file, 'Light Blue > Green > Red', indicating that Inkscape didn't do the 'Raise' command you issued via the 'Page Up' button.
Work-around:
If you substitute the 'HOME' key (Object > Raise to Top) for 'Page Up' in Step #3, the order is properly changed to 'Light Blue > Red > Green' for Step #5.
I discovered this bug when trying to put some shapes in order that I could TAB between them from Left to Right. No idea what is causing this bug to happen. Also, if I were to substitute the 'Red' shape in the middle and have done either the 'Raise' or 'Lower' option, it wouldn't have properly shifted order either. Now, if I were to put those 3 shapes in a way that they overlap each other just slightly, this bug doesn't happen and both the 'Raise' and 'Lower' commands in 'Object' work correctly.
Now, before you ask, this isn't a profile caused bug, as I can duplicate it when a brand new clean profile that Inkscape creates when there isn't one.
Related branches
- Mc (community): Approve
-
Diff: 732 lines (+225/-73)17 files modifiedshare/icons/icons.svg (+24/-0)
src/live_effects/lpe-bspline.cpp (+1/-0)
src/live_effects/parameter/path.cpp (+2/-1)
src/path-chemistry.cpp (+2/-1)
src/selection-chemistry.cpp (+62/-2)
src/selection-chemistry.h (+2/-0)
src/sp-item-group.cpp (+1/-0)
src/sp-item.cpp (+6/-2)
src/sp-item.h (+2/-2)
src/sp-pattern.cpp (+4/-2)
src/ui/dialog/objects.cpp (+75/-44)
src/ui/dialog/objects.h (+4/-1)
src/ui/widget/clipmaskicon.cpp (+12/-12)
src/ui/widget/clipmaskicon.h (+2/-2)
src/verbs.cpp (+14/-0)
src/verbs.h (+2/-0)
src/widgets/stroke-marker-selector.cpp (+10/-4)
- Mc: Pending requested
-
Diff: 816 lines (+216/-83)21 files modifiedsrc/live_effects/lpe-bspline.cpp (+1/-0)
src/live_effects/lpe-clone-original.cpp (+9/-3)
src/live_effects/lpe-copy_rotate.cpp (+3/-1)
src/live_effects/lpe-measure-line.cpp (+7/-4)
src/live_effects/lpe-mirror_symmetry.cpp (+3/-1)
src/live_effects/parameter/path.cpp (+2/-1)
src/object-set.h (+2/-0)
src/path-chemistry.cpp (+2/-1)
src/selection-chemistry.cpp (+52/-2)
src/sp-item-group.cpp (+1/-0)
src/sp-item.cpp (+6/-2)
src/sp-item.h (+2/-2)
src/sp-pattern.cpp (+4/-2)
src/svg/svg-affine-test.h (+3/-1)
src/ui/dialog/objects.cpp (+75/-44)
src/ui/dialog/objects.h (+4/-1)
src/ui/widget/clipmaskicon.cpp (+12/-12)
src/ui/widget/clipmaskicon.h (+2/-2)
src/verbs.cpp (+14/-0)
src/verbs.h (+2/-0)
src/widgets/stroke-marker-selector.cpp (+10/-4)
Changed in inkscape: | |
importance: | Undecided → Wishlist |
status: | Confirmed → Triaged |
summary: |
- Raise and Lower objects commands partially broken + Support Raise and Lower (z-order) for non-overlapping objects |
Changed in inkscape: | |
assignee: | nobody → chr[] (chr0x07) |
Changed in inkscape: | |
status: | In Progress → Fix Committed |
milestone: | 0.93 → 0.92.2 |
Changed in inkscape: | |
status: | Fix Committed → Fix Released |
Confirmed on Windows XP, Inkscape 0.91.x rev. 13791, 0.48.5, 0.47 and 0.46.
Weirdly nobody complained about it before (at least I can't find a bug report directly related to the issue).