Bug 133254 - Image is blurry/displaced/wrong size in a .pub/.odg document
Summary: Image is blurry/displaced/wrong size in a .pub/.odg document
Status: RESOLVED DUPLICATE of bug 133215
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: graphics stack (show other bugs)
Version:
(earliest affected)
7.0.0.0.alpha1+
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: bibisected, bisected, regression
Depends on:
Blocks: Skia
  Show dependency treegraph
 
Reported: 2020-05-21 23:37 UTC by Aron Budea
Modified: 2020-05-22 12:34 UTC (History)
3 users (show)

See Also:
Crash report or crash signature:


Attachments
Sample ODG (2.56 MB, application/vnd.oasis.opendocument.graphics)
2020-05-21 23:37 UTC, Aron Budea
Details
Screenshot (135.19 KB, image/png)
2020-05-21 23:38 UTC, Aron Budea
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Aron Budea 2020-05-21 23:37:27 UTC
Created attachment 161105 [details]
Sample ODG

This is a skia bug, thus it can be reproduced in Windows, or via the gen backend in Linux. No issue when not using skia.

The attached ODG was created by saving attachment 99486 [details] (an MS Publisher file) from bug 69080 as ODG. The format is irrelevant, but the PUB file requires bug 122660's fix to open correctly.

Open the sample, and check the image on the second page.

=> The image is blurry, and possibly incorrectly placed/sized (depending on the zoom level).

This is a regression, even when using the skia backend, as it was fine ~2 weeks ago, and exhibits both issues in LO 7.0.0.0.alpha1+ (7daab7859f3b5b4297c45ac1631c68387192a962).
It regressed in two steps, bibisected using repo bibisect-linux-64-6.5. Adding CC: to Luboš Luňák.

1. Image is blurry.

https://cgit.freedesktop.org/libreoffice/core/commit/?id=fc0bff85f3338cb4fe8f4d42421cb69801cb3abb
author		Luboš Luňák <l.lunak@collabora.com>	2020-05-13 13:08:00 +0200
committer	Luboš Luňák <l.lunak@collabora.com>	2020-05-14 11:57:30 +0200

cache results of Skia's drawTransformedBitmap() (tdf#132438)

2. Image isn't placed/sized correctly.

https://cgit.freedesktop.org/libreoffice/core/commit/?id=1b5bd34d8430690b19fae0d0febfd810b9525ca2
author		Luboš Luňák <l.lunak@collabora.com>	2020-05-13 19:25:15 +0200
committer	Luboš Luňák <l.lunak@collabora.com>	2020-05-14 11:57:49 +0200

cache Skia' drawAlphaBitmap() in raster mode (tdf#104878)
Comment 1 Aron Budea 2020-05-21 23:38:56 UTC
Created attachment 161106 [details]
Screenshot
Comment 2 Luboš Luňák 2020-05-22 12:34:15 UTC

*** This bug has been marked as a duplicate of bug 133215 ***