Bug 55134 - SLIDESHOW svg background renders with white border (slide size Screen 4:3)
Summary: SLIDESHOW svg background renders with white border (slide size Screen 4:3)
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Impress (show other bugs)
Version:
(earliest affected)
3.5.4 release
Hardware: All All
: medium normal
Assignee: Not Assigned
URL: https://ask.libreoffice.org/t/impress...
Whiteboard:
Keywords:
Depends on:
Blocks: Slide-Show Slide-Background
  Show dependency treegraph
 
Reported: 2012-09-20 10:07 UTC by xbetbk9
Modified: 2023-11-05 18:45 UTC (History)
6 users (show)

See Also:
Crash report or crash signature:


Attachments
The svg file that I tried to set as background image (9.21 KB, image/svg+xml)
2012-09-20 10:07 UTC, xbetbk9
Details
Test document (28.01 KB, application/vnd.oasis.opendocument.presentation)
2013-10-14 23:53 UTC, Thomas Arnhold
Details

Note You need to log in before you can comment on or make changes to this bug.
Description xbetbk9 2012-09-20 10:07:17 UTC
Created attachment 67431 [details]
The svg file that I tried to set as background image

When I set a slide's background image to an svg graphic, it always displays a white border at the bottom and right. This is especially obvious in presentation mode.

I prepared the svg file in Inkscape and increased the graphic elements over the svg's width/height dimensions. 
The issue occured with all different setups that I tried in Impress in context-click → slide → page setup:
- stretch to entire page
- tile + relative size + width 100%, height 100%
- tile + absolute size + width and height identical to page size (28cm, 21cm)

It does not occur if I use:
- a raster image stretched to the entire page
- a plain color
Comment 1 Jorendc 2012-12-29 17:43:18 UTC
Comment on attachment 67431 [details]
The svg file that I tried to set as background image

Changed MIME type of attachment
Comment 2 Jorendc 2012-12-29 17:57:57 UTC
Thanks for reporting!

I can reproduce this in Ubuntu 12.10 LO 4.1.0.0.alpha0+ (Build ID: 6306926e038fd7ad49c0089ebce8be0f0f8da3c). There is only one white border, at the bottom of the presentation.

A white border on the right is visible when exporting another image (800px * 600px, randomly downloaded from Internet).

The image in attachment has the correct resolution (800px * 600px) and thus the correct ratio (4:3).

A easy workaround for this case and image: Don't check the 'Tile' box, only check 'AutoFit'. This resolves the problem so far. But, I think this is not a good behavior of Presentation when checking 'Tile'.
Comment 3 Thomas Arnhold 2013-10-14 23:53:56 UTC
Created attachment 87636 [details]
Test document
Comment 4 QA Administrators 2015-04-01 14:40:18 UTC Comment hidden (obsolete)
Comment 5 Buovjaga 2015-04-21 12:40:30 UTC
Right-click - Set background image.
In presentation mode I see a white border at the top and left.

Win 7 Pro 64-bit Version: 5.0.0.0.alpha0+ (x64)
Build ID: 211c12b9c64facd1c12f637a5229bd6a6feb032a
TinderBox: Win-x86_64@42, Branch:master, Time: 2015-04-18_01:51:17
Locale: fi_FI
Comment 6 Xisco Faulí 2016-01-30 12:35:49 UTC
I can no longer reproduce the issue in

Version: 5.2.0.0.alpha0+
Build ID: 72c5e230f9cda8e18f63f7bbc6567487b4c5a5e0
CPU Threads: 4; OS Version: Linux 4.2; UI Render: default; 
Locale: ca-ES (ca_ES.UTF-8)

Thus, close it as RESOLVED WORKFORME
Comment 7 Buovjaga 2016-01-30 13:18:24 UTC
Still repro.

Win 7 Pro 64-bit Version: 5.2.0.0.alpha0+
Build ID: 9784ff3d878eaa21491fbd779e57d7d4710f5449
CPU Threads: 4; OS Version: Windows 6.1; UI Render: default; 
TinderBox: Win-x86@39, Branch:master, Time: 2016-01-30_01:31:57
Locale: fi-FI (fi_FI)
Comment 8 Xisco Faulí 2016-02-01 12:03:55 UTC
Oups, I missed the 'in presentation' detail. Sorry for the noise
Comment 9 QA Administrators 2017-03-06 15:03:24 UTC Comment hidden (obsolete)
Comment 10 QA Administrators 2019-12-03 14:06:18 UTC Comment hidden (obsolete)
Comment 11 ashleyblossom 2020-02-06 12:20:26 UTC Comment hidden (spam)
Comment 12 Riyadh 2021-02-05 23:24:43 UTC
Hello xbetbk9,

