Forum: Inkscape Can't ungroup Conditional Group

2a58891ecf57394d92b64f4327b0719c?d=identicon&s=25 Antonio Roberts (Guest)
on 2014-03-11 15:14
(Received via mailing list)
Hi,

I'm attempting to ungroup this object
http://upload.wikimedia.org/wikipedia/commons/c/c3...

When I try to do so in Inkscape it identifies the object as having a
Conditional Group of 1 Object but then says there are No Groups in the
selection when I try to ungroup it.

Is this a problem with the file or Inkscape?

I'm using Inkscape 0.48+devel+13132+47~ubuntu13.10.1

Antonio

--
============================
antonio@hellocatfood.com
http://www.hellocatfood.com
============================
A5d6523ccc839b167600bb7d52067815?d=identicon&s=25 alvinpenner (Guest)
on 2014-03-11 16:20
(Received via mailing list)
on Windows XP, Inkscape rev 13123, I am not able to load this file, I
get the
attached error messages. (This may be related to the fact that this
computer
is not connected to the internet, not sure, in any event the file has
some
unique characteristics.)


** (inkscape.exe:3244): WARNING **: unknown type: ns4:variableSets

** (inkscape.exe:3244): WARNING **: unknown type: ns5:sfw

** (inkscape.exe:3244): WARNING **: unknown type: svg:foreignObject

** (inkscape.exe:3244): WARNING **: unknown type: ns3:pgf

Alvin Penner



--
View this message in context:
http://inkscape.13.x6.nabble.com/Can-t-ungroup-Con...
Sent from the Inkscape - User mailing list archive at Nabble.com.
Aefd46e73e6b7449c5ce1ce0156797d2?d=identicon&s=25 su_v (Guest)
on 2014-03-11 17:08
(Received via mailing list)
On 2014-03-11 15:12 +0100, Antonio Roberts wrote:
> I'm attempting to ungroup this object
>
http://upload.wikimedia.org/wikipedia/commons/c/c3...
>
> When I try to do so in Inkscape it identifies the object as having a
> Conditional Group of 1 Object but then says there are No Groups in the
> selection when I try to ungroup it.
>
> Is this a problem with the file or Inkscape?

Neither - Inkscape trunk does curently not support ungrouping the
conditional group itself (IIRC it was a recent design decision, but I'd
have to search for details - might have been mentioned in a bug report
comment, commit message or on the devel mailing list, I don't recall,
and I could be wrong about the details, too ;-) )

> I'm using Inkscape 0.48+devel+13132+47~ubuntu13.10.1

How to edit the displayed content of the conditional group
none-the-less:

1) open the file in current trunk
2) add a new layer (for later use)
3) enter the conditional group like a regular group
   (double-click it, or use <Ctrl+Enter>)
4) select all (Ctrl+A) and duplicate it (Ctrl+D)
5) move the current selection to the new layer
   (use context menu entry 'Move to layer ...')
6) hide the new layer, and delete the original conditional group
7) optionally: open the XML Editor and delete the node
    <ns3:pgf id="adobe_illustrator_pgf">
   (proprietary AI data, not used by Inkscape)
8) show the new layer, ungroup as needed
9) save as under a new file name.


Sample file attached (edited with r13135 on OS X 10.7.5).


hth, V
Aefd46e73e6b7449c5ce1ce0156797d2?d=identicon&s=25 su_v (Guest)
on 2014-03-11 17:22
(Received via mailing list)
On 2014-03-11 17:07 +0100, su_v wrote:
> Neither - Inkscape trunk does curently not support ungrouping the
> conditional group itself (IIRC it was a recent design decision, but I'd
> have to search for details - might have been mentioned in a bug report
> comment, commit message or on the devel mailing list, I don't recall,
> and I could be wrong about the details, too ;-) )

Here's the related message I vaguley recalled:
<http://article.gmane.org/gmane.comp.graphics.inksc...

(SVG element <switch> is a 'Conditional group')
D6230f8e343b200beac1502696f66b97?d=identicon&s=25 Plácido Luna (Guest)
on 2014-03-11 18:19
(Received via mailing list)
Me sucede lo mismo, no logro abrir el archivo.

*Plácido Luna*
http://www.formaciongrafica.net
(+51) 965809114


