Inkscape.org
Beyond the Basics Description Missing in XML Editor: Object Properties
  1. #1
    A Wolf A Wolf @awolf
    *

    I am not seeing the "description" component in the Object Properties when looking at the XML Editor.  Am I missing something?

    Missingdescription
  2. #2
    inklinea inklinea @inklinea⛰️
    *

    Like this ? Inkscape 1.0.1 Linux

    Meta
  3. #3
    A Wolf A Wolf @awolf

    @inklinea no, if you refresh you might see the photo I just uploaded.

  4. #4
    inklinea inklinea @inklinea⛰️

    Like this ? 

    2020 12 10 20 39
  5. #5
    A Wolf A Wolf @awolf

    When you posted that - I was like duhhh I forgot, but NOPE.  My set is grayed out.

    Capture
  6. #6
    inklinea inklinea @inklinea⛰️

    In the 2nd photo, the bow is not selected ? I can't tell from the 1st image when the bow is selected if it is greyed out also ? 

  7. #7
    A Wolf A Wolf @awolf

    Issue duplicated.  But I also notice the title is not there either...hmmmm

    Screenshot 2020 12 10 160320
  8. #8
    A Wolf A Wolf @awolf

    Now when I open the file up in an editor, I can see the information......so do I not have a setting correct to see that info in Inkscape XML editor.

    Capture.2Png
  9. #9
    Tyler Durden Tyler Durden @TylerDurden

    Not near a v1 machine now, but in the .92.2 I need to expand the path's tree in the xml editor to see the title and description.

  10. #10
    Xav Xav @Xav👹

    As @TylerDurden said, you need to expand the node to see the title and description. In SVG these aren't added as attributes on the object itself, but rather as child nodes within it.

    There is a reason for this: SVG includes a rarely used <switch> element, which allows the consuming program to automatically render or present only one of its children, based on the capabilities and language of the program. In other words, there is a mechanism in SVG to have different titles and descriptions for different languages, but the way it's implemented means that these bits of text have to be included as child elements in their own right, not as attributes on the parent object.

    See this MDN page for more technical details about <switch> and an example of using it to switch between <text> elements based on the consumer's language settings. Though, as I mentioned, it's rarely used and I don't believe Inkscape has any specific support for it.

     

Inkscape Inkscape.org Inkscape Forum Beyond the Basics Description Missing in XML Editor: Object Properties