2

How can I search and find objects by their label in Inkscape 0.92?

2 Answers 2

1

I estimate that you're referring to the ID of an object, but this approach might work even if you refer to something else.

Mark nothing, or the whole image. Select the XML Editor using the 4th button from the right in the Tools menu, which shows an icon like <> (Hotkey: Shift+Ctrl+X).

A multipart dialog pops up. Hit Ctrl+F for find, and you get a search field. Now type the ID, or whatever you're searching for.

3
  • No , Label differs from ID , but that method works for labels as well since it searches the whole xml document.Thanks Commented Mar 5, 2020 at 15:27
  • 1
    This has been added to the Search+Replace dialog of the development version of Inkscape - it's not going to be in 1.0, though. If you need it, use inkscape.org/release/inkscape-master/?latest=1
    – Moini
    Commented Mar 6, 2020 at 20:12
  • Well, it turns out, this works ONLY for nodes that are expanded in the XML editor; if you have thousands of nodes within a parent node which is collapsed in the XML editor, it will not be found, neither by id nor by label. What's even funnier, there is no "expand all nodes" button, and you cannot even use the keyboard to expand the nodes - you HAVE to click the little triangle, one by one, for each of the thousands of nodes! How convenient! :)
    – sdbbs
    Commented May 1, 2023 at 2:52
0
Development status for the feature

Since this is the top result for the relevant query (and its evident importance) I'm going to provide the current state of this functionality:

As https://gitlab.com/inkscape/inbox/-/issues/1387#note_410224188 explains, this doesn't exist yet. However, there is significant consensus that it should, and shall, amongst the relevant Inkscape developers. It shall be integrated into the "Find and Replace" dialog.

How it shall work

Press Control+F, after which a side panel shall appear, permitting the user to search:

image

I'm using "Inkscape 1.3.2 (091e20ef0f, 2023-11-25)", but I hope that this shall still be useful.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.