https://bugs.documentfoundation.org/show_bug.cgi?id=168886
--- Comment #15 from Piotr Osada <[email protected]> --- Created attachment 206009 --> https://bugs.documentfoundation.org/attachment.cgi?id=206009&action=edit 2026-03-06 patch: image shrinks and shifts - paste broken, reload unfixed (In reply to Bartosz from comment #14) With that patch, the behavior is different but still buggy. At a first glance: - EMF image is cropped in X and Y - EMF image is scaled incorrectly in X and Y Before the patch (26.2.1): - Paste: correct (scale 1.0, no offset) - Reload: image stretched ~14% in X and ~12% in Y After the patch (master 2026-03-08): - Paste: image compressed ~18% in X and ~9% in Y, with offset +8.7 mm in X and +2.8 mm in Y - Reload: image compressed ~8% in X and ~2% in Y, with offset +10.3 mm in X and +2.9 mm in Y The patch broke paste, which was working correctly before. Paste and reload show different errors — these appear to be two separate issues. ╔═════════════════╦════════╦════════╦══════════╦════════╦══════════╗ ║ ║ Origin ║ Pasted ║ Reloaded ║ Pasted ║ Reloaded ║ ║ ║ ║ 26.2.1 ║ 26.2.1 ║ 2026 ║ 2026 ║ ║ ║ ║ ║ ║ 03-08 ║ 03-08 ║ ║ ║ ║ ║ ║ master ║ master ║ ╠═════════════════╬════════╬════════╩══════════╩════════╩══════════╣ ║ ║ 272.29 ║ In the LibreOffice documents ║ ║ ║ 208.41 ║ Graphs were resized to ║ ║ ║ [mm] ║ width of 11.40 cm (fixed ratio) ║ ╠═════════════════╬════════╩═══════════════════════════════════════╣ ║ ║ [%] ║ ╠═════════════════╬════════╦════════╦══════════╦════════╦══════════╣ ║ Graph dims ║ 100.00 ║ 100.00 ║ 100.00 ║ 100.00 ║ 100.00 ║ ║ Width × height ║ 76.54 ║ 76.58 ║ 76.49 ║ 76.49 ║ 76.49 ║ ╠═════════════════╬════════╩════════╩══════════╩════════╩══════════╣ ║ ║ Values measured with a ruler ║ ║ ║ from the screen ║ ║ ║ graphs scaled to 10 cm wide ±0.5 [mm] ║ ╠═════════════════╬════════╦════════╦══════════╦════════╦══════════╣ ║ X-Label "Value" ║ 9.5 ║ 9.5 ║ 11.0 ║ 16.5 ║ 19.0 ║ ║ distance ║ ║ ║ ║ ║ ║ ║ from Left ║ ║ ║ ║ ║ ║ ╠═════════════════╬════════╬════════╬══════════╬════════╬══════════╣ ║ X-axis end ║ 86.0 ║ 86.0 ║ 98.0 ║ 79.0 ║ 89.5 ║ ║ distance ║ ║ ║ ║ ║ ║ ║ from Left ║ ║ ║ ║ ║ ║ ╠═════════════════╬════════╬════════╬══════════╬════════╬══════════╣ ║ "Value" legend ║ 3.0 ║ 3.0 ║ 3.5 ║ 5.5 ║ 6.0 ║ ║ frame-top dist ║ ║ ║ ║ ║ ║ ║ from top of pic ║ ║ ║ ║ ║ ║ ╠═════════════════╬════════╬════════╬══════════╬════════╬══════════╣ ║ X-axis level ║ 64.0 ║ 64.0 ║ 72.0 ║ 61.0 ║ 69.0 ║ ║ distance ║ ║ ║ ║ ║ ║ ║ from top of pic ║ ║ ║ ║ ║ ║ ╚═════════════════╩════════╩════════╩══════════╩════════╩══════════╝ Scale factors and offsets estimated from the measurements above: ╔════════════════╦════════╦══════════╦════════╦══════════╗ ║ ║ Pasted ║ Reloaded ║ Pasted ║ Reloaded ║ ║ ║ 26.2.1 ║ 26.2.1 ║ 2026 ║ 2026 ║ ║ ║ ║ ║ 03-08 ║ 03-08 ║ ║ ║ ║ ║ master ║ master ║ ╠════════════════╬════════╬══════════╬════════╬══════════╣ ║ X-scale factor ║ 1.000 ║ 1.137 ║ 0.817 ║ 0.922 ║ ╠════════════════╬════════╬══════════╬════════╬══════════╣ ║ X-offset [mm] ║ 0.0 ║ ~0 ║ +8.7 ║ +10.3 ║ ╠════════════════╬════════╬══════════╬════════╬══════════╣ ║ Y-scale factor ║ 1.000 ║ 1.123 ║ 0.910 ║ 1.023 ║ ╠════════════════╬════════╬══════════╬════════╬══════════╣ ║ Y-offset [mm] ║ 0.0 ║ ~0 ║ +2.8 ║ +2.9 ║ ╚════════════════╩════════╩══════════╩════════╩══════════╝ https://www.tablesgenerator.com/text_tables https://dev-builds.libreoffice.org/daily/master/Win-x86_64@tb103-1-TDF/2026-03-08_03.10.34/ Version: 26.8.0.0.alpha0+ (X86_64) Build ID: bb24b8ec8f8a3bef6efece607479fff9541e30ff CPU threads: 16; OS: Windows 11 X86_64 (build 26200); UI render: Skia/Vulkan; VCL: win Locale: en-US (pl_PL); UI: en-US Calc: CL threaded -- You are receiving this mail because: You are the assignee for the bug. You are on the CC list for the bug.
