Bug 72988 - re-base: Impress template not rendered correctly (vintage, metropolis, sunset)
Summary: re-base: Impress template not rendered correctly (vintage, metropolis, sunset)
Status: RESOLVED WORKSFORME
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Impress (show other bugs)
Version:
(earliest affected)
4.0.0.3 release
Hardware: All All
: highest normal
Assignee: Laurent Balland
URL:
Whiteboard:
Keywords: bibisected, bisected, regression
: 62940 73944 76528 77180 80252 (view as bug list)
Depends on:
Blocks: Slide-Show
  Show dependency treegraph
 
Reported: 2013-12-23 14:56 UTC by Pierre C
Modified: 2021-02-23 13:50 UTC (History)
13 users (show)

See Also:
Crash report or crash signature:


Attachments
Sunset test presentation (16.47 KB, application/vnd.oasis.opendocument.presentation)
2015-01-22 04:12 UTC, Matthew Francis
Details
Sample rendering from 4.4.0.2 on Linux (130.74 KB, image/png)
2015-01-22 04:15 UTC, Matthew Francis
Details
Sample rendering from 4.4.0.2 on Linux (presentation mode) (164.52 KB, image/png)
2015-01-22 04:17 UTC, Matthew Francis
Details
backtrace log in Linux using LibreOffice 5.0.0.0.beta1 (4.08 KB, text/plain)
2015-05-24 16:24 UTC, Edmund Laugasson
Details
strace log in Linux with LibreOffice 5.0.0.0.beta1 (57.05 KB, text/plain)
2015-05-24 16:25 UTC, Edmund Laugasson
Details
Showinp pb with LO5.1 (463.33 KB, application/vnd.oasis.opendocument.presentation)
2016-04-10 07:46 UTC, Pierre C
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Pierre C 2013-12-23 14:56:30 UTC
Step to reproduce
1 create a new presentation
2 chose the master page vintage or, metropolis, or sunset
3 press f5, and it's not what it should be

test on multiple computers (Seven or XP) and différents versions OF LO

Works fine with LO 3.5 and 3.6 and is buggy with any version of LO since 4.0.0.3
Comment 1 Pierre C 2013-12-23 14:57:14 UTC
adding keyword regression as it works with LO 3.6.7
Comment 2 Laurent Balland 2013-12-23 17:43:44 UTC
Confirmed with LibO 4.1.4.2 on Win7
Comment 3 Ysabeau 2013-12-24 10:35:04 UTC
The problem works for all the backgrounds, my square logo has been stretched as a rectangle. It works because we can't choose the first choice (Original in French).
Also, in 4.2.0.1, the colour of Metropolis changes: when you work, the background is blue, when you show, the background is white. That is strange because the background is a picture.
Comment 4 Jorendc 2014-01-22 22:42:09 UTC
*** Bug 73944 has been marked as a duplicate of this bug. ***
Comment 5 Jorendc 2014-01-22 22:43:14 UTC
Reproducible using Mac OSX 10.9 with LibreOffice Version: 4.3.0.0.alpha0+
Build ID: 8fd7a53d3cf1ed788c705cafb443801203787c9d
TinderBox: MacOSX-x86@49-TDF, Branch:master, Time: 2014-01-22_00:10:03

Kind regards,
Joren
Comment 6 Buovjaga 2014-11-04 15:54:26 UTC
Vintage ok.
Metropolis: the gradient of the rays does not work in f5 mode.
Sunset: The rays do not appear at all in f5 mode.

Version: 4.3.2.2.0+
Build ID: 4.3.2.2 Arch Linux build-1
Comment 7 Matthew Francis 2014-12-06 07:59:54 UTC
Results from bibisect-43all:
There is a range in which the backgrounds in the master pages aren't displayed at all (the skipped commits below). Before it, "Sunset" renders OK in a slideshow, and after it doesn't.


