Created attachment 175115 [details] test document To reproduce: - open attached document in LibreOffice Writer - rightclick image - rotate by 90 degrees - observe how the colors of the image change Arch Linux, x86_64, LibreOffice Community 7.2.1-2
Created attachment 175116 [details] Screenshot depicting the problem
No repro using Version: 7.2.1.2 (x64) / LibreOffice Community Build ID: 87b77fad49947c1441b67c559c339af8f3517e22 CPU threads: 12; OS: Windows 10.0 Build 19043; UI render: default; VCL: win Locale: ru-RU (ru_RU); UI: en-US Calc: CL and also no repro using Version: 7.2.1.2 (x64) / LibreOffice Community Build ID: 87b77fad49947c1441b67c559c339af8f3517e22 CPU threads: 12; OS: Windows 10.0 Build 19043; UI render: Skia/Raster; VCL: win Locale: ru-RU (ru_RU); UI: en-US Calc: CL
Just for the record, on pc Debian x86-64 with master sources updated today, I don't reproduce this gtk3, gen and kf5 rendering.
Created attachment 175117 [details] short video showing the issue
(In reply to Jozef Riha from comment #4) The problem is described clearly in comment 0, there is no need to "prove" it. The question is: under which circumstances it happens. And here the important piece is full details from Help->About; also maybe important to describe the details about your system (the version of the OS, and the desktop environment you use; also possibly video HW).
Help -> About ------------- Version: 7.2.1.2 / LibreOffice Community Build ID: 20(Build:2) CPU threads: 12; OS: Linux 5.14; UI render: default; VCL: qt5 (qfont+xcb) Locale: en-US (C); UI: en-US 7.2.1-2 Calc: threaded Distribution information ------------------------ Arch Linux x86_64, rolling libreoffice-fresh (official distribution package) 7.2.1-2 xorg-server 1.20.13-2, gtk3 1:3.24.30-2, qt5-base 5.15.2+kde+r224-1 Gnome 40.4.0, X11 HW -- GPU: Nvidia GeForce GTX 980 Ti/PCIe/SSE2 w/ proprietary Nvidia driver (nvidia 470.63.01-11)
This appears to be a distribution build. Does this also happen with a TDF build? There different Linux portable builds available. Like an appimage: https://www.libreoffice.org/download/appimage/
I can reproduce this with AppImage version 7.2.0.4.
[Automated Action] NeedInfo-To-Unconfirmed
No repo using Version: 7.3.0.0.alpha0+ / LibreOffice Community Build ID: 20f064c1d4d2788edbd4ed7303cf1fcc4f817be4 CPU threads: 4; OS: Linux 5.11; UI render: default; VCL: gtk3 Locale: en-IN (en_IN); UI: en-US TinderBox: Linux-rpm_deb-x86_64@86-TDF, Branch:master, Time: 2021-09-12_10:33:12 Calc: threaded
(In reply to Jozef Riha from comment #6) > Help -> About > ------------- > Version: 7.2.1.2 / LibreOffice Community > Build ID: 20(Build:2) > CPU threads: 12; OS: Linux 5.14; UI render: default; VCL: qt5 (qfont+xcb) > Locale: en-US (C); UI: en-US > 7.2.1-2 > Calc: threaded I see you are using the qt5 UI backend, which is unusual and not recommended. Do you also see the problem when launching with either of these: SAL_USE_VCLPLUGIN=gtk3 libreoffice SAL_USE_VCLPLUGIN=kf5 libreoffice
> SAL_USE_VCLPLUGIN=gtk3 libreoffice > SAL_USE_VCLPLUGIN=kf5 libreoffice The problem disappears with the env. variable set to either of the values above. So it looks like qt5-related issue.
(In reply to Jozef Riha from comment #12) > > SAL_USE_VCLPLUGIN=gtk3 libreoffice > > SAL_USE_VCLPLUGIN=kf5 libreoffice > > The problem disappears with the env. variable set to either of the values > above. So it looks like qt5-related issue. Great, thanks for testing. Could you try one more final test with qt5: SAL_VCL_QT5_USE_CAIRO=1 libreoffice Perhaps telling qt5 to use Cairo will make the problem go away.
> SAL_VCL_QT5_USE_CAIRO=1 libreoffice This worked as well. QT5 + Cairo = colors are unchanged.
I repro with Version: 7.3.0.0.alpha0+ / LibreOffice Community Build ID: 057a74c2f20256c34e97dae246e6e1867a364b84 CPU threads: 8; OS: Linux 5.14; UI render: default; VCL: qt5 (qfont+xcb) Locale: fi-FI (fi_FI.UTF-8); UI: en-US Calc: threaded
Jan-Marek Glogowski committed a patch related to this issue. It has been pushed to "master": https://git.libreoffice.org/core/commit/6959a18d1a8fea4d65498083dc3ba05f640d0f39 tdf#144601 Qt fix creating QImage with alpha mask It will be available in 7.4.0. The patch should be included in the daily builds available at https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: https://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback.
Jan-Marek Glogowski committed a patch related to this issue. It has been pushed to "libreoffice-7-3": https://git.libreoffice.org/core/commit/5758469c11fbe199f0136941f9ffc8c29815f562 tdf#144601 Qt fix creating QImage with alpha mask It will be available in 7.3.5. The patch should be included in the daily builds available at https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: https://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback.