Pixeled icons with LibreOffice 5.1.6.2 on HiDPI/4K display
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
LibreOffice |
Confirmed
|
Wishlist
|
|||
libreoffice (Ubuntu) |
Confirmed
|
Wishlist
|
Unassigned |
Bug Description
LibreOffice 5.1.6.2 shipped with Ubuntu 16.04.3 LTS shows pixeled icons on a HiDPI/4K monitor like used in the Dell XPS 13 9360.
In Document Foundation Bugzilla #115439, Bugzilla2-r (bugzilla2-r) wrote : | #6 |
In Document Foundation Bugzilla #115439, andreas_kainz (kainz-a) wrote : | #7 |
Hi
I know that libreoffice can use svg icons but the rendering is bad. So if you tell me that the svg rendering work well this is awesome. I will test it.
In the past only the breeze icon theme was available in svg so it wasn't to important to force the svg bug for me.
For 6.0 I update the elementary icon theme and with 6.1 an additional icon theme will be ready and available in svg.
Thanks for the feedback and please test as much as possible.
In Document Foundation Bugzilla #115439, andreas_kainz (kainz-a) wrote : | #8 |
It would be really awesome if the svg support would work perfect but we are not there. As long as the png files look better they have to be generated.
In windows the svg support is better than on linux fyi, but also not perfect.
If needed I can upload the breeze_svg and elementary_svg icon theme to the extension webpage.
In Document Foundation Bugzilla #115439, Heiko-tietze-g (heiko-tietze-g) wrote : | #9 |
There are still a few issues but there is light at the end of the tunnel http://
In Document Foundation Bugzilla #115439, Bugzilla2-r (bugzilla2-r) wrote : | #10 |
Well, for me (on Windows) the SVG Rendering was perfect, but I tested only a few Icons that were available in the Tango-Set (I only deleted the PNGs where SVG where present). So, absolutely possible, that some icons don't render right, when there are attributes missing in the SVG.
But if a patch already exists, and only needs testing, Icon Sets could soon be delivered in SVG at least on Windows :)
PS: Does anybody have a link to Tango Icon Set in SVG? Would be interesting to see how many icons really are broken...
In Document Foundation Bugzilla #115439, andreas_kainz (kainz-a) wrote : | #11 |
Tested the svg icon theme on linux work really good for me. In Virtualbox I had problem on a linux guest system. don't know why.
When I have time I'll upload the svg icon themes to the extension webpage.
In Document Foundation Bugzilla #115439, andreas_kainz (kainz-a) wrote : | #12 |
(In reply to andreas_k from comment #5)
wrong icon theme the rendering on linux is way not perfect.
In Document Foundation Bugzilla #115439, Quikee (quikee) wrote : | #13 |
Yes, gtk3 backend has issues (because we use his way of doing HiDPI), which I know how to resolve (already did a proof-of-concept) but I need some spare time to implement it properly. The issue is described in ESC minutes...
In Document Foundation Bugzilla #115439, Ilmari-lauhakangas (ilmari-lauhakangas) wrote : | #14 |
*** Bug 115912 has been marked as a duplicate of this bug. ***
In Document Foundation Bugzilla #115439, Ilmari-lauhakangas (ilmari-lauhakangas) wrote : | #15 |
*** Bug 105489 has been marked as a duplicate of this bug. ***
In Document Foundation Bugzilla #115439, Ilmari-lauhakangas (ilmari-lauhakangas) wrote : | #16 |
*** Bug 105778 has been marked as a duplicate of this bug. ***
In Document Foundation Bugzilla #115439, Ilmari-lauhakangas (ilmari-lauhakangas) wrote : | #17 |
*** Bug 105950 has been marked as a duplicate of this bug. ***
In Document Foundation Bugzilla #115439, Ilmari-lauhakangas (ilmari-lauhakangas) wrote : | #18 |
*** Bug 106191 has been marked as a duplicate of this bug. ***
In Document Foundation Bugzilla #115439, Ilmari-lauhakangas (ilmari-lauhakangas) wrote : | #19 |
*** Bug 106682 has been marked as a duplicate of this bug. ***
In Document Foundation Bugzilla #115439, Ilmari-lauhakangas (ilmari-lauhakangas) wrote : | #20 |
*** Bug 110356 has been marked as a duplicate of this bug. ***
In Document Foundation Bugzilla #115439, Ilmari-lauhakangas (ilmari-lauhakangas) wrote : | #21 |
*** Bug 110457 has been marked as a duplicate of this bug. ***
In Document Foundation Bugzilla #115439, Ilmari-lauhakangas (ilmari-lauhakangas) wrote : | #22 |
*** Bug 114444 has been marked as a duplicate of this bug. ***
Changed in libreoffice (Ubuntu): | |
importance: | Undecided → Wishlist |
In Document Foundation Bugzilla #115439, Xiscofauli (xiscofauli) wrote : | #23 |
Dear Tomaz Vajngerl,
This bug has been in ASSIGNED status for more than 3 months without any
activity. Resetting it to NEW.
Please assigned it back to yourself if you're still working on this.
In Document Foundation Bugzilla #115439, Ilmari-lauhakangas (ilmari-lauhakangas) wrote : | #24 |
*** Bug 117158 has been marked as a duplicate of this bug. ***
In Document Foundation Bugzilla #115439, Ilmari-lauhakangas (ilmari-lauhakangas) wrote : | #25 |
*** Bug 117846 has been marked as a duplicate of this bug. ***
In Document Foundation Bugzilla #115439, Matt (matthewkoch) wrote : | #26 |
Wasn't work just done to introduce new icons in 6.1? Would it have made sense to work this as part of that?
Is calling this an enhancement accurate? It's a bug for hi dpi screens, which are really common nowadays. I would think when the interface breaks even if not functionally broken that it's an issue from a usability perspective. I love LibreOffice, but I keep reverting back to 5.2 so that the UI isn't broken.
Olivier Tilloy (osomon) wrote : | #1 |
Sorry for the lack of feedback until now, Paul.
Which icons are we talking about? The app icons displayed in the unity dash, or the icons in the toolbars in the actual applications?
Could you please attach a screenshot to demonstrate the issue?
Also, if you get a chance, can you test a more recent version of libreoffice and report whether the problem is fixed there? You can easily install and run libreoffice 6.1.0.3 alongside any other system-wide installation like that:
sudo snap install libreoffice
snap run libreoffice
Changed in libreoffice (Ubuntu): | |
status: | New → Incomplete |
Paul Menzel (paulmenzel) wrote : Re: [Bug 1738774] Re: Pixeled icons with LibreOffice 5.1.6.2 on HiDPI/4K display | #2 |
- blurry-icons-libreoffice-6.1.0.3-snap.png Edit (200.8 KiB, image/png; name="blurry-icons-libreoffice-6.1.0.3-snap.png")
On 08/16/18 15:46, Olivier Tilloy wrote:
> Which icons are we talking about? The app icons displayed in the
> unity dash, or the icons in the toolbars in the actual applications?
I am talking about the actual application.
> Could you please attach a screenshot to demonstrate the issue?
>
> Also, if you get a chance, can you test a more recent version of
> libreoffice and report whether the problem is fixed there? You can
> easily install and run libreoffice 6.1.0.3 alongside any other
> system- wide installation like that:
>
> sudo snap install libreoffice
> snap run libreoffice
Please find the screenshot attached.
Paul Menzel (paulmenzel) wrote : | #3 |
Please also see https:/
Olivier Tilloy (osomon) wrote : | #4 |
Also related: https:/
You might want to change the title of the upstream bug report to make it clear that it's all the icons that are affected, not just checkboxes.
Changed in libreoffice (Ubuntu): | |
status: | Incomplete → Confirmed |
In Document Foundation Bugzilla #115439, Rb-henschel (rb-henschel) wrote : | #27 |
*** Bug 120851 has been marked as a duplicate of this bug. ***
In Document Foundation Bugzilla #115439, Vstuart-foote (vstuart-foote) wrote : | #28 |
*** Bug 105489 has been marked as a duplicate of this bug. ***
In Document Foundation Bugzilla #115439, Rb-henschel (rb-henschel) wrote : | #29 |
Please notice bug 121130. [Nevertheless, I support to release the svg-themes as soon as possible.]
In Document Foundation Bugzilla #115439, andreas_kainz (kainz-a) wrote : | #30 |
Definitly true but only when the renderer give us the same quality as the png one.
In Document Foundation Bugzilla #115439, Vstuart-foote (vstuart-foote) wrote : | #31 |
*** Bug 122536 has been marked as a duplicate of this bug. ***
In Document Foundation Bugzilla #115439, Vstuart-foote (vstuart-foote) wrote : | #32 |
*** Bug 123480 has been marked as a duplicate of this bug. ***
In Document Foundation Bugzilla #115439, Xiscofauli (xiscofauli) wrote : | #33 |
Changing priority to 'high' since the number of duplicates is 5 or higher
In Document Foundation Bugzilla #115439, andreas_kainz (kainz-a) wrote : | #34 |
(In reply to andreas_k from comment #24)
> Definitly true but only when the renderer give us the same quality as the
> png one.
As long as the quality didn't work, I will block the patch.
Paul Menzel (paulmenzel) wrote : | #5 |
This is still an issue, and due to HiDPI getting more and more common, Ubuntu should really look into this to give users a good experience with the setups.
In Document Foundation Bugzilla #115439, Matt (matthewkoch) wrote : | #35 |
Just updated to Version: 6.4.0.3 (x64)
Build ID: b0a288ab3d2d477
First build since tracking the blurry/poorly rendered icons on high dpi screens that I've seen the issue fixed.
On a high dpi monitor (4k), seeing every SVG icon set render as expected, nice and crisp.
Not sure if my comment belongs here or a related issue. Just wanted to share.
In Document Foundation Bugzilla #115439, Heiko-tietze-g (heiko-tietze-g) wrote : | #36 |
(In reply to Matt from comment #29)
> Not sure if my comment belongs here or a related issue.
Thanks for the feedback. SVG is indeed the future, and once we have finished the testing phase we will switch completely.
Changed in df-libreoffice: | |
importance: | Unknown → Wishlist |
status: | Unknown → Confirmed |
In Document Foundation Bugzilla #115439, Eisa01 (eisa01) wrote : | #37 |
SVG icons are rendered blurry on macOS, so adding bug #130678 as a dependency
In Document Foundation Bugzilla #115439, Carlos Pita (carlosjosepita) wrote : | #38 |
> Just updated to Version: 6.4.0.3 (x64) Build ID: b0a288ab3d2d477
> First build since tracking the blurry/poorly rendered icons on high dpi screens that I've seen the issue fixed.
Well, lucky you. I'm on Ubuntu 20.04, LO 6.4.2.2 (also tested this in Arch and Fedora 32) and SVG icons are still blurry like in barely-
In Document Foundation Bugzilla #115439, Carlos Pita (carlosjosepita) wrote : | #39 |
Created attachment 159915
Breeze SVG icons in HiDPI screen (LO 6.4.2.2 in Ubuntu 20.04/Arch/Fedora 32)
In Document Foundation Bugzilla #115439, Jan-Marek Glogowski (jmglogow) wrote : | #40 |
This is the typical chicken-egg problem: LO's SVG rasterizer / icons broken => default to PNG. Everybody uses PNG (and some complain about blocky icons in HiDPI) => nobody fixes the LO's SVG rasterizer / icons. Some more background info is in bug 133877 comment 11.
And OTOH people can manually select an SVG icon set, so the pressure to fix this isn't really high.
While the SVG icons easily look better when scaled, the PNG icons definitely look better in 100% / non-scaled in Linux.
And it also doesn't help that gtk3 always scales the rasterized icons, so you get the worse 100% SVG icons scaled to HiDPI.
In Document Foundation Bugzilla #115439, Nate-b (nate-b) wrote : | #41 |
In general I think people with high DPI screens would prefer to use SVG icons and live with or report a small number of bugs with a small number of mid-rendered icons then live with 100% of all icons being pixelated and ugly. Perhaps making the SVG renderer default only for high DPi users of SVG-compatible icon themes would make everyone happy: high DPI users get nicer icons overall, while devs get more user eyeballs (and bug reports, and potential contributors) using the SVG renderer.
FWIW all the icons look flawless to me with the Breeze SVG icon theme and a global 250% scale scale factor
In Document Foundation Bugzilla #115439, Bugzilla2-r (bugzilla2-r) wrote : | #42 |
(In reply to Jan-Marek Glogowski from comment #34)
> This is the typical chicken-egg problem: LO's SVG rasterizer / icons broken
> => default to PNG. Everybody uses PNG (and some complain about blocky icons
> in HiDPI) => nobody fixes the LO's SVG rasterizer / icons. Some more
> background info is in bug 133877 comment 11.
I totally agree on that, the main problem is the SVG Rasterizer (I guess that's the same as a SVG Renderer?). But there are plenty of free OpenSource SVG Renderers out there: Inkscape, Chromium, Firefox aso... all support SVG Rendering. Isn't it possible to use the code of those, if the LibO renderer is so hard to fix?
I know its easy to talk like that when you are not a developer, so just my two cents on that ;)
In Document Foundation Bugzilla #115439, Rizal Muttaqin (riz-17-oke) wrote : | #43 |
Just for your information. As an icon designer and mauntainer now all icon themes have SVG versions. So I would say its safe if in some point we reach perfect SVG support, than the PNG version can be removed or moved to the extension sites.
In Document Foundation Bugzilla #115439, Stéphane Guillou (stephane-guillou) wrote : | #44 |
*** Bug 131946 has been marked as a duplicate of this bug. ***
In Document Foundation Bugzilla #115439, Pmenzel+bugs-documentfoundation-org (pmenzel+bugs-documentfoundation-org) wrote : | #45 |
In Debian Sid/unstable with GNOME 3.36.4 and LibreOffice 7.0.0, I switched the icon theme from *Elementary* to *Elementary (SVG)*, and the icons still look blurry on a HiDPI monitor connected over HDMI.
In Document Foundation Bugzilla #115439, Holdmymail (holdmymail) wrote : | #46 |
Created attachment 165049
Blurry Elementary SVG toolbar icons
Blurry SVG icons with LibreOffice 7.0.0.3 on Cinnamon 4.2.4 at resolution Cinnamon 4.2.4.
In Document Foundation Bugzilla #115439, Holdmymail (holdmymail) wrote : | #47 |
(In reply to moosetrax from comment #40)
> Created attachment 165049 [details]
> Blurry Elementary SVG toolbar icons
>
> Blurry SVG icons with LibreOffice 7.0.0.3 on Cinnamon 4.2.4 at resolution
> Cinnamon 4.2.4.
Editing to provide resolution information for previous comment: 3840x2160
In Document Foundation Bugzilla #115439, roots (roots) wrote : | #48 |
Confirming blurry SVG (as well as PNG) icons.
Libreoffice 7.0.4.2
Ubuntu 20.04 Xfce4 4.16
4K-Screen@3840x2160
Xfce4 set to 2x window scaling
Probably helpful to narrow down this issue: In general, even PNG icons are rendered correctly with most applications (Firefox, Evolution, Pluma, all XFCE4 UI) - however, the same effect happens with Thunar, where replacing the XFCE4 icon theme with one using SVG also leads to blurry rendering.
In Document Foundation Bugzilla #115439, Bugzilla2-r (bugzilla2-r) wrote : | #49 |
Ok,time for an update here too :)
I use SVG-Icons quite a long time now, and for me those always look better than the png versions. I just did an comparison, and the png-version really looks terrible on an high-dpi monitor with 175% scale.
As far as I remember, SVG primarily was an issue on Linux? So can't we just make SVG default on Windows?
In Document Foundation Bugzilla #115439, Vstuart-foote (vstuart-foote) wrote : | #51 |
(In reply to bugzilla2 from comment #44)
> Ok,time for an update here too :)
> I use SVG-Icons quite a long time now, and for me those always look better
> than the png versions. I just did an comparison, and the png-version really
> looks terrible on an high-dpi monitor with 175% scale.
>
> As far as I remember, SVG primarily was an issue on Linux? So can't we just
> make SVG default on Windows?
Not at all!
There is no means currently to directly render the SVG into the GUI, meaning they will always be rendered to a bitmap and held in config (per user profile) for the display resolution in use. Look in %APPDATA%
The project deploys resolution appropriate 100% (so 96pdi) scaled PNG at three icon sizes small (sc 16x16) large (lc 24x24) and extra large (32 32x32). They are hand lay ups from the source SVG. They render correctly for most non-HDPI/
Only if your os/DE is being scaled (as response to HiDPI, or by user setting) does it make sense to use SVG. Do it manually, the automated resampling and rendering of the SVG is inferior to the system deployed PNG at the default 100%, i.e. 96dpi resolution. The mechanism for "detection" of HiDPI (and so automated use of a resampled set of SVG icons)is "thresholded" at 168 dpi.
In Document Foundation Bugzilla #115439, Vstuart-foote (vstuart-foote) wrote : | #52 |
So just need to do it manually when UI is scaled >= 175%, the automated resampling and rendering of the SVG *remains* inferior to the project's deployed PNG at the default 100%, i.e. 96dpi resolution.
When and if the project can refactor to more effectively use the SVG icon sets, the real issue here, that will change.
In Document Foundation Bugzilla #115439, Bugzilla2-r (bugzilla2-r) wrote : | #53 |
I did some comparisons between png and svg and Stuart is right, up to 150% the png looks better then the svg. But over 150% scale, the svg looks dramatically better then the png. So can't we male SVG default when scale-factor is over 150%?
Sure we can say: "you can switch it manually in Preferences", but thats not "nice" for new Users that maybe have a first look into LibreOffice (because maybe they want to change from Microsoft Office) and then say: "oh my god, that looks terrible, not thanks, I'll stick to MSO. It may take years for those ppl to make another try, if ever.
And I do believe, that there are even many longterm LibreOffice Users, that might not know that they can "fix" ugly Icons on HiDPI Monitors by swichtching Icon-Sets...
And can you explain that sentence further:
"The mechanism for "detection" of HiDPI is "thresholded" at 168 dpi."
I'm not sure what that means.
In Document Foundation Bugzilla #115439, Vstuart-foote (vstuart-foote) wrote : | #54 |
(In reply to bugzilla2 from comment #47)
> And can you explain that sentence further:
> "The mechanism for "detection" of HiDPI is "thresholded" at 168 dpi."
> I'm not sure what that means.
See the source for CountDPIScaleFa
So current thresholding is:
nDPI > 216
250 (so 2.5x)
nDPI > 168
200 (so 2.0x)
nDPI > 120
150 (so 1.5x)
otherwise
100 (or unscaled)
IIUC macOS passes usable dpi details, so does not need the mixed dpi & scale percentage.
Also the nDPI is not the actual hardware provided dpi, rather it is a calculated dpi that the os/DE is reporting--e.g. on Windows the Custom Scaling value, or with use of fractional scaling on your Linux DE.
=-ref-=
[1] https:/
In Document Foundation Bugzilla #115439, Bugzilla2-r (bugzilla2-r) wrote : | #55 |
Thanks for the explanation :)
That sounds not so bad, but LibO really should offer the same "steps" as the Host-OS (in my case Windows) does, that means 25% steps, not only 50% steps on Windows. Otherwise the Icons look to small or to big on 175% Scale for example. And not only the Icons itself, also the spaces between them (other bugs show that problem).
In Document Foundation Bugzilla #115439, Vstuart-foote (vstuart-foote) wrote : | #56 |
(In reply to bugzilla2 from comment #49)
So guess we would add additional bracketing for a 25% increment in scale factoring. Like this maybe:
nDPI > 264
300 (so 3.0x)
nDPI > 240
275 (so 2.75x)
nDPI > 216
250 (so 2.5x)
nDPI > 192
225 (so 2.25x)
nDPI > 168
200 (so 2.0x)
nDPI > 144
175 (so 1.75x)
nDPI > 120
150 (so 1.5x)
otherwise
100 (or unscaled and using the prebuilt PNG)
@Tomaž -- what do you think. Looks easy hackable, but will the current SVG to PNG resampling suffice to generate usable icon themes at the 25% increments? And any other places in the UI that 25% increments would cause problems?
In Document Foundation Bugzilla #115439, Renato S. Yamane (renatoyamane) wrote : | #57 |
Just to remember this bug was happening also at 100% scale as you can see on the Ckmment below with an screenshot:
https:/
I cannot test anymore, because I switched back to MS Office.
In Document Foundation Bugzilla #115439, Vstuart-foote (vstuart-foote) wrote : | #58 |
(In reply to Renato S. Yamane from comment #51)
> Just to remember this bug was happening also at 100% scale as you can see on
> the Ckmment below with an screenshot:
>
> https:/
>
> I cannot test anymore, because I switched back to MS Office.
That was never confirmed and in the screen clips provided the LO icons are clearly not 100% or 150% of the native FHD mode--they've been scaled poorly.
The Yoga L380 in use does have a native screen DPI of ~165dpi, so believe it does scale the PNG icons to a higher scale--look in %APPDATA%
To avoid similar on HiDPI displays close to this resolution, *simply* make a selection of an SVG based icon theme. Do not use the default PNG based icon theme.
Anyhow, the set of pre-installed non-SVG icon themes render cleanly from 100 to 150 pct scaling, starting to pixelate above 150 pct. If on a HiDPI display, or working at higher scaling 150 - 300% first use Tools -> Options -> View and switch to the bundled SVG icon sets which will then be resampled into clean PNG sized as needed.
A useful enhancement at this point might be to detect and switch from the PNG icon themes to SVG theme when at a higher scaling factor is in use--i.e. avoid scaling the PNG.
In Document Foundation Bugzilla #115439, Quikee (quikee) wrote : | #59 |
(In reply to V Stuart Foote from comment #50)
> (In reply to bugzilla2 from comment #49)
>
> So guess we would add additional bracketing for a 25% increment in scale
> factoring. Like this maybe:
>
> nDPI > 264
> 300 (so 3.0x)
> nDPI > 240
> 275 (so 2.75x)
> nDPI > 216
> 250 (so 2.5x)
> nDPI > 192
> 225 (so 2.25x)
> nDPI > 168
> 200 (so 2.0x)
> nDPI > 144
> 175 (so 1.75x)
> nDPI > 120
> 150 (so 1.5x)
> otherwise
> 100 (or unscaled and using the prebuilt PNG)
>
> @Tomaž -- what do you think. Looks easy hackable, but will the current SVG
> to PNG resampling suffice to generate usable icon themes at the 25%
> increments? And any other places in the UI that 25% increments would cause
> problems?
SVG icons shouldn't be a problem - if they are rendered properly.
In Document Foundation Bugzilla #115439, Lo-2 (lo-2) wrote : | #60 |
FYI update: SVG icons on macOS have been fixed as per https:/
Description:
In the current Icon-Sets there are already some Icons that exist in png AND svg versions. During my research for Bug 114699 I noticed, that the png versions can be deleted and LibO then uses the svg-versions of those Icons. Result is, that those Icons looks WAY better (perfectly sharp, no alias) then the upscaled png-versions.
So the question is, why does LibO still prefer the png-versions over the svg-ones?
Steps to Reproduce:
Open Writer (for example) and look at the icons.
Actual Results:
They look badly (at least on HiDPI Screns).
Expected Results:
The svg-icons should be used instead which look way better.
Reproducible: Always
User Profile Reset: No
Additional Info:
User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/ 64.0.3282. 121 Safari/537.36 Vivaldi/ 1.95.1077. 41