Bug 123006 - Incorrect render: no border around image
Summary: Incorrect render: no border around image
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
(earliest affected) release
Hardware: x86-64 (AMD64) Linux (All)
: medium normal
Assignee: Not Assigned
Keywords: filter:doc
Depends on:
Blocks: DOC-Images
  Show dependency treegraph
Reported: 2019-01-28 06:48 UTC by Vitaly Zdanevich
Modified: 2023-05-25 16:39 UTC (History)
3 users (show)

See Also:
Crash report or crash signature:

doc (218.50 KB, application/msword)
2019-01-28 06:49 UTC, Vitaly Zdanevich
Render in LibreOffice (215.03 KB, image/png)
2019-01-28 06:50 UTC, Vitaly Zdanevich
Render in Google Doc (208.99 KB, image/png)
2019-01-28 06:51 UTC, Vitaly Zdanevich
properties for line (199.16 KB, image/jpeg)
2019-01-28 09:28 UTC, BogdanB
Microsoft Office online render (322.73 KB, image/png)
2019-01-28 16:02 UTC, Vitaly Zdanevich

Note You need to log in before you can comment on or make changes to this bug.
Description Vitaly Zdanevich 2019-01-28 06:48:40 UTC
Please see the screenshots.

Steps to Reproduce:
Open file.

Actual Results:
No borders around my images (I remember that Office on Windows XP showed my borders).

Expected Results:
The same render as in Google Doc.

Reproducible: Always

User Profile Reset: No

Additional Info:
Comment 1 Vitaly Zdanevich 2019-01-28 06:49:35 UTC
Created attachment 148697 [details]
Comment 2 Vitaly Zdanevich 2019-01-28 06:50:09 UTC
Created attachment 148698 [details]
Render in LibreOffice
Comment 3 Vitaly Zdanevich 2019-01-28 06:51:04 UTC
Created attachment 148699 [details]
Render in Google Doc

The same as in Microsoft Office - correct.
Comment 4 BogdanB 2019-01-28 09:26:30 UTC
I think the reason is that the color of border is automatic, and on Libre Office is white and is not visibile... See the screenshot if I click on image and then on Line properties.

Confirm this
Build ID: 9bc10964f0673b64e282ad567d08bf7ebba4df65
CPU threads: 4; OS: Linux 4.15; UI render: default; VCL: gtk3; 
TinderBox: Linux-rpm_deb-x86_64@86-TDF, Branch:master, Time: 2019-01-27_18:08:30
Locale: ro-RO (ro_RO.UTF-8); UI-Language: en-US
Calc: threaded
Comment 5 BogdanB 2019-01-28 09:28:04 UTC
Created attachment 148702 [details]
properties for line

Line style is not selected and line color is automatic (white???).
Comment 6 BogdanB 2019-01-28 09:29:58 UTC
And line width is seen as zero.
Comment 7 Telesto 2019-01-28 10:16:58 UTC
Also in
Build ID: f3153a8b245191196a4b6b9abd1d0da16eead600
Locale: nl_NL
Comment 8 Vitaly Zdanevich 2019-01-28 16:02:49 UTC
Created attachment 148714 [details]
Microsoft Office online render
Comment 9 Regina Henschel 2019-01-28 19:56:37 UTC
The "borders" do not belong to the image, but to the text field. The images exist separate and are placed as character in the paragraph of the text field.
Comment 10 BogdanB 2019-01-28 20:40:44 UTC
If I change color, width and style of line I could obtain the original border, like Google Drive. But the question is why the border style change on opening with LO?
Comment 11 Regina Henschel 2019-01-28 22:46:30 UTC
The original border is not a single stroke as rendered by Google, but has a thick and a thin line. Such kind is not available as line style but only as border style. And border styles do not exists for shapes but only for frames. With the current abilities of LibreOffice the same design as in the original doc is not possible.
You can get a frame with border and picture in it as in the original text field, but then you have no grouping. Or you use graphic objects with grouping, but have a 'wrong' border style.

But using no border at all, is surely a bug.

With the new feature "text box in shape" it would even be possible to get a distance between border and image as in original doc and so keep ratio and size at the same time.
Comment 12 QA Administrators 2021-01-29 04:22:55 UTC Comment hidden (obsolete)
Comment 13 BogdanB 2021-01-29 19:59:26 UTC
I retested in Version: / LibreOffice Community
Build ID: f2389a70da606768a39ee599de6a5b24058734aa
CPU threads: 4; OS: Linux 5.8; UI render: default; VCL: gtk3
Locale: ro-RO (ro_RO.UTF-8); UI: en-US
Calc: threaded

The same problem. No change.
Comment 14 QA Administrators 2023-01-30 03:21:52 UTC Comment hidden (obsolete, spam)
Comment 15 Justin L 2023-05-25 16:39:28 UTC
repro 7.6+