2014-03-11 11:20 GMT-05:00 su_v <suv-sf@users.sourceforge.net>:
Aefd46e73e6b7449c5ce1ce0156797d2?d=identicon&s=25 su_v (Guest)
on 2014-03-11 18:32
(Received via mailing list)
On 2014-03-11 18:18 +0100, Plácido Luna wrote:
> Me sucede lo mismo, no logro abrir el archivo.

Google translate:
> Same thing happens to me, I can not open the file.

You neither tell which OS/platform you use, nor which Inskcape version,
so my reply is just a guess (usually, if this information is omitted, it
is safe to assume current stable Inskcape 0.48.4 on Windows ;-) ).

The file in question cannot be opened in current stable Inkscape 0.48.4
 - a known issue which will be fixed in the next bug-fix release
(0.48.5):

- Bug #166371 “Illustrator CS SVG won't load: namespace URIs in
entities”
  <https://bugs.launchpad.net/inkscape/+bug/166371>


Cheers, V
Aefd46e73e6b7449c5ce1ce0156797d2?d=identicon&s=25 su_v (Guest)
on 2014-03-11 19:22
(Received via mailing list)
Attachment: sample.svg (40 KB)
On 2014-03-11 15:12 +0100, Antonio Roberts wrote:
> I'm attempting to ungroup this object
>
http://upload.wikimedia.org/wikipedia/commons/c/c3...
>
> When I try to do so in Inkscape it identifies the object as having a
> Conditional Group of 1 Object but then says there are No Groups in the
> selection when I try to ungroup it.
>
> Is this a problem with the file or Inkscape?
>
> I'm using Inkscape 0.48+devel+13132+47~ubuntu13.10.1

Another way to quickly get a 'plain' SVG version: in the terminal,
use rsvg-convert (from librsvg):

 rsvg-convert
Two-stroke_engine_moving_parts_\(Montagu\,_Cars_and_Motor-Cycles\,_1928\).svg
-f svg > sample.svg

Sample file attached (created with rsvg-convert from librsvg 2.40.1)


Regards, V
2a58891ecf57394d92b64f4327b0719c?d=identicon&s=25 Antonio Roberts (Guest)
on 2014-03-12 00:20
(Received via mailing list)
> Neither - Inkscape trunk does curently not support ungrouping the
> conditional group itself (IIRC it was a recent design decision, but I'd
> have to search for details - might have been mentioned in a bug report
> comment, commit message or on the devel mailing list, I don't recall,
> and I could be wrong about the details, too ;-) )
If it's a design decision can the user be notified somehow (in the
status bar) that the group can't be ungrouped?

Antonio

On 11 March 2014 16:07, su_v <suv-sf@users.sourceforge.net> wrote:
> Neither - Inkscape trunk does curently not support ungrouping the
> 2) add a new layer (for later use)
> 9) save as under a new file name.
> applications. Written by three acclaimed leaders in the field,
> this first edition is now available. Download your free book today!
> http://p.sf.net/sfu/13534_NeoTech
> _______________________________________________
> Inkscape-user mailing list
> Inkscape-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/inkscape-user
>



--
============================
antonio@hellocatfood.com
http://www.hellocatfood.com
============================
Aefd46e73e6b7449c5ce1ce0156797d2?d=identicon&s=25 su_v (Guest)
on 2014-03-12 20:28
(Received via mailing list)
On 2014-03-12 24:19 +0100, Antonio Roberts wrote:
> On 2014-03-11 17:07 +0100, su_v wrote:
>> Neither - Inkscape trunk does curently not support ungrouping the
>> conditional group itself (IIRC it was a recent design decision, but I'd
>> have to search for details - might have been mentioned in a bug report
>> comment, commit message or on the devel mailing list, I don't recall,
>> and I could be wrong about the details, too ;-) )
>
> If it's a design decision can the user be notified somehow (in the
> status bar) that the group can't be ungrouped?

Ungrouping of conditional groups (aka <switch> elements) has been
re-enabled in revision 13136 (the next PPA update tomorrow will likely
include this change already).

For further details, see the brief discussion in the related thread on
the 'inkscape-devel' mailing list:
<http://thread.gmane.org/gmane.comp.graphics.inksca...


Regards, V
Please log in before posting. Registration is free and takes only a minute.
Existing account

NEW: Do you have a Google/GoogleMail, Yahoo or Facebook account? No registration required!
Log in with Google account | Log in with Yahoo account | Log in with Facebook account
No account? Register here.