Bug 103824 - OpenGL Z-Order incorrect in slideshow
Summary: OpenGL Z-Order incorrect in slideshow
Status: RESOLVED FIXED
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: graphics stack (show other bugs)
Version:
(earliest affected)
5.3.0.0.alpha1+
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard: target:5.4.0 target:5.3.0.1
Keywords: bibisected, bisected, regression
Depends on:
Blocks: VCL-OpenGL
  Show dependency treegraph
 
Reported: 2016-11-10 08:21 UTC by Luke
Modified: 2017-09-17 19:47 UTC (History)
4 users (show)

See Also:
Crash report or crash signature:


Attachments
Example file with 2 images in the master slide. (780.16 KB, application/vnd.oasis.opendocument.presentation)
2016-11-10 08:23 UTC, Luke
Details
Test case with OpenGL Z issues (108.00 KB, application/vnd.oasis.opendocument.presentation)
2017-09-17 19:36 UTC, Sukender
Details
Test case with OpenGL Z issues - Rendering 1 (325.37 KB, image/png)
2017-09-17 19:46 UTC, Sukender
Details
Test case with OpenGL Z issues - Rendering 2 (78.31 KB, image/png)
2017-09-17 19:47 UTC, Sukender
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Luke 2016-11-10 08:21:45 UTC
Description:
I noticed that several slideshows are rendering incorrectly now with OpenGL. Seems to be a z-order issue.

Steps to Reproduce:
1. Make sure Tools->Options->View->"Use OpenGL for all rendering" is checked
2. Open the bug doc with a recent build of Impress
3. Start the slideshow

Actual Results:  
Grey bitmap background

Expected Results:
Black background. Same results as with OpenGL disabled. 


Reproducible: Always

User Profile Reset: No

Additional Info:
Build: a6ce5d391476e4b6a2cb2d92ff45548c1d75684b 11/3 was good
Build: f6391d9696bfa7485bf785ac81edef4d5441e232 11/9 was bad



User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/54.0.2840.87 Safari/537.36
Comment 1 Luke 2016-11-10 08:23:22 UTC
Created attachment 128638 [details]
Example file with 2 images in the master slide.
Comment 3 Xisco Faulí 2016-11-11 11:27:05 UTC
Confirmed in

Version: 5.3.0.0.alpha1+
Build ID: 60da087d7e182b58b63d4123c9bd96c82376d450
CPU Threads: 4; OS Version: Linux 4.2; UI Render: default; VCL: gtk2; Layout Engine: new; 
Locale: ca-ES (ca_ES.UTF-8); Calc: group
Comment 4 Luke 2016-11-12 08:11:29 UTC
I bisected this regression down to:

https://cgit.freedesktop.org/libreoffice/core/commit/?id=19dc288ce4a5ad7a386ff2b4208b7284d8731067

Tomaž,
Could you please take a look at this issue? This commit is also causing Bug 103820.
Comment 5 Xisco Faulí 2016-11-12 18:39:44 UTC
Adding Cc: to Tomaž Vajngerl
Comment 6 Commit Notification 2016-11-25 21:10:50 UTC
Tomaž Vajngerl committed a patch related to this issue.
It has been pushed to "master":

http://cgit.freedesktop.org/libreoffice/core/commit/?id=6d49a1bb6e2e81d001b8fdf246cb16f85eb79840

tdf#103820 & tdf#103824 fix texture refactoring mistake

It will be available in 5.4.0.

The patch should be included in the daily builds available at
http://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More
information about daily builds can be found at:
http://wiki.documentfoundation.org/Testing_Daily_Builds

Affected users are encouraged to test the fix and report feedback.
Comment 7 Commit Notification 2016-11-25 21:15:23 UTC
Tomaž Vajngerl committed a patch related to this issue.
It has been pushed to "libreoffice-5-3":

http://cgit.freedesktop.org/libreoffice/core/commit/?id=2ce21dd8b9075486f92c18ac007f61a27062ce63&h=libreoffice-5-3

tdf#103820 & tdf#103824 fix texture refactoring mistake

It will be available in 5.3.0.1.

The patch should be included in the daily builds available at
http://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More
information about daily builds can be found at:
http://wiki.documentfoundation.org/Testing_Daily_Builds

Affected users are encouraged to test the fix and report feedback.
Comment 8 Luke 2016-11-27 04:00:16 UTC
Verified FIXED in Version: 5.4.0.0.alpha0+ (x64)
Build ID: 7b250d56981f78e77454a2a3fd670731b2358e75

Thanks Tomaž!
Comment 9 Sukender 2017-09-17 19:35:32 UTC
I'm sorry but I feel like this case isn't solved. I'll give a presentation where it fails in 5.4.1.2 x64 ; please review and reopen. Steps to reproduce are the same as the initial ticket.
Comment 10 Sukender 2017-09-17 19:36:47 UTC
Created attachment 136311 [details]
Test case with OpenGL Z issues
Comment 11 Sukender 2017-09-17 19:46:54 UTC
Created attachment 136312 [details]
Test case with OpenGL Z issues - Rendering 1
Comment 12 Sukender 2017-09-17 19:47:20 UTC
Created attachment 136313 [details]
Test case with OpenGL Z issues - Rendering 2