There are only 'skip'ped commits left to test.
The first bad commit could be any of: 7fd8bdb3b18f50ea0adbc0a5e611f6a844b23189 a67b874d60de1f1a44bef57a53a7b8a84db0ba58 46f9a799a00ba869957d7aa7650cae7fd2501394 d73160956706b297f4a7043d35e229f2e8566d5f 183a576d94de9a9439d580c8b81f335ab57cdbdc 221bf5c0db153e24c67ff29fe614af7cc010a356 79e02001f27d33b3b478324ab6fba5683413b4d9 e5973caebe5b9637f93a4da008d76b33b9d5ff6a 1f14665c5624bc7a502738aa8f4f2bd70a211e72 ba6eb41acb8df58f3009920f8ab8b32a3e1b764e 99f63b2b53c0e22baac045d54f502508d7150fef
We cannot bisect more!

# bad: [423a84c4f7068853974887d98442bc2a2d0cc91b] source-hash-c15927f20d4727c3b8de68497b6949e72f9e6e9e
# good: [65fd30f5cb4cdd37995a33420ed8273c0a29bf00] source-hash-d6cde02dbce8c28c6af836e2dc1120f8a6ef9932
git bisect start 'latest' 'oldest'
# bad: [e02439a3d6297a1f5334fa558ddec5ef4212c574] source-hash-6b8393474974d2af7a2cb3c47b3d5c081b550bdb
git bisect bad e02439a3d6297a1f5334fa558ddec5ef4212c574
# good: [8f4aeaad2f65d656328a451154142bb82efa4327] source-hash-1885266f274575327cdeee9852945a3e91f32f15
git bisect good 8f4aeaad2f65d656328a451154142bb82efa4327
# bad: [9995fae0d8a24ce31bcb5e9cd0459b69cfbf7a02] source-hash-8600bc24bbc9029e92bea6102bff2921bc10b33e
git bisect bad 9995fae0d8a24ce31bcb5e9cd0459b69cfbf7a02
# good: [51b63dca7427db64929ae1885d7cf1cc7eb0ba28] source-hash-806d18ae7b8c241fe90e49d3d370306769c50a10
git bisect good 51b63dca7427db64929ae1885d7cf1cc7eb0ba28
# bad: [d65a58c31c8da044ef66ae4517fa2fe74cec0019] source-hash-2e053cf5ea4d93a2e1845e795a9c7fe1e08c84af
git bisect bad d65a58c31c8da044ef66ae4517fa2fe74cec0019
# skip: [79e02001f27d33b3b478324ab6fba5683413b4d9] source-hash-b6c016da23d309b4ac7d154bc33a22397974ed73
git bisect skip 79e02001f27d33b3b478324ab6fba5683413b4d9
# skip: [1f14665c5624bc7a502738aa8f4f2bd70a211e72] source-hash-d85fd8a85501547d5bb87822d2589a07aed7f2d6
git bisect skip 1f14665c5624bc7a502738aa8f4f2bd70a211e72
# skip: [ba6eb41acb8df58f3009920f8ab8b32a3e1b764e] source-hash-ae4e4a11d4300f7448cb6bd170fcb034542caddc
git bisect skip ba6eb41acb8df58f3009920f8ab8b32a3e1b764e
# skip: [46f9a799a00ba869957d7aa7650cae7fd2501394] source-hash-a43a76cd5aa2f145f2cb43fcdbc8f21fb6c89af0
git bisect skip 46f9a799a00ba869957d7aa7650cae7fd2501394
# skip: [e5973caebe5b9637f93a4da008d76b33b9d5ff6a] source-hash-683758efb22d08a4cf211a6d985148f513da2a90
git bisect skip e5973caebe5b9637f93a4da008d76b33b9d5ff6a
# bad: [99f63b2b53c0e22baac045d54f502508d7150fef] source-hash-d38a2e3ea04d354492df18aa16d2304babe87dfb
git bisect bad 99f63b2b53c0e22baac045d54f502508d7150fef
# skip: [7fd8bdb3b18f50ea0adbc0a5e611f6a844b23189] source-hash-a1ac2538e9b287444500618ab4d2f0f06c25cf34
git bisect skip 7fd8bdb3b18f50ea0adbc0a5e611f6a844b23189
# skip: [221bf5c0db153e24c67ff29fe614af7cc010a356] source-hash-9210b95bcfd65ae558f445666d9b880e794d4c74
git bisect skip 221bf5c0db153e24c67ff29fe614af7cc010a356
# skip: [d73160956706b297f4a7043d35e229f2e8566d5f] source-hash-44b96a2fce52b6e3e683dc917fab219cf75001db
git bisect skip d73160956706b297f4a7043d35e229f2e8566d5f
# skip: [a67b874d60de1f1a44bef57a53a7b8a84db0ba58] source-hash-19f4ebd8a54da0ae03b9cc8481613e5cd20ee1e7
git bisect skip a67b874d60de1f1a44bef57a53a7b8a84db0ba58
# skip: [183a576d94de9a9439d580c8b81f335ab57cdbdc] source-hash-a599f5b4b51848e3b397d471c9d12b373caadcef
git bisect skip 183a576d94de9a9439d580c8b81f335ab57cdbdc
# good: [fae90325861bbddd2af90937d29d91637c96661a] source-hash-4316e643ef345b0f673b4a03a80a4b7cb3185588
git bisect good fae90325861bbddd2af90937d29d91637c96661a
# only skipped commits left to test
# possible first bad commit: [99f63b2b53c0e22baac045d54f502508d7150fef] source-hash-d38a2e3ea04d354492df18aa16d2304babe87dfb
# possible first bad commit: [1f14665c5624bc7a502738aa8f4f2bd70a211e72] source-hash-d85fd8a85501547d5bb87822d2589a07aed7f2d6
# possible first bad commit: [79e02001f27d33b3b478324ab6fba5683413b4d9] source-hash-b6c016da23d309b4ac7d154bc33a22397974ed73
# possible first bad commit: [221bf5c0db153e24c67ff29fe614af7cc010a356] source-hash-9210b95bcfd65ae558f445666d9b880e794d4c74
# possible first bad commit: [46f9a799a00ba869957d7aa7650cae7fd2501394] source-hash-a43a76cd5aa2f145f2cb43fcdbc8f21fb6c89af0
# possible first bad commit: [a67b874d60de1f1a44bef57a53a7b8a84db0ba58] source-hash-19f4ebd8a54da0ae03b9cc8481613e5cd20ee1e7
# possible first bad commit: [7fd8bdb3b18f50ea0adbc0a5e611f6a844b23189] source-hash-a1ac2538e9b287444500618ab4d2f0f06c25cf34
# possible first bad commit: [d73160956706b297f4a7043d35e229f2e8566d5f] source-hash-44b96a2fce52b6e3e683dc917fab219cf75001db
# possible first bad commit: [183a576d94de9a9439d580c8b81f335ab57cdbdc] source-hash-a599f5b4b51848e3b397d471c9d12b373caadcef
# possible first bad commit: [e5973caebe5b9637f93a4da008d76b33b9d5ff6a] source-hash-683758efb22d08a4cf211a6d985148f513da2a90
# possible first bad commit: [ba6eb41acb8df58f3009920f8ab8b32a3e1b764e] source-hash-ae4e4a11d4300f7448cb6bd170fcb034542caddc
Comment 8 Matthew Francis 2014-12-06 09:37:56 UTC
*** Bug 76528 has been marked as a duplicate of this bug. ***
Comment 9 Matthew Francis 2014-12-06 09:38:41 UTC
*** Bug 80252 has been marked as a duplicate of this bug. ***
Comment 10 Matthew Francis 2015-01-22 04:11:09 UTC
From bisecting the source, commit 44cfc7cb6533d827fd2d6e586d92c61d7d7f7a70 seems most responsible for the broken slideshow rendering of Sunset et al, although it didn't work at all from that point until fixed by the later commit 024cf92581add62866544ae604ff53c89a764ace

