feImage causes crash if target svg element is used

Bug #1653989 reported by Ruud van Eeghem
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Inkscape
New
Undecided
Unassigned

Bug Description

When applying a custom filter, I choose the feImage effect. Then in the effect parameter tab I use the button "selected svg element". The excpected behaviour is that the filter uses the source svg element as an image and then copies it to the destination svg element (the one that gets the custom filter). However, under normal use, the element the custom filter is applied to will be the current selected element for the user. So if the user presses this button without first selecting a source svg element the effect crashes inkscape.

At the bare minimum the effect should have a check on the source svg element not being the same as the destination svg element.

A more proper implementation would grab the cursor and allow the user to dynamically select an object on the canvas.

Revision history for this message
su_v (suv-lp) wrote :

Crash per bug summary line is already tracked in:
* Bug #195320 “feImage crashes inkscape if filtered object is the same as referenced object”
  https://bugs.launchpad.net/inkscape/+bug/195320

Proposing to link as duplicate to bug #195320

tags: added: crash filters-svg
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

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