Keeping ungroupping from messing up objects's positions

Post questions on how to use or achieve an effect in Inkscape.
Uktrunie
Posts: 154
Joined: Sun Jul 18, 2010 4:48 am

Keeping ungroupping from messing up objects's positions

Postby Uktrunie » Wed Jun 17, 2015 12:27 pm

So, this is something I always experienced, some types of objects (dynamic offsets for example), if you group them, move the group, and then ungroup, will switch positions apparently back to where they were before grouping (?) messing up everything.

I was wondering why and if there's some way of preventing that that doesn't involve converting them to plain paths before grouping?

User avatar
brynn
Posts: 10309
Joined: Wed Sep 26, 2007 4:34 pm
Location: western USA
Contact:

Re: Keeping ungroupping from messing up objects's positions

Postby brynn » Wed Jun 17, 2015 2:36 pm

Hhhmm, well isn't that interesting!

For a quick answer, I found that you can convert to path before you ungroup, and the offsets don't move back when ungrouped. Or maybe it was just a typo that you said "before grouping" and meant "before ungrouping".

Anyway, I'll do some investigating and post back when I find something helpful. What other kind of objects have you seen this with?

User avatar
brynn
Posts: 10309
Joined: Wed Sep 26, 2007 4:34 pm
Location: western USA
Contact:

Re: Keeping ungroupping from messing up objects's positions

Postby brynn » Wed Jun 17, 2015 2:57 pm

Ok, well I found a bug for the dynamic offset issue: https://bugs.launchpad.net/inkscape/+bug/844909. If you have any new info, you can add a comment. And actually, I would add a comment that you're seeing this problem in 0.91 (and whatever your system and Inkscape version), since the last comment was a couple of years ago. Or if you don't want to, I will.

Please do let us know what other object you see this happen to :D

User avatar
Espermaschine
Posts: 892
Joined: Thu Jun 05, 2014 9:10 pm

Re: Keeping ungroupping from messing up objects's positions

Postby Espermaschine » Wed Jun 17, 2015 10:13 pm

it also happens when you put text on a path and group, or ungroup later, respectively
very annoying :(

Uktrunie
Posts: 154
Joined: Sun Jul 18, 2010 4:48 am

Re: Keeping ungroupping from messing up objects's positions

Postby Uktrunie » Wed Jun 17, 2015 10:35 pm

Hi Brynn. Thanks for answering.

Well, yesterday it was a line with a flowed text applied to it (I pressume, the group was big). The line moved when un-grouped, the flowed text didn't.

I meant grouping. As in, I don't want to convert those objects to paths before I group them so they won't move when I un-group them. Same thing really. :)

Version is the latest, 0.91 r13725 and yes, that bug report sound like the same problem I have. It's not the same, my objects don't go back to the position they were before grouping them and removing the inkscape:offset attribute as one of the linked bugs mentions, doesn't solve the issue...

I'll investigate a little further after work.

Uktrunie
Posts: 154
Joined: Sun Jul 18, 2010 4:48 am

Re: Keeping ungroupping from messing up objects's positions

Postby Uktrunie » Wed Jun 17, 2015 10:35 pm

Espermaschine wrote:it also happens when you put text on a path and group, or ungroup later, respectively
very annoying :(


Yeah.

User avatar
brynn
Posts: 10309
Joined: Wed Sep 26, 2007 4:34 pm
Location: western USA
Contact:

Re: Keeping ungroupping from messing up objects's positions

Postby brynn » Thu Jun 18, 2015 3:02 am

Oh ok, the text on path one, I think I already know about, and I know there's already multiple bug reports about it (and related issues). It has to do with the transform attribute, which becomes part of the SVG/XML file in a few different ways. Using any tranforms, of course, and changing the orientation of file (landscape vs portrait) are a couple of ways.

You can test if that's the problem by creating a brand new layer. Either move to or create the path and text or groups on the new layer. Move the group, then ungroup. The text should stay in place.

I'm sure ~suv will correct me if I said something wrong :D


Return to “Help with using Inkscape”