The rendering has changed slightly at various points since then, but the essential breakage remains the same.
(with respect to Sunset, the main problems are the missing "rays" and the fact that the outer border seems to be rendered at about half the correct size)


commit 44cfc7cb6533d827fd2d6e586d92c61d7d7f7a70
Author: Michael Meeks <michael.meeks@suse.com>
Date:   Tue Oct 9 12:22:23 2012 +0100

    re-base on ALv2 code. Includes (at least) relevant parts of:
[...]

commit 024cf92581add62866544ae604ff53c89a764ace
Author: Fridrich Štrba <fridrich.strba@bluewin.ch>
Date:   Wed Nov 21 16:26:25 2012 +0100

    Package svgio
    
    Change-Id: I847e50c9dded10affaef77c51561f04412d635a
Comment 11 Matthew Francis 2015-01-22 04:12:08 UTC
Created attachment 112640 [details]
Sunset test presentation
Comment 12 Matthew Francis 2015-01-22 04:15:44 UTC
Created attachment 112642 [details]
Sample rendering from 4.4.0.2 on Linux
Comment 13 Matthew Francis 2015-01-22 04:17:15 UTC
Created attachment 112643 [details]
Sample rendering from 4.4.0.2 on Linux (presentation mode)
Comment 14 Matthew Francis 2015-01-22 05:04:56 UTC
*** Bug 77180 has been marked as a duplicate of this bug. ***
Comment 15 Matthew Francis 2015-01-22 05:22:20 UTC
*** Bug 62940 has been marked as a duplicate of this bug. ***
Comment 16 Edmund Laugasson 2015-05-24 16:05:06 UTC
Using 64-bit Linux Mint Cinnamon 17.1 with 4.0.4-040004-generic kernel
LibreOffice version: 5.0.0.0.beta1
Build ID: 0a16c3dda4150008d9be6f24cbd15ac198d116d3
Locale: et-EE (et_EE.UTF-8)

