Broken transformation center (rev >= 13512)

Bug #1360946 reported by Formerly Kevin Yin, now disabled on 2014-08-25
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Inkscape
Medium
Diederik van Lierop

Bug Description

Open the attached svg, and open the XML editor. Click on the only path to select it, then click on it to look at its transformation center. On my system, the transformation center will have a black box.
Using the XML editor, the transformation center originally starts as two numbers. After looking at the transformation center, clicking around turns the transformation center into NaN.

[13:50] <kyin> can't click on document to deselect either
[13:51] <LiamW> I know what happened already.
[13:51] <LiamW> basically this https://bugs.launchpad.net/inkscape/+bug/1333465
[13:51] <LiamW> but with a repositioned rotation center
[13:52] <kyin> I'm using Adib's x64 "0.91pre2"
[13:53] <kyin> r13516
[13:53] <LiamW> I know. this is a different occurence of that same bug
[13:53] <LiamW> it happens with canvas items
[13:53] <kyin> ok
[13:53] <LiamW> knots, in particular
[13:53] <LiamW> when their coordinates are offscreen but not infinite
[13:54] <LiamW> kyin: if you zoom out you can deselect the path
[13:55] <LiamW> kyin: or also press shift+s
[13:55] <kyin> I cannot
[13:55] <kyin> shift+s works
[13:56] <LiamW> kyin: look in the XML there
[13:56] <LiamW> inkscape:transform-center-x="nan"
[13:57] <kyin> I see
[13:58] <kyin> no, I don't see, but it doesn't matter because I don't know what I'm doing in the XML editor
[13:58] <kyin> only becomes nan after clicking it
[14:06] <su_v> that file is odd - trunk crashes when flipping the path with rotation handles present (rotation center is not displayed, for whatever reason)
[14:06] <su_v> (flipping: 'h' or 'v', if rotation handles are present, it's supposed to flip around rotation center)
[14:08] <kyin> on r13516 on Windows 8.1, I see the rotation center, but it has a black box around it
[14:10] <su_v> hidden objects don't get selected with default prefs
[14:10] <LiamW> (inkscape:31177): glibmm-ERROR **:
[14:10] <LiamW> unhandled exception (type std::exception) in signal handler:
[14:10] <LiamW> what: lib2geom exception: Non-contiguous path (../../src/2geom/path.cpp:91)
[14:10] <LiamW> Trace/breakpoint trap (core dumped)
[14:10] <LiamW> can't transform with NaN
[14:21] <su_v> seems that trunk doesn't handle its combination of units (doc units mm, doc size px, no viewBox) well
[14:22] <su_v> if one changes either of them, stuff gets resized, or viewBox gets added with wrong assumptions
[14:22] <su_v> I guess it was created in stable originally, or based on a custom template file (if created in trunk from a new file)
[14:23] <kyin> yes, I think it was created in stable
[14:24] <kyin> I am not completely sure however.
[14:24] <su_v> there are several reports related to failures with files (from stable or custom template from stable) which use custom default units
[14:25] <su_v> the merge of the unit stuff introduced many regressions, not all have been addressed yet

Chat log has some lines removed.

description: updated

<su_v> here, r13511 ok, r13512 not
<su_v> http://bazaar.launchpad.net/~inkscape.dev/inkscape/trunk/changes/13512
<su_v> plausible (r13512 attempted to fix other bugs related to the rotation center)
<su_v> maybe.

su_v (suv-lp) wrote :

Related observations with trunk see comments 4 and 6 of bug #1356872

su_v (suv-lp) wrote :

On OS X 10.7.5,
- not reproduced with 0.48.5 r10040
- not reproduced with 0.91pre2 rev <= 13511
- reproduced with 0.91pre2 rev >= 13512

Changed in inkscape:
importance: Undecided → Medium
milestone: none → 0.91
status: New → Confirmed
tags: added: regression transformations
su_v (suv-lp) wrote :

Related:
- Bug #1360953 “cannot set transformation center in this file”
  https://bugs.launchpad.net/inkscape/+bug/1360953

summary: - Broken transformation center
+ Broken transformation center (rev >= 13512)
Alvin Penner (apenner) wrote :

with respect to the file "Can't rotate the object.svg", the problem appears to be related to the fact that the file has no viewbox.

if I add an attribute like this:
viewBox="0 0 210 297"
the problem goes away.

su_v (suv-lp) wrote :

AFAICT also fixed as of rev. 13534 (fix for bug #1360953)

Changed in inkscape:
assignee: nobody → Diederik van Lierop (mail-diedenrezi)
status: Confirmed → Fix Committed
Bryce Harrington (bryce) on 2015-02-23
Changed in inkscape:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers