[Libreoffice-bugs] [Bug 136195] New: Background bitmaps are treated differently depending on whether Skia or Hardware rendering is selected

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Thu Aug 27 16:26:56 UTC 2020


https://bugs.documentfoundation.org/show_bug.cgi?id=136195

            Bug ID: 136195
           Summary: Background bitmaps are treated differently depending
                    on whether Skia or Hardware rendering is selected
           Product: LibreOffice
           Version: 7.1.0.0.alpha0+ Master
          Hardware: All
                OS: Windows (All)
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: Draw
          Assignee: libreoffice-bugs at lists.freedesktop.org
          Reporter: mwtjunkmail at gmail.com

Description:
Setting color as a background and exporting to PNG is useless because it
creates an aliased white line top and left (which is Bug 117160).

To get around this, I use a color bitmap, and usually I can use a 10x10 pixel
square and everything's fine.

Today I've noticed that I must use a color bitmap the size of the canvas, or
nothing shows up.

The difference is hardware versus skia rendering.
In hardware rendering, a 10x10 pixel bitmap will tile, flooding the entire
canvas with that color.  

With Skia rendering, that fails. I must use a bitmap as large as the canvas.

Steps to Reproduce:
Hardware rendering:

1. Launch LO
2. Set the rendering technique in preferences to be hardware and restart LO.
3. Create a new LO Draw document (leave the dimensions default)
4. Set the margins to None
5. Import a 10x10 black (or otherwise colored) bitmap.

SKIA rendering:
1. Launch LO
2. Set the rendering technique in preferences to be Skia and restart LO.
3. Create a new LO Draw document (leave the dimensions default)
4. Set the margins to None
5. Import a 10x10 black (or otherwise colored) bitmap.

Actual Results:
With hardware rendering, the canvas floods with the bitmap because the bitmap
tiles. I like that because it keeps my file size down.

With SKIA rendering, on the other hand, that 10x10 pixel background can't even
be seen.

I must load a 1024x1024 background to get the canvas to flood.

Expected Results:
Regarding of rendering technique, the bitmap background should be treated the
same way, either tiling or not tiling, rather than forcing me to use a
different bitmap for the background just because I changed LO's rendering
technique.


Reproducible: Always


User Profile Reset: No



Additional Info:
Version: 7.1.0.0.alpha0+ (x64)
Build ID: 6640d7f405d2970ba2825a9455926cc803284d01
CPU threads: 8; OS: Windows 10.0 Build 20201; UI render: default; VCL: win
Locale: en-US (en_US); UI: en-US
Calc: CL

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20200827/3232c6f6/attachment.htm>


More information about the Libreoffice-bugs mailing list