Same bug still persist. I would propose to exclude these master slides if they are problematic.
Comment 17 Edmund Laugasson 2015-05-24 16:24:11 UTC
Created attachment 115977 [details]
backtrace log in Linux using LibreOffice 5.0.0.0.beta1

Using 64-bit Linux Mint Cinnamon 17.1 with 4.0.4-040004-generic kernel
LibreOffice version: 5.0.0.0.beta1
Build ID: 0a16c3dda4150008d9be6f24cbd15ac198d116d3
Locale: et-EE (et_EE.UTF-8)

Impress is quite slow, switching to full screen will cause screen to flicker.
Comment 18 Edmund Laugasson 2015-05-24 16:25:28 UTC
Created attachment 115978 [details]
strace log in Linux with LibreOffice 5.0.0.0.beta1

Using 64-bit Linux Mint Cinnamon 17.1 with 4.0.4-040004-generic kernel
LibreOffice version: 5.0.0.0.beta1
Build ID: 0a16c3dda4150008d9be6f24cbd15ac198d116d3
Locale: et-EE (et_EE.UTF-8)

Impress is quite slow, switching to full screen will cause screen to flicker.
Comment 19 Edmund Laugasson 2015-05-24 16:29:52 UTC
During backtrace and strace in LibreOffice 5.0.0.0.beta1 I did following actions in following order:

* opened Impress
* wrote "title" as title and "some text" as text onto first slide
* switched sunset master slide
* switched full screen and back off using F5
* switched vintage master slide
* switched full screen and back off using F5
* switched metropolis master slide
* switched full screen and back off using F5
* closed Impress and LibreOffice and did not save the file
Comment 20 Pierre C 2015-09-12 08:51:43 UTC
The problem is still with LO 5.0.2.1

Sadly, as I have a large screen I must disable hardware acceleration. And these templates are still ugly, ou better said unusable.

