Bug 119508 - Transparent animated images will show border lines artifacts when hardware acceleration is enabled
Summary: Transparent animated images will show border lines artifacts when hardware ac...
Status: RESOLVED WORKSFORME
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Impress (show other bugs)
Version:
(earliest affected)
5.0.0.5 release
Hardware: x86-64 (AMD64) Linux (All)
: medium minor
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: bibisected, bisected, regression
Depends on:
Blocks: Impress-Images Object-Animations
  Show dependency treegraph
 
Reported: 2018-08-26 14:33 UTC by Diogo G. Sousa
Modified: 2021-01-08 18:25 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments
presentation (42.60 KB, application/vnd.oasis.opendocument.presentation)
2018-08-26 14:34 UTC, Diogo G. Sousa
Details
screenshot with the problem (14.88 KB, image/png)
2018-08-26 14:35 UTC, Diogo G. Sousa
Details

Note You need to log in before you can comment on or make changes to this bug.
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