Comment 2 for bug 171918

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

The new 'Auto-refresh' feature from r9390 for the Icon Preview slows down working in larger icon-set files, for example when editing Inkscape's own 'icons.svg', especially if an alternative icon-set is displayed in a second window.

Proposing to revert the change or make 'Auto-refresh' an option to be turned on/off:
- Increasing the timer for the auto-refresh in the sources (changing the value for 'timer->elapsed()' from 0.1 to 1.0 in 'src/ui/dialog/icon-preview.cpp') doesn't really solve the issue (tested with current Inkscape 0.47+devel on OS X 10.5.8, using a MBP with 2.4 GHz Intel Core 2 Duo, 2GB RAM).
- When running idle in the background while the Icon Preview is open, Inkscape continuously uses 90-100% CPU of one of the two cores.
- Closing the Icon Preview dialog when using the option to preview '[x] Selection' without deselecting the current object doesn't stop the auto-refreshing process i.e. Inkscape keeps using a lot of CPU resources.