Bug 155335 - FILEOPEN DOCX VML Textbox border is missing
Summary: FILEOPEN DOCX VML Textbox border is missing
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: LibreOffice (show other bugs)
Version:
(earliest affected)
7.2.0.4 release
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: bibisected, bisected, filter:docx, regression
Depends on:
Blocks: VML-Textbox
  Show dependency treegraph
 
Reported: 2023-05-15 18:37 UTC by hemant363kumar
Modified: 2025-12-29 12:35 UTC (History)
3 users (show)

See Also:
Crash report or crash signature:


Attachments
File having missing textbox border issue (808.99 KB, application/vnd.openxmlformats-officedocument.wordprocessingml.document)
2023-05-15 18:38 UTC, hemant363kumar
Details
Screenshot of the Office 365 of the DOCX file (268.98 KB, image/png)
2025-05-20 16:56 UTC, Olivier Hallot
Details
PDF generated from MSO 365 of the proposed DOCX file (338.68 KB, application/pdf)
2025-05-20 16:57 UTC, Olivier Hallot
Details

Note You need to log in before you can comment on or make changes to this bug.
Description hemant363kumar 2023-05-15 18:37:10 UTC
Description:
Libre Office is not showing border for the last textbox at the bottom of page containing image saying "Steps to creating powerpoint presentations" while MS Word is showing the same

Steps to Reproduce:
1.Open in Libre Office 
2.Check the textbox at the bottom of page
3.See the missing border

Actual Results:
Border is not shown

Expected Results:
Border should be visible


Reproducible: Always


User Profile Reset: No

Additional Info:
Version: 7.4.4.1 (x64) / LibreOffice Community
Build ID: 988f4a351a6fa8cf4bdf2bdc873ca12cf8cbe625
CPU threads: 12; OS: Windows 10.0 Build 19045; UI render: Skia/Raster; VCL: win
Locale: en-IN (en_IN); UI: en-US
Calc: threaded
Comment 1 hemant363kumar 2023-05-15 18:38:35 UTC
Created attachment 187303 [details]
File having missing textbox border issue
Comment 2 hemant363kumar 2023-05-17 07:30:24 UTC
Is there any update on this?
Comment 3 BogdanB 2024-12-06 16:04:12 UTC
Please, let the bug in Unconfirmed status, until someone else confirm this.
Comment 4 Olivier Hallot 2025-05-20 16:56:19 UTC
Created attachment 200890 [details]
Screenshot of the Office 365 of the DOCX file

This screenshot shows the rendering of the DOCX file under Office 365.
Comment 5 Olivier Hallot 2025-05-20 16:57:03 UTC
Created attachment 200891 [details]
PDF generated from MSO 365 of the proposed DOCX file
Comment 6 Andrew Kopf 2025-06-07 16:20:37 UTC
Hello hemant363kumar@gmail.com,
I was able to reproduce the bug. I noticed that the second image had the line set to white/none. I changed that to be black. However, when saved as a Microsoft file docx (either 2007 or 2010), the line would be removed from the first image. It did, however, save correctly as a LO file. I am unsure if this is some LO bug or an issue with the MS file format, as you said that MS Word showed the same thing.

Version: 25.2.3.2 (X86_64) / LibreOffice Community
Build ID: bbb074479178df812d175f709636b368952c2ce3
CPU threads: 22; OS: Windows 11 X86_64 (10.0 build 26100); UI render: Skia/Raster; VCL: win
Locale: en-US (en_US); UI: en-US
Calc: CL threaded
Comment 7 Buovjaga 2025-12-29 12:35:32 UTC
This changed in 7.2 with bda05ba17362222b74727872579b65b3fa14e3d8
tdf#41466 DOCX import: fix VML v:shape/v:textbox

I guess this can be called a regression even though this seems like an edge case.

(In reply to hemant363kumar from comment #1)
> Created attachment 187303 [details]
> File having missing textbox border issue

I unzipped the file and in word/document.xml I found the relevant element:
<w:pict>
  <v:shape id="_x0000_i1042" type="#_x0000_t75" style="width:262.5pt;height:201pt">
    <v:imagedata r:id="rId32" o:title=""/>
  </v:shape>
</w:pict>

Seeing what the other element that has the border, rId30, had as its definition, I tested modifying the v:shape like so:
<v:shape id="_x0000_i1042" type="#_x0000_t75" style="width:262.5pt;height:201pt" stroked="t" strokecolor="#339">

I zipped it up again and indeed now the border was visible in LibreOffice.