Comment 0 for bug 1239296

Revision history for this message
su_v (suv-lp) wrote : trunk: interference of XML and Filter Effects Editor (hang on dialog open and app quit) (rev >= 12394)

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
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
inkscape -f ./performance-xml-and-filter-editor-1.svg --verb=DialogFilterEffects --verb=FileQuit

# tests combined
rm $HOME/.config/inkscape/preferences.xml
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,}