Download it now!
Bug 134869 - LO Writer: Grey line at the right and bottom when pasting an image - not in Print - only in view
Summary: LO Writer: Grey line at the right and bottom when pasting an image - not in P...
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
6.4.5.2 release
Hardware: x86-64 (AMD64) Windows (All)
: medium minor
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: bisected, regression
Depends on:
Blocks: Writer-Images
  Show dependency treegraph
 
Reported: 2020-07-16 14:27 UTC by Udo
Modified: 2020-12-28 22:28 UTC (History)
4 users (show)

See Also:
Crash report or crash signature:


Attachments
ODT-File - Grey Line at the right and bottom of image (17.88 KB, application/vnd.oasis.opendocument.text)
2020-07-16 15:11 UTC, Udo
Details
ODT-File - Grey Line at the right and bottom of image by Inserting and Moving (21.63 KB, image/jpeg)
2020-07-18 04:58 UTC, Udo
Details
ODT-File - Grey Line at the right and bottom of image by Inserting and Moving (18.05 KB, application/vnd.oasis.opendocument.text)
2020-07-18 06:23 UTC, Udo
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Udo 2020-07-16 14:27:02 UTC
Description:
i selected a part of an image in mspaint, copied it, and pasted it into the odt Document. The image then shows a thin grey outline at the right, and at the bottom of the pasted image. 
In printpreview there is no line. 
if i paste again the image itself inside LO-Writer the grey line at the bottom disappears.
Sometimes it's a line at the right, sometimes it's a line at the bottom. Sometimes both. 

If i make a new line inside the document - the line disapears. if i make another line, the line appears again. 

Sometimes that is not happening. Seems that it has something to do with the position. 

Steps to Reproduce:
1. make a screenshot and paste it into mspaint
2. select a part of the image and copy it 
3. paste into writer

Actual Results:
Thin grey line, at the right and at the bottom. But not always.

Expected Results:
No thin grey line


Reproducible: Sometimes


User Profile Reset: No


OpenGL enabled: Yes

Additional Info:
Version: 7.0.0.1 (x64)
Build ID: 04ba7e3f1e51af6c5d653e543a620e36719083fd
CPU-Threads: 4; BS: Windows 6.3 Build 9600; UI-Render: Skia/Raster; VCL: win
Locale: de-DE (de_DE); UI: de-DE
Calc: CL
Comment 1 Udo 2020-07-16 15:11:42 UTC
Created attachment 163126 [details]
ODT-File - Grey Line at the right and bottom of image
Comment 2 Udo 2020-07-16 15:30:56 UTC
Occurs also in 7.0.0.1 RC1
Comment 3 Uwe Auer 2020-07-16 21:09:44 UTC
From my perspective this is just non-printing visual aid "Text Boundaries" and will vanish if View -> [ ] Text Boundaries will be deactivated. Would rate that being not a bug
Comment 4 Udo 2020-07-17 03:50:03 UTC
I agree partly. The behaviour occurs sometimes, and sometimes not. But you are right, that it disappears if View -> [ ] Text Boundaries will be deactivated.
Comment 5 Xisco Faulí 2020-07-17 10:21:56 UTC
Thank you for reporting the bug. To be certain the reported issue is not related to corruption in the user profile, could you please reset your Libreoffice profile ( https://wiki.documentfoundation.org/UserProfile ) and re-test?

I have set the bug's status to 'NEEDINFO'. Please change it back to 'UNCONFIRMED' if the issue is still present
Comment 6 Udo 2020-07-18 04:54:58 UTC
- Started 7.0.0.1 RC 1 in safe mode. resetted user data. Restart, normal version
- Error still occurs. Most of the time
- Started 7.0.0.1 RC 1 in safe mode. problem does not occur
- Restart, normal version. Error still occurs. Most of the time
Comment 7 Udo 2020-07-18 04:58:28 UTC
Created attachment 163221 [details]
ODT-File - Grey Line at the right and bottom of image by Inserting and Moving
Comment 8 Udo 2020-07-18 06:23:44 UTC
Created attachment 163227 [details]
ODT-File - Grey Line at the right and bottom of image by Inserting and Moving

ODT-File, better than JPG
Comment 9 Dieter 2020-07-23 15:32:46 UTC
I confirm it with

Version: 7.0.0.0.beta2 (x64)
Build ID: 1c213561a365b5666167321de68c9977500c9612
CPU threads: 4; OS: Windows 10.0 Build 19041; UI render: Skia/Raster; VCL: win
Locale: de-DE (de_DE); UI: en-GB
Calc: CL

but no with

Version: 6.4.5.2 (x64)
Build-ID: a726b36747cf2001e06b58ad5db1aa3a9a1872d6
CPU-Threads: 4; BS: Windows 10.0 Build 19041; UI-Render: GL; VCL: win; 
Gebietsschema: de-DE (de_DE); UI-Sprache: de-DE
Calc: threaded
Comment 10 Martin Srdoš 2020-12-28 19:33:11 UTC
By bibisection I have discovered the first commit with this bug. https://git.libreoffice.org/core/+/a7528cd6f17ea5c5b29e7d607e54c62de0d9e7db
But it is not what we are searching.

Instert the image, click by second button on it, click ANCHOR > AS CHARACTER. After this it works same like in the old version 6.4.5.2.

By bisecting I have discovered only default setting on paste of the image.

I also checked this in

Version: 4.2.0.0.alpha1+
Build ID: fc8f44e82de4ebdd50ac5fbb9207cd1a59a927e3

and when i set anchor "As character" then there is gray color around the image. When I set "To character" then there is no grey lines. So there is still regression and bibisectRequest.
Comment 11 Martin Srdoš 2020-12-28 22:25:26 UTC
I have tested anchor seted "To character". In old versions is no grey line, in the new there is.

Report from bisecting:
332a8389db98b1e2f1d57b6de7b90c61c5224ebc is the first bad commit
commit 332a8389db98b1e2f1d57b6de7b90c61c5224ebc
Author: Norbert Thiebaud <nthiebaud@gmail.com>
Date:   Tue Dec 12 21:31:37 2017 -0800

    source sha:da05b60cdb72d301c6b16c8cb31135f46f4ed2c0

I am adding 	Armin Le Grand to CC list.
Comment 12 Martin Srdoš 2020-12-28 22:28:31 UTC
And also I seted priority to minor i thing it more corespond with wiki https://wiki.documentfoundation.org/QA/BugTriage#Step_8:_Prioritize_Bug (Maybe it should be trivial).