Bug 138560 - Unwanted partial border showing around inserted images.
Summary: Unwanted partial border showing around inserted images.
Status: RESOLVED DUPLICATE of bug 134869
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
6.0 all versions
Hardware: All Windows (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: bibisected, bisected, regression
Depends on:
Blocks: Zoom
  Show dependency treegraph
 
Reported: 2020-11-30 05:12 UTC by xtr806595
Modified: 2021-12-08 17:47 UTC (History)
6 users (show)

See Also:
Crash report or crash signature:


Attachments
Document with same file inserted twice, one had border one did not (36.38 KB, application/vnd.oasis.opendocument.text)
2020-11-30 05:14 UTC, xtr806595
Details
A sample document showing or not showing the lines (78.10 KB, application/vnd.oasis.opendocument.text)
2021-07-27 13:54 UTC, csongor
Details
no ghost lines (83.14 KB, image/png)
2021-07-27 13:54 UTC, csongor
Details
ghost line at the bottom (112.88 KB, image/png)
2021-07-27 13:55 UTC, csongor
Details
ghost line on the right side (105.77 KB, image/png)
2021-07-27 13:55 UTC, csongor
Details
ghost lines at the bottom and on the right-hand side (75.35 KB, image/png)
2021-07-27 13:56 UTC, csongor
Details

Note You need to log in before you can comment on or make changes to this bug.
Description xtr806595 2020-11-30 05:12:14 UTC
Description:
When inserting an image file with a white background into a text document, an unwanted border line shows either along the bottom, down the right side or both. No action seems to remove or prevent these border lines. The same image file into the same document does not show any borders when action done in MS Word. The image formats can be bmp or jpg but the lines still appear. Resizing the image sometimes removes the lines but usually not both lines at bottom and right and they frequently reappear. The bug was in version 6.4.4 and is still in 7.0.3. following an update. The border lines are probably there in images with coloured backgrounds but cannot be seen as they can be with a white background. The bug occurs with doc, docx or odt formats.

Steps to Reproduce:
1.Insert image file with white background into document
2.Position and resize image
3.

Actual Results:
Border line shows along bottom or the right side or both.

Expected Results:
Image should show in document without any border lines. There should be white image background against white page without any visible border lines.


Reproducible: Always


User Profile Reset: No



Additional Info:
[Information automatically included from LibreOffice]
Locale: en-GB
Module: StartModule
[Information guessed from browser]
OS: Windows 7
OS is 64bit: yes
Comment 1 xtr806595 2020-11-30 05:14:58 UTC
Created attachment 167662 [details]
Document with same file inserted twice, one had border one did not
Comment 2 Telesto 2020-11-30 12:26:58 UTC
Repro with
Version: 7.2.0.0.alpha0+ (x64)
Build ID: 32fdb8eb3506bc8dcf013cc713fe8e5debceb940
CPU threads: 4; OS: Windows 6.3 Build 9600; UI render: Skia/Raster; VCL: win
Locale: nl-NL (nl_NL); UI: en-US
Calc: CL
Comment 3 Telesto 2020-11-30 12:31:38 UTC
Also in
Version: 6.3.0.0.beta1+ (x86)
Build ID: 5cfac16dbd4af456a7fb6d52c8953c69a72ba2ba
CPU threads: 4; OS: Windows 6.3; UI render: GL; VCL: win; 
Locale: nl-NL (nl_NL); UI-Language: en-US
Calc: CL

not in
4.4.7.2
Comment 4 Attila Baraksó (NISZ) 2020-11-30 17:10:47 UTC
Bibisected using bibisect-winXX-X.X to:
URL: https://cgit.freedesktop.org/libreoffice/core/commit?id=da05b60cdb72d301c6b16c8cb31135f46f4ed2c0
author: Armin Le Grand <Armin.Le.Grand@cib.de>
committer: Armin Le Grand <Armin.Le.Grand@cib.de>
summary: RotateFlyFrame3: Late-Updating of Areas

Adding Cc: Armin Le Grand
Comment 5 Attila Baraksó (NISZ) 2020-11-30 17:12:02 UTC
(In reply to Attila Baraksó (NISZ) from comment #4)
> Bibisected using bibisect-winXX-X.X to:

... bibisect-win32-6.0
Comment 6 csongor 2021-07-27 13:52:30 UTC
The presence of the "ghost" lines can be turned off by unchecking the View -> Text Boundaries checkbox.

The problem is that the appearance of the lines depends on the zoom factor. It should not. If the edge of the image is considered to be a text boundary then it always should be seen, otherwise never. But this indefininte behavior is a bug. 

Personally I believe the edge of an image is not a text boundary because if the wrap setting of the image is "Through" then the text can cross those edges. Thus, these lines never should be seen, I think. 

However, a better solution would be to add a new item called "Image Boundaries" to the View menu, right between the following items:
- Text Boudaries
- Table Boundaries
It would make sense to toggle this switch independently from the other two.

I upload a sample document and four screenshots. The difference amongst the four images is only the zoom factor. Sometimes one line can be seen, sometimes none, sometimes both.
Comment 7 csongor 2021-07-27 13:54:06 UTC
Created attachment 173880 [details]
A sample document showing or not showing the lines

You need to turn on the Edit mode otherwise, the complained lines are not shown.
Comment 8 csongor 2021-07-27 13:54:40 UTC
Created attachment 173881 [details]
no ghost lines
Comment 9 csongor 2021-07-27 13:55:05 UTC
Created attachment 173882 [details]
ghost line at the bottom
Comment 10 csongor 2021-07-27 13:55:30 UTC
Created attachment 173883 [details]
ghost line on the right side
Comment 11 csongor 2021-07-27 13:56:03 UTC
Created attachment 173884 [details]
ghost lines at the bottom and on the right-hand side
Comment 12 Buovjaga 2021-12-08 17:47:50 UTC

*** This bug has been marked as a duplicate of bug 134869 ***