https://bugs.documentfoundation.org/show_bug.cgi?id=156995
Bug ID: 156995
Summary: Selecting an embedded SVG is extremely slow in Linux
Product: LibreOffice
Version: unspecified
Hardware: All
OS: Linux (All)
Status: UNCONFIRMED
Severity: normal
Priority: medium
Component: Impress
Assignee: [email protected]
Reporter: [email protected]
Description:
It may take up to a minute to select an SVG object that consists of many
draw:path> elements within content.xml when selecting with the mouse pointer in
the document canvas. The selection is immediate when selecting the same object
in the Navigator pane.
Ubuntu 22.04 and Clear Linux running Gnome and xorg are affected. Possibly
other Linuxes are affected as well.
Xorg appears to make many kernel memcpy calls while LibreOffice is frozen upon
selecting the object.
The "slow" SVG object in content.xml follows this syntax:
> <draw:g draw:style-name="gr1">
> <svg:title>TEST</svg:title>
> <draw:path draw:style-name="gr2" draw:text-style-name="P1"
> draw:layer="layout" svg:width="20.723cm" svg:height="14.884cm"
> svg:x="6.298cm" svg:y="0.026cm" svg:viewBox="0 0 20724 14885" svg:d="...">
> <text:p/>
> </draw:path>
> <draw:path draw:style-name="gr3" draw:text-style-name="P2"
> draw:layer="layout" svg:width="0.235cm" svg:height="0.19cm" svg:x="6.294cm"
> svg:y="0.116cm" svg:viewBox="0 0 236 191" svg:d="...">
> <text:p/>
> </draw:path>
>
> ... repeat the above <draw:path> elements a few hundred times ...
>
> </draw:g>
Steps to Reproduce:
On Linux, select an SVG object that consists of many paths in content.xml
Actual Results:
Selection take a very long time, depending on complexity and number of elements
in the group.
Expected Results:
Selection should be quick
Reproducible: Always
User Profile Reset: Yes
Additional Info:
Does not seem to affect Windows
--
You are receiving this mail because:
You are the assignee for the bug.