Allow extensions to change selection

Bug #1069489 reported by Rena Kunisaki
20
This bug affects 5 people
Affects Status Importance Assigned to Milestone
Inkscape
Invalid
Wishlist
Unassigned

Bug Description

Presently, an extension can see what objects are selected by a command-line parameter, but can't alter the selection. A better method might be to add (at least before passing to extensions) an inkscape:selected="true" attribute to all selected objects. The extension can then select or deselect objects by changing this attribute.
This depends on Bug #271117 (which I imagine happens because there's no telling if the selection is still valid after the extension has made arbitrary changes to the DOM, so this would fix that bug as well.)

su_v (suv-lp)
tags: added: extensions-plugins selection
Changed in inkscape:
importance: Undecided → Wishlist
jazzynico (jazzynico)
Changed in inkscape:
status: New → Triaged
Revision history for this message
Neon22 (neon22) wrote :

related with possible solution (0.91)
https://bugs.launchpad.net/inkscape/+bug/1584570

Revision history for this message
Jonathan Hofinger (jhofinger) wrote :

This feature request has been opened at https://gitlab.com/inkscape/inbox/-/issues/5930.

Closed by: https://gitlab.com/jhofinger

Changed in inkscape:
status: Triaged → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.