Bug 119508

Summary: Transparent animated images will show border lines artifacts when hardware acceleration is enabled
Product: LibreOffice Reporter: Diogo G. Sousa <diogogsousa>
Component: ImpressAssignee: Not Assigned <libreoffice-bugs>
Status: RESOLVED WORKSFORME    
Severity: minor CC: caolan.mcnamara, ilmari.lauhakangas
Priority: medium Keywords: bibisected, bisected, regression
Version: 5.0.0.5 release   
Hardware: x86-64 (AMD64)   
OS: Linux (All)   
Whiteboard:
Crash report or crash signature: Regression By:
Bug Depends on:    
Bug Blocks: 104238, 109362    
Attachments: presentation
screenshot with the problem

Description Diogo G. Sousa 2018-08-26 14:33:51 UTC
Description:
When an image with transparency is animated (e.g. with an Appear) the right and bottom lines of the box around the image will be transparent, cutting through, for instance, text that is below it.  See example attach.

Note that this only happens with hardware acceleration enabled.


Steps to Reproduce:
Open the presentation attached.

1. Make sure you have hardware acceleration enabled.
2. Open attached presentation.
3. Enter presentation mode.
4. Click to trigger animation.


Actual Results:
Bottom and right borders of the image are transparent wrt underlying text.

Expected Results:
Frame should be correctly painted.


Reproducible: Always


User Profile Reset: No


OpenGL enabled: Yes

Additional Info:
Comment 1 Diogo G. Sousa 2018-08-26 14:34:57 UTC
Created attachment 144454 [details]
presentation
Comment 2 Diogo G. Sousa 2018-08-26 14:35:30 UTC
Created attachment 144455 [details]
screenshot with the problem
Comment 3 Buovjaga 2018-09-20 11:14:25 UTC
Bisected on Ubuntu 14.04 with 50max to https://cgit.freedesktop.org/libreoffice/core/commit/?id=94d935eecbba0161de2616c2234b4a5d9d3cad88
Resolves: fdo#87242 reuse vcl clip for cairo during animations

Adding Cc: to Caolán McNamara
Comment 4 QA Administrators 2021-01-08 04:18:57 UTC Comment hidden (obsolete)
Comment 5 Diogo G. Sousa 2021-01-08 18:07:32 UTC
It seems to work now on my setup:

Version: 7.0.4.2
Build ID: 00(Build:2)
CPU threads: 12; OS: Linux 5.10; UI render: default; VCL: gtk3
Locale: en-US (en_US.UTF-8); UI: en-US
7.0.4-3
Calc: threaded
Comment 6 Buovjaga 2021-01-08 18:25:53 UTC
(In reply to Diogo G. Sousa from comment #5)
> It seems to work now on my setup:
> 
> Version: 7.0.4.2
> Build ID: 00(Build:2)
> CPU threads: 12; OS: Linux 5.10; UI render: default; VCL: gtk3
> Locale: en-US (en_US.UTF-8); UI: en-US
> 7.0.4-3
> Calc: threaded

Works for me too

Arch Linux 64-bit
Version: 7.2.0.0.alpha0+
Build ID: e27be8cf095d0a71866d2a415e958ee599c6b360
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 8 January 2021