Comment 0 for bug 1360946

Revision history for this message
Formerly Kevin Yin, now disabled (kyin) wrote : Broken transformation center

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:49] <kyin> http://imgh.us/bug_report_time.svg
[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.