Description: PNG images are badly rendered when using qt5 engine. Examples: test-png-rendering.odp => Impress presentation with a PNG drawing test-gen-rendering.png => Screenshot of presentation with gen engine (PNG rendering OK) test-gtk3-rendering.png => Screenshot of presentation with gtk3 engine (PNG rendering OK) test-qt5-rendering.png => Screenshot of presentation with qt5 engine (PNG rendering KO, antialiasing problem?) This always reproducible and also happens in Writer and Draw. LibreOffice ----------- Version: 7.4.2.3 / LibreOffice Community Build ID: 40(Build:3) CPU threads: 48; OS: Linux 5.15; UI render: default; VCL: qt5 (qfont+xcb) Locale: fr-CH (fr_FR.UTF-8); UI: fr-FR Ubuntu package version: 1:7.4.2~rc3-0ubuntu0.22.04.1~lo1 Calc: threaded System ------ Ubuntu 22.04.1 LTS 64 bits For the tests, I used a fresh LibreOffice profile in a fresh user profile. Actual Results: Bad PNG rendering with qt5 engine Expected Results: Good PNG rendering with qt5 engine Reproducible: Always User Profile Reset: Yes Additional Info: --
Created attachment 184256 [details] Test presentation
Created attachment 184257 [details] Screenshot of renbdering with gen engine
Created attachment 184258 [details] Screenshot of rendering with gtk3 engine
Created attachment 184259 [details] Screenshot of rendering with qt5 engine (BAD)
The qt5 backend is still experimental and you should not be using it. You can see if running with the environment variable SAL_VCL_QT5_USE_CAIRO=1 makes a difference.
Ok, thanks for the tip. Indeed, when launching LibreOffice with: SAL_USE_VCLPLUGIN=qt5 SAL_VCL_QT5_USE_CAIRO=1 libreoffice the PNG rendering is now OK.
Thanks for testing. I think we can close. Some distributions like Lubuntu want to default to qt5 for some reason and we have repeatedly advised them to stop. They refuse to listen, unfortunately.