Filter stays in object's css property after Filter Effect dialog removal

Bug #275662 reported by Vladimir Savic
4
Affects Status Importance Assigned to Milestone
Inkscape
Fix Released
Medium
John Smith

Bug Description

I moment before the saving of attached file a filter was removed using Filter dialog. Exporting to pdf resulted in resterization of lower right part of document. Watching at XML editor, it's visible that filter is still listed in css of that object group (id = g28151; style = display:inline;filter:url(#filter11552);enable-background:new). Removing #filter11552 manually solved the problem with exporting.

Isn't removing using filter editor supposed to remove filter from css? I think it is, so I think this is a bug. Maybe I'm overlooking something, though.

Tags: filters-svg ui
Revision history for this message
Vladimir Savic (vladimir-firefly-savic) wrote :
Revision history for this message
su_v (suv-lp) wrote :

Reverting duplicate status, as this report is not related to converting CSS class references into properties of the 'style' attribute.

Same problem with remaining (orphaned) filter hrefs in the style attribute when deleting an applied filter effect in the 'Filter Editor' dialog without deactivating it first, is described in issue 2 of bug #390165 “Filter editor problems (unable to reapply filters)”.

tags: added: filters-svg ui
Changed in inkscape:
importance: Undecided → Medium
status: New → Confirmed
Revision history for this message
John Smith (john-smithi) wrote :

Patch attached should remove all references to a filter from styles before removing the filter.

Changed in inkscape:
assignee: nobody → John Smith (john-smithi)
status: Confirmed → In Progress
Revision history for this message
John Smith (john-smithi) wrote :

Committed to trunk as r11881.

Changed in inkscape:
status: In Progress → Fix Committed
su_v (suv-lp)
Changed in inkscape:
milestone: none → 0.49
Changed in inkscape:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Bug attachments

Remote bug watches

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