https://bugs.documentfoundation.org/show_bug.cgi?id=173718
Bug ID: 173718
Summary: When loading an SVG image into a dialog control, it
appears shifted by 0.5pt at the bottom right corner
Product: LibreOffice
Version: 26.8.0.3 release
Hardware: All
OS: All
Status: UNCONFIRMED
Severity: normal
Priority: medium
Component: BASIC
Assignee: [email protected]
Reporter: [email protected]
Description:
When loading an SVG image into a dialog control, it appears shifted by 0.5pt at
the bottom right corner.
Steps to Reproduce:
1. Open Basic-IDE.
2. Insert Button Form in Parent Dialog.
Insert SVG Image in Button.
The SVG below is a square with the width of the blue border set to 0.5pt to
make the 0.5pt deviation clear.
``` xml 24x24
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">
<rect x="0.25" y="0.25" width="23.5" height="23.5" stroke-width="0.5"
stroke="blue" fill="white"/>
</svg>
```
Actual Results:
3. I can't see the blue line on the right side and bottom.
For example, if you insert it into a Calc sheet by drag and drop, it will be
displayed correctly.
Expected Results:
3. Four blue lines will appear.
Reproducible: Always
User Profile Reset: No
Additional Info:
I don't know the exact number, but it seems to be off by about 0.5 points.
SVG with display position shifted 0.5pt to the bottom right
When inserted into a dialog button, it displays as intended, but in general
display, the blue line at the top left is missing.
``` xml 24x24 shift 0.5pt
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0.5 0.5 24.5 24.5">
<rect x="0.25" y="0.25" width="23.5" height="23.5" stroke-width="0.5"
stroke="blue" fill="white"/>
</svg>
```
If you expand the display position by 0.5pt to the bottom right, it is possible
to display it either way.
``` xml 24x24 expand 0.5pt
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24.5 24.5">
```
---
Reproducible in
Version: 26.8.0.3 (X86_64)
Build ID: bce0998afefdbc355585ca324285661a2170ba77
CPU threads: 4; OS: Windows 11 X86_64 (build 26200); UI render: Skia/Raster;
VCL: win
Locale: ja-JP (ja_JP); UI: en-US
Calc: CL threaded
Reproducible in
[2026-09-17]
Version: 27.2.0.0.alpha0+ (X86_64)
Build ID: d81664bb1bc0db9a0a0f2afeda23f91515440b61
CPU threads: 4; OS: Windows 11 X86_64 (build 26200); UI render: Skia/Raster;
VCL: win
Locale: ja-JP (ja_JP); UI: en-US
Calc: CL threaded
---
Not reproducible in
Version: 26.2.6.3 (X86_64)
Build ID: 8221e31b3ac356a1623c672912a3d2b492f7e3d1
CPU threads: 4; OS: Windows 11 X86_64 (build 26200); UI render: Skia/Raster;
VCL: win
Locale: ja-JP (ja_JP); UI: en-US
Calc: CL threaded
--
You are receiving this mail because:
You are the assignee for the bug.