This have been fixed a long time ago.
I tested starting from 5.4.7.2.

Can you confirm.

Thank you
Comment 13 Buovjaga 2021-02-06 05:44:16 UTC
(In reply to Riyadh from comment #12)
> Hello xbetbk9,
> 
> This have been fixed a long time ago.
> I tested starting from 5.4.7.2.
> 
> Can you confirm.

I still see a white border at the bottom in presentation mode.

Arch Linux 64-bit
Version: 7.2.0.0.alpha0+ / LibreOffice Community
Build ID: 380ab85b6594a013f34f5e6ec69fb569336bbb48
CPU threads: 8; OS: Linux 5.10; UI render: default; VCL: kf5
Locale: fi-FI (fi_FI.UTF-8); UI: en-US
Calc: threaded
Built on 4 February 2021
Comment 14 Esha Fatima 2021-05-26 07:33:00 UTC Comment hidden (spam)
Comment 15 Ayesha Anees 2021-07-10 10:11:33 UTC Comment hidden (spam)
Comment 16 ibrahimabdullah 2022-04-09 09:26:20 UTC Comment hidden (spam)
Comment 17 Jack mash 2022-08-03 11:34:06 UTC Comment hidden (spam)
Comment 18 James Glen 2022-08-09 15:19:54 UTC
Windows 7 Pro 64-bit Version: 5.0.0.0.alpha0+ (x64) 

Build ID: 211c12b9c64facd1c12f637a5229bd6a6feb032a 

TinderBox: Win-x86_64@42, Branch:master, 

Time: 2015-04-18_01:51:17 

Locale: fi_FI
Comment 19 Haleema Sultan 2023-03-25 20:42:09 UTC Comment hidden (spam)
Comment 20 Stéphane Guillou (stragu) 2023-05-05 15:16:49 UTC
Reproduced in 7.4.6.2, but I think the situation has improved recently. Testing in a recent master build and in 7.5.3:
- Opening the example file only gives me a faint white line at the bottom in presentation mode
- Starting from scratch, importing the example SVG, using it as a background picture in Stretched style, I get no white border in presentation mode.

Can affected users please test again in 7.5.3?

In my opinion, this can be closed as "works for me".

I used:

Version: 7.6.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: 83b1f6b58a30bdb589e9ce73deef39f021aebde1
CPU threads: 8; OS: Linux 5.15; UI render: default; VCL: gtk3
Locale: en-AU (en_AU.UTF-8); UI: en-US
Calc: threaded

Version: 7.5.3.2 (X86_64) / LibreOffice Community
Build ID: 9f56dff12ba03b9acd7730a5a481eea045e468f3
CPU threads: 8; OS: Linux 5.15; UI render: default; VCL: gtk3
Locale: en-AU (en_AU.UTF-8); UI: en-US
Calc: threaded
Comment 21 Buovjaga 2023-05-05 15:24:53 UTC
Looks like you have to set the slide size to Screen 4:3 to tease out the issue. Stéphane, can you try it?

Arch Linux 64-bit, X11
Version: 7.5.3.2 (X86_64) / LibreOffice Community
Build ID: 50(Build:2)
CPU threads: 8; OS: Linux 6.3; UI render: default; VCL: kf5 (cairo+xcb)
Locale: fi-FI (fi_FI.UTF-8); UI: en-US
7.5.3-1
Calc: CL threaded
Comment 22 Stéphane Guillou (stragu) 2023-05-05 20:16:08 UTC
(In reply to Buovjaga from comment #21)
> Looks like you have to set the slide size to Screen 4:3 to tease out the
> issue. Stéphane, can you try it?

I tested again starting from scratch with a 4:3 slide ratio, same results: looks better in 7.5.3.2 and recent master build, when compared to 7.4.6.2.
7.4.6.2 had very obvious bottom and right lines; 7.5 and master have a thinner bottom line (similar to what's seen in bug 70976).

I guess we can keep open as it's still not perfect.

Can you see a difference between 7.4 and 7.5?
Comment 23 Buovjaga 2023-05-06 08:53:32 UTC
The change happened in 392b2cd4889cf944ed47b3473c6dd2cc1f89e7e7
tdf#150102 Correct PrefSize for UNO API Metafile exporter
Comment 24 Stephane Quenson 2023-11-05 15:40:02 UTC
I would like to confirm that I see the white lines on my laptop using LO 7.6.2.1 and Windows 11, but not on my other laptop using LO 7.6.2.1 and Windows 10. Also, at least two users on asklibreoffice.org mention that issue(https://ask.libreoffice.org/t/impress-7-5-2-2-windows-10-background-color-does-not-fill-entire-slide/97838/8).