If the bug can't be solved just delete these templates !
Comment 21 Robinson Tryon (qubit) 2015-12-13 11:09:41 UTC Comment hidden (obsolete)
Comment 22 Pierre C 2016-04-10 07:46:37 UTC
Created attachment 124226 [details]
Showinp pb with LO5.1
Comment 23 Pierre C 2016-04-10 07:48:48 UTC
Testing with LO 5.1. It's Slightly better, one can said usable.

Just some  pb on the background with metropolis and sunset as one can see on :

https://bugs.documentfoundation.org/attachment.cgi?id=124226
Comment 24 Stefan Weiberg 2016-06-21 13:57:00 UTC
Templates work fine on Gnome 16.04 with LO 5.0 and LO 5.3 Alpha. Doesn't work on Kubuntu 14.04 though.
Comment 25 Buovjaga 2016-06-21 15:53:39 UTC
(In reply to Stefan Weiberg from comment #24)
> Templates work fine on Gnome 16.04 with LO 5.0 and LO 5.3 Alpha. Doesn't
> work on Kubuntu 14.04 though.

For me, the problem with slideshow (F5) mode is still present in 5.3.
Funnily, it is much more messed up with KDE backend.. all kinds of artefacts.
With GTK3, I only see the old problems of missing gradients in metropolis and missing rays in sunset.

Arch Linux 64-bit, KDE Plasma 5
Version: 5.3.0.0.alpha0+
Build ID: c13f60e7cd18df6b0ab70289f5b91ee01e4ae126
CPU Threads: 8; OS Version: Linux 4.6; UI Render: default; 
Locale: fi-FI (fi_FI.UTF-8)
Built on June 18th 2016
Comment 26 Stefan Weiberg 2016-06-22 05:44:04 UTC
(In reply to Buovjaga from comment #25)
> For me, the problem with slideshow (F5) mode is still present in 5.3.
> Funnily, it is much more messed up with KDE backend.. all kinds of artefacts.
> With GTK3, I only see the old problems of missing gradients in metropolis
> and missing rays in sunset.
> 
> Arch Linux 64-bit, KDE Plasma 5
> Version: 5.3.0.0.alpha0+
> Build ID: c13f60e7cd18df6b0ab70289f5b91ee01e4ae126
> CPU Threads: 8; OS Version: Linux 4.6; UI Render: default; 
> Locale: fi-FI (fi_FI.UTF-8)
> Built on June 18th 2016

Are you using Wayland or X11 as backend for your sessions?
Comment 27 Buovjaga 2016-06-22 07:01:27 UTC
(In reply to Stefan Weiberg from comment #26)
> Are you using Wayland or X11 as backend for your sessions?

X11.

Note that this has been reproducible in all platforms, Win + OS X as well.

Severity is not major, though, as this is not about a crash..
Comment 28 Stefan Weiberg 2016-06-22 08:23:31 UTC
(In reply to Buovjaga from comment #27)
> (In reply to Stefan Weiberg from comment #26)
> > Are you using Wayland or X11 as backend for your sessions?
> 
> X11.
> 
> Note that this has been reproducible in all platforms, Win + OS X as well.
> 
> Severity is not major, though, as this is not about a crash..

Argh, forget my comment 24 about a successful run on Gnome. I just remembered that I use Gnome only as a backend and the window manager itself is i3 :D So it does run on i3 with gdm backend. This bug was reported at LHM as well. Therefore I wanted to take a look into the matter as it does affect several of our users. I will test it on several boxes to check if it is dependant on specific hardware/software.
Comment 29 Xisco Faulí 2016-09-26 15:29:11 UTC
Adding Cc: to Michael Meeks
Comment 30 QA Administrators 2017-10-23 14:10:38 UTC Comment hidden (obsolete)
Comment 31 Buovjaga 2018-07-06 19:20:03 UTC
(In reply to Buovjaga from comment #6)
> Metropolis: the gradient of the rays does not work in f5 mode.
> Sunset: The rays do not appear at all in f5 mode.

Still repro.

Arch Linux 64-bit
Version: 6.2.0.0.alpha0+
Build ID: ea39c41fdf63191579d25f327db81db14862251c
CPU threads: 8; OS: Linux 4.17; UI render: default; VCL: gtk3; 
Locale: fi-FI (fi_FI.UTF-8); Calc: group threaded
Built on July 4th 2018
Comment 32 QA Administrators 2019-07-07 03:39:32 UTC Comment hidden (obsolete)
Comment 33 Buovjaga 2019-07-07 06:16:06 UTC
(In reply to Buovjaga from comment #6)
> Vintage ok.
> Metropolis: the gradient of the rays does not work in f5 mode.
> Sunset: The rays do not appear at all in f5 mode.

Still repro. Please do not close this without testing.

Arch Linux 64-bit
Version: 6.4.0.0.alpha0+
Build ID: e553b3698f6d8f4f606ebe21ed9857ee09f0c057
CPU threads: 8; OS: Linux 5.1; UI render: default; VCL: gtk3; 
Locale: fi-FI (fi_FI.UTF-8); UI-Language: en-US
Calc: threaded
Built on 5 July 2019
Comment 34 Justin L 2021-01-13 09:05:27 UTC
repro 7.2+.  Enterprise looked fine to me, but with sunset, the sun and the rays are clearly missing altogether.
Version: 7.2.0.0.alpha0+
Build ID: 861ba4a8288ef235395f39ba78dbc0640c9367fb
CPU threads: 4; OS: Linux 5.4; UI render: default; VCL: gtk3
Locale: en-US (en_US.UTF-8); UI: en-US
Calc: threaded
Comment 35 Alexander Wilms 2021-02-05 17:02:18 UTC
Should the SVG backgrounds simply be replaced with PNGs?
Comment 36 Edmund Laugasson 2021-02-05 17:22:25 UTC Comment hidden (obsolete)
Comment 37 Edmund Laugasson 2021-02-05 17:22:45 UTC Comment hidden (obsolete)
Comment 38 Laurent Balland 2021-02-05 18:15:30 UTC
 I updated Sunset template to fix bug 132771 with commit:
https://gerrit.libreoffice.org/94014

Sun rays look correct in master page. I do not know what is broken exactly. I will try to have a look more closely. However, Impress, Sunset, Lush Green, Alizarin, Bright Blue and Classy Red templates are planed to be removed in 7.2 and replace by new templates from Indonesian contributors. See bug 138097.
Comment 39 Laurent Balland 2021-02-05 18:34:09 UTC
Sun rays are correctly rendered in presentation mode.
Comment 40 Laurent Balland 2021-02-21 18:00:04 UTC
Actually, Sunset template suffers from a regression introduced between 7.0.1.2 and 7.0.2.1. In 7.0.1.2, slide is rendered the same way in normal mode, master page and slideshow: sun rays have a high transparency level to just make them slightly appear. From 7.0.2.1, sun rays transparency is broken only in normal mode: master page and slideshow are ok.
Comment 41 Buovjaga 2021-02-22 16:13:21 UTC
(In reply to Laurent BP from comment #40)
> Actually, Sunset template suffers from a regression introduced between
> 7.0.1.2 and 7.0.2.1. In 7.0.1.2, slide is rendered the same way in normal
> mode, master page and slideshow: sun rays have a high transparency level to
> just make them slightly appear. From 7.0.2.1, sun rays transparency is
> broken only in normal mode: master page and slideshow are ok.

Heiko recently removed Sunset completely, so I guess that is the end of it:
https://git.libreoffice.org/core/+/ce4429f07e02d80ec131fdfc442d7668e7cfffca%5E%21
Comment 42 Buovjaga 2021-02-23 13:50:14 UTC
(In reply to Buovjaga from comment #6)
> Metropolis: the gradient of the rays does not work in f5 mode.

Now this final problem is gone, so I will close.

Arch Linux 64-bit
Version: 7.2.0.0.alpha0+ / LibreOffice Community
Build ID: dec32864a61104001cb6ff63c218ea5fb2a7ab1e
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 22 February 2021