Newly applied filter doesn't show in Filters Editor

Bug #1006816 reported by ivan louette
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Inkscape
Fix Released
Low
John Smith

Bug Description

1° Open a document where a filter is already applied to something

2° Unapply it

3° Apply a new filter from the Filters Menu

The newly applied filter doesn't display in the list in the Filters Editor. If you want it appears you must click on the New filter button, then a new filter appears in the list togheter with the filter you applied previously and which didn' show.

Rev 11366 on Kubuntu 12.04.

su_v (suv-lp)
tags: added: filters-svg regression ui
Revision history for this message
su_v (suv-lp) wrote :

> The newly applied filter doesn't display in the list in the Filters Editor.

Not reproduced with Inkscape 0.48+devel r11441 on OS X 10.7.4, assuming that 'Unapply it' means to deactivate the filter of the currently selected object in the filter editor: the newly added predefined filter effect is added at the top of the list of existing filter definitions.

Known minor "issue": the newly added filter doesn't show the name from the label on the filter definition - instead it displays its ID. The name in the list of existing filter definitions in the filter editor is only updated to show the name as defined in the filter definition when adding yet another new filter definition - either by applying another predefined one from the menu (to a different object), or by adding a new filter definition (clicking on the 'New' button).

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

Reproduced in a second row of tests: the trigger appears to having the filter editor opened when quitting Inkscape and its state remembered between sessions.

Steps to reproduce (with default preferences):
1) launch inkscape (without file) -> opens a new default document
2) draw an object and apply a filter effect.
3) open filter editor
4) quit inkscape
5) launch inkscape (without file) -> empty new document, with the filter editor open in the dock
6) open last edited file via 'File > Open recent…'
6) deactivate current filter effect for the object
7) add new predefined filter effect from the menu

-> newly added filter effect is initially not added to the lost of existing filter definitions in the filter editor.

The problem does not occur if the filter editor is opened and closed within the current editing session.

Changed in inkscape:
importance: Undecided → Low
status: New → Confirmed
Revision history for this message
jazzynico (jazzynico) wrote :

The filter dialog is connected to the filter resource (in src/ui/dialog/filter-effets-dialog.cpp:1176), but it doesn't seem to work correctly in that case.

Changed in inkscape:
status: Confirmed → Triaged
su_v (suv-lp)
Changed in inkscape:
milestone: none → 0.49
Revision history for this message
John Smith (john-smithi) wrote :

Fix for ~suv's test case in comment #2.
Update the resource connection when the document is replaced.

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

Committed to trunk r11858.

Changed in inkscape:
status: In Progress → Fix Committed
Bryce Harrington (bryce)
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

Remote bug watches

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