Re-ordered filter list not saved to XML

Bug #1239296 reported by su_v
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Inkscape
Triaged
Low
Unassigned

Bug Description

Steps to reproduce:
1) move your current preferences file aside (important)
2) launch inkscape
3) open attached file
4) open XML Editor
5) open Filter Editor
--> watch and wait
6) close both dialogs
7) quit inkscape
--> watch and wait (if you are lucky), or kill the process (if it hangs indefinitely with high CPU usage)

Confirmed with r12679 on OS X 10.7.5 and r12678 on Ubuntu 13.04.

Based on tests with archived builds (on OS X):
- not reproduced with rev <= 12392
- reproduced with rev >= 12395
it seems likely that this regression was introduced in
- Revision 12394: Add the ability to reorder filters using drag-drop in the gtklist
  <http://bazaar.launchpad.net/~inkscape.dev/inkscape/trunk/revision/12394>

For timed tests on the command line (to verify that the problem only occurs when both dialogs are opened):
# make backup of user prefs (important)
mv $HOME/.config/inkscape/preferences.xml{,-bkp}

# test each dialog separately
time inkscape -f ./performance-xml-and-filter-editor-1.svg --verb=DialogXMLEditor --verb=FileQuit
# remove prefs file for each test (important)
rm $HOME/.config/inkscape/preferences.xml
time inkscape -f ./performance-xml-and-filter-editor-1.svg --verb=DialogFilterEffects --verb=FileQuit

# tests combined
rm $HOME/.config/inkscape/preferences.xml
time inkscape -f ./performance-xml-and-filter-editor-1.svg --verb=DialogXMLEditor --verb=DialogFilterEffects --verb=FileQuit

# when done, restore user prefs
cp $HOME/.config/inkscape/preferences.xml{-bkp,}

Tags: filters-svg ui
Revision history for this message
su_v (suv-lp) wrote :
description: updated
Revision history for this message
jazzynico (jazzynico) wrote :

Confirmed on Windows XP, Inkscape trunk revision 12686.

Changed in inkscape:
status: New → Triaged
Revision history for this message
su_v (suv-lp) wrote :

Setting bug status to 'High' for now - since some of the filter primitives parameters are either not accessible via GUI [1] or only allow a limited range of values via GUI [2], using the XML Editor parallel to the Filter Effects Editor is a regular use case which seems to fail now as soon as there's a decent amount of filter definitions in the <defs> section. There is also the risk of data loss on quit (if the hanging process is killed).

[1] e.g. feComponentTransfer
[2] see also bug #713056, bug #713050 and this message on the mailing list:
<http://article.gmane.org/gmane.comp.graphics.inkscape.devel/34576>

Changed in inkscape:
importance: Undecided → High
Revision history for this message
Johan Engelen (johanengelen) wrote :

Disable a part of r12394 that caused the infinite loop (?).
Reordering of filter list is broken, and seems better not to act upon reordering than hanging Inkscape.
Committed this "fix" in r13055

Revision history for this message
Johan Engelen (johanengelen) wrote :

Changing importance to Low and removing the milestone. The bug is now: re-ordered filter list not saved.

Changed in inkscape:
importance: High → Low
milestone: 0.91 → none
summary: - trunk: interference of XML and Filter Effects Editor (hang on dialog
- open and app quit) (rev >= 12394)
+ Re-ordered filter list not saved to XML
tags: removed: regression
Revision history for this message
su_v (suv-lp) wrote :

@Johan - why not close this one, and reopen bug #1168814 instead? How much of the requested feature in bug #1168814 does still exist in current trunk?

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.