Bug 140810 - There is a gap in the border around the text range where the object is located
Summary: There is a gap in the border around the text range where the object is located
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
5.4 all versions
Hardware: x86-64 (AMD64) Windows (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: Borders
  Show dependency treegraph
 
Reported: 2021-03-04 23:43 UTC by Regina Henschel
Modified: 2023-10-11 18:43 UTC (History)
3 users (show)

See Also:
Crash report or crash signature:


Attachments
Testdocument with border around text range. (29.83 KB, application/vnd.oasis.opendocument.text)
2021-03-04 23:43 UTC, Regina Henschel
Details
document exported to DOCX, loaded in Word 2013 (87.77 KB, image/png)
2021-03-05 14:03 UTC, Michael Stahl (allotropia)
Details
creating a new border in Word 2013 (99.19 KB, image/png)
2021-03-05 14:04 UTC, Michael Stahl (allotropia)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Regina Henschel 2021-03-04 23:43:51 UTC
Created attachment 170221 [details]
Testdocument with border around text range.

Open attached document. It has an image and a Math equation, both anchored 'as character'. Notice that the border has a gap, although the padding of the box is so large, that image and equation would fit inside the box. The border is set in a character style.

Expected: The border is drawn without gap.

Actual: The border has a gap.

@Michael: You wrote in OFFICE-3843, that character anchored objects should be included in the box. So this is a bug in LO or intended behavior?
Comment 1 Michael Stahl (allotropia) 2021-03-05 14:03:14 UTC
Created attachment 170245 [details]
document exported to DOCX, loaded in Word 2013

it looks like there is an additional bug in exporting the Math object, Word shows the expected border around the image but not around the Math object
Comment 2 Michael Stahl (allotropia) 2021-03-05 14:04:27 UTC
Created attachment 170246 [details]
creating a new border in Word 2013

this is what the lines should look like (ignoring color and padding), creating a new 3pt border in Word
Comment 3 QA Administrators 2023-03-06 04:23:14 UTC Comment hidden (obsolete)
Comment 4 Regina Henschel 2023-03-06 11:57:25 UTC
The error still exists in Version: 7.6.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: 1309e6332d7ff2bd1f9b6bf87385b8b570e59158
CPU threads: 8; OS: Windows 10.0 Build 19045; UI render: default; VCL: win
Locale: en-US (en_US); UI: en-US
Calc: CL threaded
Comment 5 Kira Tubo 2023-10-11 18:43:55 UTC
Reproduced in:

Version: 5.4.0.0.alpha1 (x64)
Build ID: 0b9f9bef65bb21ebb6a64aafad448f7f62dc824a
CPU threads: 6; OS: Windows 6.19; UI render: default; 
Locale: en-US (en_US); Calc: CL

Version: 24.2.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: 1ec2e39cf4d5fe0a592bc783fd8bcdc4345c8cbd
CPU threads: 6; OS: Windows 10.0 Build 22621; UI render: Skia/Raster; VCL: win
Locale: en-US (en_US); UI: en-US
Calc: CL threaded