Created attachment 166351 [details]
.svg image to reproduce the problem
Steps to reproduce:
- open a new document in writer
- insert the attached .svg image
=> the image appears blurry.
It appears correctly in LO 6.4.6, so this is a regression in 7.0
I can't reproduce it in
Build ID: 0b3ff97d7d5a1e8471e494f4141165364203c192
CPU threads: 4; OS: Linux 5.7; UI render: default; VCL: gtk3
Locale: en-US (en_US.UTF-8); UI: en-US
Could you please attach a screenshot a paste the information from Help - About LibreOffice ?
Created attachment 166354 [details]
.png screenshot of writer with the .svg file inserted
My version of LO is:
Build ID: 8349ace3c3162073abd90d81fd06dcfb6b36b994
CPU threads: 8; OS: Linux 5.8; UI render: default; VCL: gtk3
Locale: fr-FR (fr_FR.UTF-8); UI: en-US
I use debian 11 with wayland, and I have a 4k screen (with 200% scaling), so maybe this is related.
I have tested that the file does not appear blurry when using a scaling of 100%.
So it seems something has changed in 7.0 with respect to the scaling of 4k screens.
[Automated Action] NeedInfo-To-Unconfirmed
See bug 130678 and bug 133066 if this is a duplicate.
@Timur: no, I don't think it is a dup of bug 130678 or bug 133066.
These former bugs happened already with 6.4 and concern the icons.
This new bug is 7.0-only and happens with in-document svg images.
BTW, I checked that the problem also happens on X11, on writer, impress and calc.
I just checked that this problem still show up in LO 7.0.3 and 7.1.0-beta1.
For me this problem is a bit unfortunate, since I work on 4k screens and I have to stay on the 6.4 version for this reason.
(In reply to Frederic Parrenin from comment #8)
> I just checked that this problem still show up in LO 7.0.3 and 7.1.0-beta1.
> For me this problem is a bit unfortunate, since I work on 4k screens and I
> have to stay on the 6.4 version for this reason.
Does this appimage work for you: https://libreoffice.soluzioniopen.com/stable/basic/LibreOffice-6.4.7-x86_64.AppImage
For me, even in 6.4.7 the svgs are blurry, although in different ways. In 6.4.7 circles looks like octagons, while in 7.0 they are anti-aliased.
Svg icons are also blurry, in the anti-aliased way.
@firstname.lastname@example.org, yes, the appimage you mentioned work for me. But this is 6.4, and my problem is with 7.0 and 7.1.
No issue on macOS
Build ID: c784b3da15102caf1022e83371863a86766e69cd
CPU threads: 4; OS: Mac OS X 10.12.6; UI render: default; VCL: osx
Locale: nl-NL (nl_NL.UTF-8); UI: en-US
(In reply to Frederic Parrenin from comment #10)
> @email@example.com, yes, the appimage you mentioned work
> for me. But this is 6.4, and my problem is with 7.0 and 7.1.
Same problem for me with your appimage version of 7.1: svg images still appear blurry.
I checked that this problem is still present in 7.1.0.
It is present with or without hardware acceleration and with or without smoothing.
However, the bug does not show up in slideshow.
I checked that the bug is not present on Windows.
Frederic can you test it in LibreOffice with vcl:kde5 backend? Do you have a virtual machine with KDE?
@Roman: I am not sure how I can install the vcl:kde5 backend on my debian 11 box. I installed both kde and the libreoffice-kde5 package, but what I get is the vcl:kf5 backend when I launch libreoffice.
With the vcl:kf5 backend, there is not problem with the svg images even with a 200% scaling. It seems also that the icons in the toolbars are not blurry.
Seems like GTK3 problem
Fortunately this is fixed now, by the following commit, reverse-bibisected using repo bibisect-linux-64-7.2.
author Luboš Luňák <firstname.lastname@example.org> 2021-03-04 15:35:44 +0100
committer Luboš Luňák <email@example.com> 2021-03-08 13:46:36 +0100
"make RenderMaskPrimitive2DPixel() clip using clipping (tdf#140797)"
There's a line in the commit message referring to this aspect:
"As a side-effect this also seems to fix tdf#115843 again."
Thank you for the information @Aron.
I tested 7.1.2 and indeed, this issue seems to be fixed.
This is a great news!
However, there are other issues which are still present with 4k displays, like the blurry toolbars with svg icons (#128998), or the blurry slide sorter in Impress (#122535).
I hope these other issues will also be fixed.