Bug 111659 - white border around image, viewing and printing. Did not occur in 5.2.x branch.
Summary: white border around image, viewing and printing. Did not occur in 5.2.x branch.
Status: RESOLVED NOTABUG
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
5.3.5.2 release
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-08-10 19:27 UTC by tom.michiels
Modified: 2017-08-11 09:42 UTC (History)
1 user (show)

See Also:
Crash report or crash signature:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description tom.michiels 2017-08-10 19:27:08 UTC
Description:
I have this problem with a document which was exported originally from Microsoft word. The image in the right upper corner shows normal in all versions up to 5.2.x but when I upgraded to 5.3 or 5.4 a big white border appears around the image. Happens in Windows and in OS X.  
Check the file for yourself at https://tmichiels.stackstorage.com/s/prv300OrvNVTyYx

Steps to Reproduce:
1. I cannot tell how to reproduce as this is a file which always worked in previous versions.
2. you can check the file for yourself at https://tmichiels.stackstorage.com/s/prv300OrvNVTyYx
3.

Actual Results:  
A thick white border appears around the image/logo in the upper left corner.

Expected Results:
no white border and transparant with background.


Reproducible: Always

User Profile Reset: yes, used freshly installed libreoffice under windows to verify.

Additional Info:
I've made a sample file to show the issue: https://tmichiels.stackstorage.com/s/prv300OrvNVTyYx


User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_6) AppleWebKit/603.3.8 (KHTML, like Gecko) Version/10.1.2 Safari/603.3.8
Comment 1 Jean-Baptiste Faure 2017-08-10 20:27:42 UTC
Select the picture, right click then choose Properties, tab Borders and Space to content -> you can see there is a big space defined between the picture and the border. Remove this space.

Closing as NotABug. Please feel free to reopen if I am wrong.

Best regards. JBF
Comment 2 tom.michiels 2017-08-10 20:33:04 UTC
Hi you are right, that solves the problem but then is my question, why is this border suddenly appearing in 5.3 and up? It never showed up before...
Comment 3 Jean-Baptiste Faure 2017-08-11 05:02:47 UTC
(In reply to tom.michiels from comment #2)
> Hi you are right, that solves the problem but then is my question, why is
> this border suddenly appearing in 5.3 and up? It never showed up before...

I guess the problem is in LO 5.2 and previous versions: see https://wiki.documentfoundation.org/ReleaseNotes/5.3#Borderless_padding_is_displayed

If you look at Space to content in LO 5.2 you will see that you have the same data as in LO 5.4, but they are greyed out.

Closing again.
Best regards. JBF
Comment 4 tom.michiels 2017-08-11 07:43:21 UTC
(In reply to Jean-Baptiste Faure from comment #3)
> (In reply to tom.michiels from comment #2)
> > Hi you are right, that solves the problem but then is my question, why is
> > this border suddenly appearing in 5.3 and up? It never showed up before...
> 
> I guess the problem is in LO 5.2 and previous versions: see
> https://wiki.documentfoundation.org/ReleaseNotes/5.
> 3#Borderless_padding_is_displayed
> 
> If you look at Space to content in LO 5.2 you will see that you have the
> same data as in LO 5.4, but they are greyed out.
> 
> Closing again.
> Best regards. JBF

Ok that looks being the issue. Problem is that I now need to fix 1000's of documents. Isn't there a workaround somehow so I don't need to manually delete the border in all of these documents?
Comment 5 Jean-Baptiste Faure 2017-08-11 09:42:33 UTC
(In reply to tom.michiels from comment #4)
> [...]
> Ok that looks being the issue. Problem is that I now need to fix 1000's of
> documents. Isn't there a workaround somehow so I don't need to manually
> delete the border in all of these documents?

I suggest you to ask on users mailing-list if someone has an idea how to automatize that. Perhaps it is not so hard to write a macro to do that.

Best regards. JBF