Bug 104782 - Metafile rendering issues with antialiasing on Linux with LibO 5.2->6.1
Summary: Metafile rendering issues with antialiasing on Linux with LibO 5.2->6.1
Status: RESOLVED WORKSFORME
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Draw (show other bugs)
Version:
(earliest affected)
5.2.4.1 rc
Hardware: x86-64 (AMD64) Linux (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-12-19 14:18 UTC by Callegar
Modified: 2018-07-22 12:58 UTC (History)
1 user (show)

See Also:
Crash report or crash signature:


Attachments
Screenshot showing the issue (56.75 KB, image/png)
2016-12-19 14:18 UTC, Callegar
Details
Image to open to reproduce the issue (119.87 KB, application/pdf)
2016-12-19 14:20 UTC, Callegar
Details
sample file (620.93 KB, application/vnd.oasis.opendocument.presentation)
2018-07-21 14:12 UTC, Callegar
Details
Rendering issue with the sample file (9.20 KB, image/png)
2018-07-21 14:13 UTC, Callegar
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Callegar 2016-12-19 14:18:01 UTC
Created attachment 129778 [details]
Screenshot showing the issue

Please, check the attached image for an illustration of the rendering issues.

The problem is present in 5.2.4.1 RC 1. Seen on Linux (ubuntu 16.04 xenial) with intel graphics (haswell) and latest intel drivers. Seen with impress and draw.

Note that the issue is due to rendering and not to the image itself. In fact, the rendering artifacts change with the zoom level and disappear in presentation mode.

The issues do not go away by disabling hardware acceleration or OpenGL rendering (that is said to be always disabled anyway).

The issue goes away by disabling antialiasing.

The issue does not seem to be present in 5.3 beta 2.
Comment 1 Callegar 2016-12-19 14:20:26 UTC
Created attachment 129779 [details]
Image to open to reproduce the issue

This is a PDF image. However, the issue is not with importing the image, rather with rendering it. This is shown by the fact that the artifacts change as the zoom level is changed and disappear when the image is pasted into a presentation and shown in presentation mode.
Comment 2 Buovjaga 2016-12-19 19:28:18 UTC
I confirm and confirmed it is fixed in a newer branch. Let's close and add backportRequest and other magical utterances.
Comment 3 Callegar 2018-07-21 14:12:18 UTC
Created attachment 143673 [details]
sample file
Comment 4 Callegar 2018-07-21 14:13:07 UTC
Created attachment 143674 [details]
Rendering issue with the sample file
Comment 5 Callegar 2018-07-21 14:17:20 UTC
Reopened

the issue is still present (maybe more subtle) and has been so through the whole of LibO releases up to 6.1 that is still affected.

Even if the original test case does not anymore show the issue, the new one shows exactly the same problem. With metafiles, at some zoom factors areas of the picture that should be blank get incorrectly filled.

As before, the issue goes away by disabling antialiasing.
Comment 6 Buovjaga 2018-07-22 12:58:35 UTC
As the issue is something different, we should open a new report for it, if I can confirm.

Please, give me exact zoom percentages where you see the problem. I think I saw it on first opening with 6.0.5, but could not find the right zoom % afterwards.