3D Box moves away when i try to move a selection [Regression]

Bug #400982 reported by Markus_2889
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Inkscape
Fix Released
Medium
Unassigned

Bug Description

Hello, i can't describe exactly this bug...
Try to select all the objects on the stage in the attachment, then click and move the entire selection anywhere, after that relaese the click. You can see some peaces are moved in wrong way...
This object are 3D solid
Ask me if you don't understand my bad english.... :)

i'm using inkscape 0.47pre0 on ubuntu 9.04

Revision history for this message
Markus_2889 (marco-bore) wrote :
Revision history for this message
Alvin Penner (apenner) wrote :

confirmed on Windows, Inkscape 0.47 pre0.
Attached is a simplified version with only 2 boxes.
- select and move the top box, it behaves as expected
- select and move the bottom box, it behaves as expected
- select and move both boxes and the bottom box moves twice as far as the top box
- the bottom box has the attribute sodipodi:type = inkscape:box3d
- this is a regression, it does not occur in 0.46

Changed in inkscape:
status: New → Confirmed
summary: - Path move away when i try to move a selection
+ 3D Box moves away when i try to move a selection [Regression]
jazzynico (jazzynico)
Changed in inkscape:
importance: Undecided → Medium
milestone: none → 0.47
tags: added: regression
Revision history for this message
Alvin Penner (apenner) wrote :

perhaps to clarify :
- if you create two 3D Boxes, select them both and move them both, then there is no problem.
- if you now convert one box using Path->Object to Path, and then select both and move both, then there is a problem.

Revision history for this message
Markus_2889 (marco-bore) wrote :

Yes is true.
This problem is between 3D boxe and a group of object:
Try to:
- Create a 3D boxe
- Then draw some object (cicle, square,...) on the stage and group them
- Now select both group and boxe
try to move the selection: the problem appear

Revision history for this message
Alvin Penner (apenner) wrote :

on my machine this bug appears some time between 0.46 release in April1, 2008, and Windows nightly build of June 27, 2008.

Also, the bug shows up only on the mouse release event. So, for example, select all objects, drag them all, and they all move together, but on the mouse release, the 3D Box makes the extra unwanted move.

Also, the group of objects which is not a 3D Box has a transform:translate attribute, which appears to come from the dragging operation, the 3D Box does not have this attribute.

Revision history for this message
su_v (suv-lp) wrote :

Inkscape 0.47pre1 r21720:

1) create a 3dbox,
2) duplicate it
3) move the duplicated box to the side
4) select both 3dboxes and move them
5) when the mouse button is released, the duplicated box jumps back on top of the first 3dbox

(repeated) console messages:
  Warning! Trying to remove unselected perspective from selection!

not reproduced with Inkscape 0.46, built Mar 30 2008

Revision history for this message
su_v (suv-lp) wrote :

possibly related bugs:
Bug #246216 in Inkscape: “3D box stamping problem”
Bug #207268 in Inkscape: “3D box cannot be pasted in place”
Bug #322943 in Inkscape: “Cloned 3D-Boxes not processed correctly”
Bug #300888 in Inkscape: “3D Box, after grouping with another 3D Box does not stay in place.”
Bug #188991 in Inkscape: “wrong bbox of 3d box when in transformed group”

Revision history for this message
Markus_2889 (marco-bore) wrote :

@suv: I try to follow your instruction but i don't see this problem (Inkscape 0.47 pre0 ubuntu). What abuot you alvin?

Instead, reading the list of relatend bugs, i found that the 3D box stamping problem affects mee too.
I made some attemps and one is very strange:
-create a 3dboxes
-create circle (or someone else)
-group them
-select the group and without release the button press space several times moving the selection

the 3d boxes duplicated are all in the same place

Revision history for this message
su_v (suv-lp) wrote :

Today I can't consistently reproduce the 'jumping back to the original' case myself.

If I create two 3dboxes, deselect all, then select the second one and follow the steps 2-5 in comment 6, most of the time I can reproduce it, but it happens erratically - at least I could not figure out a reasonable pattern.

Better stick to the case where the group with a 3dbox and another object reveals the bug when being moved.

Revision history for this message
su_v (suv-lp) wrote :

Can you confirm this behavior? (tested with Inkscape 0.47pre1, OS X 10.5.7)

1) open Alvin's http://launchpadlibrarian.net/29221428/2boxes.svg
2) 'Select all' or 'Ctrl + A'
3) 'Copy' or 'Ctrl + C'

Result: 3dbox moves away when the selection is copied to the clipboard, no mouse event involved.

Revision history for this message
Markus_2889 (marco-bore) wrote :

Yes i confirm you this behavior.

After press 'Ctrl + C' try to rotate the selection
Result: Inkscape crashes....(inscape 0.47 pre0 ubuntu 9.04)

Revision history for this message
Alvin Penner (apenner) wrote :

the crash is confirmed on Windows XP when I try to rotate the whole selection after a copy. Exit message not very interesting :

Emergency save activated!

Revision history for this message
su_v (suv-lp) wrote :

Crash reproduced with Inkscape 0.47pre1 r21720, built Jul 20 2009 on OS X 10.5.7
attaching gdb backtrace & crash.log

Revision history for this message
su_v (suv-lp) wrote :
tags: added: 3dbox
ScislaC (scislac)
Changed in inkscape:
milestone: 0.47 → none
Revision history for this message
Maximilian Albert (cilix) wrote :

This should be fixed in bzr rev. 8911. I cannot reproduce the crash mentioned in comment #11 but it doesn't seem to be specifically 3D box related (telling from the backtrace in comment #14), so I'm closing this. Any further issues should be reported in a new bug report.

Changed in inkscape:
status: Confirmed → Fix Released
su_v (suv-lp)
Changed in inkscape:
milestone: none → 0.48
status: Fix Released → Fix Committed
jazzynico (jazzynico)
Changed in inkscape:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.