Summary: | Distribution logo looks pixelated when I change display scale | ||
---|---|---|---|
Product: | [Applications] kinfocenter | Reporter: | Patrick Silva <bugseforuns> |
Component: | Info | Assignee: | David Hubner <hubn3rd> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | arojas, nate, simonandric5 |
Priority: | NOR | ||
Version: | 5.11.5 | ||
Target Milestone: | --- | ||
Platform: | Arch Linux | ||
OS: | Linux | ||
See Also: |
https://bugs.kde.org/show_bug.cgi?id=388253 https://bugs.kde.org/show_bug.cgi?id=390903 |
||
Latest Commit: | https://commits.kde.org/kinfocenter/fdd2fc881157c21fd8a7eb3b8b5b0867b3f24c4e | Version Fixed In: | |
Sentry Crash Report: | |||
Attachments: |
Logo with rendering artifacts in HiDPI mode
Arch logo pixelated in kinfocenter 5.12.3 Arch logo shown by PhotoQt viewer |
Description
Patrick Silva
2018-01-06 22:14:20 UTC
Created attachment 109714 [details]
Logo with rendering artifacts in HiDPI mode
Looks like the same thing we see in Discover: https://bugs.kde.org/show_bug.cgi?id=388253 Turns out this is just what it looks when Qt tries to scale up a too-small image. Talk to the Arch folks and ask them to provide a larger image! from my report in Arch tracker "Not a packaging issue, we provide a SVG logo and the same happens with the Plasma logo if you remove ours." Maybe KInfoCenter needs to set AA_EnableHighDpiScaling? Mm, could be. Thanks for the clue, Christoph. That was part of it! The pixmap itself also had to be adjusted for the screen DPI. Here's a patch: https://phabricator.kde.org/D10357 Thanks for your persistence on this, Dr. Chapatin. Also, you might ask the Arch folks to provide a more square logo for KInfoCenter so the window doesn't have to be a zillion pixels wide to accommodate it! Git commit 82e64226c2e628aab2afdcefdadf0246a59f1b71 by Nathaniel Graham. Committed on 07/02/2018 at 14:08. Pushed by ngraham into branch 'Plasma/5.12'. Show high-resolution and vector logos properly in HighDPI mode Summary: Take the device pixel ratio into consideration when rendering the logo, so it looks nice in HighDPI mode. Test Plan: Tested in NDE Neon with the standard Plasma logo, which is an SVG. Before: After: Reviewers: #plasma Subscribers: cfeck, plasma-devel Tags: #plasma Differential Revision: https://phabricator.kde.org/D10357 M +1 -0 main.cpp https://commits.kde.org/kinfocenter/82e64226c2e628aab2afdcefdadf0246a59f1b71 Git commit fdd2fc881157c21fd8a7eb3b8b5b0867b3f24c4e by Nathaniel Graham. Committed on 07/02/2018 at 14:02. Pushed by ngraham into branch 'master'. Show high-resolution and vector logos properly in HighDPI mode Summary: Take the device pixel ratio into consideration when rendering the logo, so it looks nice in HighDPI mode. Test Plan: Tested in NDE Neon with the standard Plasma logo, which is an SVG. Before: After: Reviewers: #plasma Subscribers: cfeck, plasma-devel Tags: #plasma Differential Revision: https://phabricator.kde.org/D10357 M +1 -0 main.cpp https://commits.kde.org/kinfocenter/fdd2fc881157c21fd8a7eb3b8b5b0867b3f24c4e Created attachment 111300 [details]
Arch logo pixelated in kinfocenter 5.12.3
Phabricator link says "FIXED-IN 5.12.1".
However Arch logo is still pixelated in kinfocenter 5.12.3.
See screenshot.
`grep LogoPath /etc/xdg/kcm-about-distrorc` should print out a path. Can you open up the image at that path and verify that it's actually a scalable SVG image or a HiDPI raster image? Created attachment 111311 [details]
Arch logo shown by PhotoQt viewer
(In reply to Dr. Chapatin from comment #10) > Created attachment 111300 [details] > Arch logo pixelated in kinfocenter 5.12.3 > > Phabricator link says "FIXED-IN 5.12.1". > However Arch logo is still pixelated in kinfocenter 5.12.3. > See screenshot. Looks alright here. Tried deleting the cache? Hi Antonio How can I delete the cache? (In reply to Dr. Chapatin from comment #14) > Hi Antonio > How can I delete the cache? rm -r ~/.cache/kinfocenter/qmlcache/ (In reply to Antonio Rojas from comment #15) > (In reply to Dr. Chapatin from comment #14) > > Hi Antonio > > How can I delete the cache? > > rm -r ~/.cache/kinfocenter/qmlcache/ Thanks. However ~/.cache/kinfocenter/qmlcache/ is not available on my system. |