Summary: | Draw: macro: Export filter sets bad coordinates in exported SVG | ||
---|---|---|---|
Product: | LibreOffice | Reporter: | Kamil Landa <kamlan> |
Component: | Draw | Assignee: | Not Assigned <libreoffice-bugs> |
Status: | NEW --- | ||
Severity: | normal | CC: | Armin.Le.Grand, kamlan, raal, stephane.guillou, xiscofauli |
Priority: | medium | Keywords: | bibisected, bisected, filter:svg, regression |
Version: | 7.3.2.2 release | ||
Hardware: | x86-64 (AMD64) | ||
OS: | All | ||
Whiteboard: | |||
Crash report or crash signature: | Regression By: | Armin Le Grand | |
Bug Depends on: | |||
Bug Blocks: | 111450 | ||
Attachments: | ODT, example of shifted SVG, and printscreen for bug |
Description
Kamil Landa
2023-09-01 10:47:35 UTC
Reproduced the path shift towards left and top, relative to the viewbox, in recent master build: Version: 24.2.0.0.alpha0+ (X86_64) / LibreOffice Community Build ID: beaea2e992912b4747d790070b26371f557b1f57 CPU threads: 8; OS: Linux 5.15; UI render: default; VCL: gtk3 Locale: en-AU (en_AU.UTF-8); UI: en-US Calc: threaded No repro in 7.2.7.2, repro in 7.3.7.2. Running the macro gives the shift, whereas using the GUI and exporting a selection as SVG does not. Bibisected with linux-64-7.3 repo to first bad commit 3f3bb1e4bd161910745836a2d3153aae54f65089 which points to core commit: commit a9f6d98859321e1b9029acc0c6e9347f4c1cf3b7 author Armin Le Grand (Allotropia) Mon Jan 31 19:44:19 2022 +0100 committer Xisco Fauli Fri Feb 11 20:36:00 2022 +0100 tdf#126319 Corrected bitmap creation from metafile Reviewed-on: https://gerrit.libreoffice.org/c/core/+/129235 With the sample file, I used a command of the type: instdir/program/soffice --invisible --headless /home/stragu/Downloads/bad-export-svg/source.odg macro://./Standard.Module1.export2SVG A diff between the before and after outputs shows only the d attribute of the path element has changed. Armin, can you please have a look? Xisco, copying you in because of your interest in SVG. |