Dragging handles results in calls to sp_style_read_from_prefs()
Bug #1327267 reported by
Tavmjong Bah
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Inkscape |
Fix Released
|
Medium
|
Liam P. White |
Bug Description
Dragging any handle results in calls to sp_style_
To see, add:
std::cout << "sp_style_
at the beginning of the function (in src/style.cpp).
Why is this happening? How can it be prevented?
This is one of a whole class of performance related issues where functions are being called too often.
Related branches
Changed in inkscape: | |
importance: | Undecided → Medium |
milestone: | none → 0.91 |
tags: | added: text |
Changed in inkscape: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
Also shows when selecting, deselecting or moving a shape.
Apparently the callers are both the font lister and the text toolbar. I've added some more debug code in the potential callers (libnrtype/ font-lister. cpp, widgets/ dash-selector. cpp, widgets/ text-toolbar. cpp, and ui/dialog/ text-edit. cpp), and selecting a simple rectangle returns: read_from_ prefs: entrance: /tools/text read_from_ prefs: entrance: /tools/text
----
sp_style_
-> From font-lister
sp_style_
-> From text-toolbar
----