Improve performance penalty of Objects dialog in current session

Bug #1431274 reported by su_v on 2015-03-12
44
This bug affects 8 people
Affects Status Importance Assigned to Milestone
Inkscape
High
Unassigned

Bug Description

Once the new 'Objects' dialog has been opened in the current session, operations applied to (larger) selections of objects may be slowed down to a degree which makes Inkscape nearly unusable for simplest tasks like deleting objects or grouping/ungrouping a decent amount of selected objects.

Steps to reproduce:
1) launch trunk (default prefs, default new document)
2) open 'Object > Objects...', close the dialog again
3) open a file like e.g. the gnome stencils or Inkscape's symbolic icon set [1]
4) select several objects and delete them

Expected result.
The selected objects are deleted quickly.

Actual results:
Inkscape is unresponsive and spends a long time (at full CPU load) to process the command.

Notes:
* It does not matter whether the 'Objects' dialog was opened for the same file or not, nor whether it's still open: having it opened once in the current session is sufficient to trigger the reported issue.
* Other affected commands are for example grouping/ungrouping.
* Earlier test (timed) wrt group/ungrouping (comparing trunk with original implementation of the dialog in ponyscape):
https://gist.github.com/su-v/147786140230cf5493d6
* Alternative test case: launch trunk, open & close Objects dialog, import Inkscape's original icon set, ungroup the imported drawing. The reported performance issue seems to depend on using a document with objects in Inkscape layers (not in root directly).

Reproduced with Inkscape 0.91+devel r13995 on OS X 10.7.5

--
[1] Gnome stencils (symbolic icons):
https://git.gnome.org/browse/adwaita-icon-theme/plain/src/symbolic/gnome-stencils.svg
Inkscape symbolic icons:
https://bazaar.launchpad.net/~inkscape.dev/inkscape/trunk/download/head:/symbolic_icons.svg-20130418202539-ee5ipevfzxghkz1e-1/symbolic_icons.svg

jazzynico (jazzynico) wrote :

Reproduced on Windows XP, Inkscape trunk revision 14005.

Changed in inkscape:
status: New → Triaged
su_v (suv-lp) on 2016-11-11
summary: - trunk: Improve performance penalty of Objects dialog in current session
+ Improve performance penalty of Objects dialog in current session
jazzynico (jazzynico) on 2017-01-04
Changed in inkscape:
milestone: 0.92 → 0.93
Reto (norfootek) wrote :

Saved my day! I have literally been waiting hours on Inkscape. I even started doing parallel work so that Inkscape can group/ungroup/delete/duplicate while I do something else...

Since this has been postponed to 0.93, would it be possible to add an obvious disclaimer somewhere for this? It took me 3 months until Inkscape is finally 1000x faster and suddenly very usable.

Hachmann (marenhachmann) wrote :

I've added a hint to the release notes for 0.92.2, hope that can save others some time.

Hachmann (marenhachmann) wrote :

Issue still present in 0.92.x and master branch as of February 25th 2018 (which was when I last compiled them).

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Duplicates of this bug

Other bug subscribers