'Scale elements': may hang on scaling linked flowed text
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Inkscape |
Triaged
|
High
|
Unassigned | ||
0.92.x |
Triaged
|
High
|
Unassigned |
Bug Description
Some examples of linked flowed text (linked for example to a frame with 'holes') in legacy files may cause Inkscape to "hang" (with high CPU usage) when the option to 'Scale elements' to 96dpi is chosen on open in Inkscape >= 0.92.
Steps to reproduce:
1) launch inkscape with default prefs
2) open attached SVG file
3) choose 'Scale elements' when prompted
Expected result:
The frame and the properties of the text using SVG lengths are scaled according to the DPI change. The layout of the flowed text is unchanged.
Actual result:
Inkscape appears to hang at processing the linked flowed text, using 100% CPU (one core).
Notes:
'Scale elements' of documents with problematic linked flowed text objects is affected by the preference setting:
'Behavior > Transforms > Store transformation'
The issue reproduces as reported with the default setting:
[x] Optimized
The reported issue does not reproduce after switching the setting to:
[x] Preserved
TODO:
Try to figure out a minimal test case / details which intentionally trigger the reported issue. So far this was encountered as side-effect of efforts to produce a reduced test case for bug #1655005.
Reproduced with Inkscape 0.92.0 r15299 and lp:inkscape/0.92.x r15309 on OS X 10.7.5.
Changed in inkscape: | |
milestone: | 0.92.1 → 0.93 |
Backtrace after a (random) interrupt in the debugger while inkscape attempts to scale elements in the provided test case.
(tested with lp:inkscape/0.92.x r15309 on OS X 10.7.5)