Bug 445759

Summary: 'Applications' section in 'Overview' is blurry
Product: [Applications] plasma-systemmonitor Reporter: strangequark <random1123581321>
Component: generalAssignee: KSysGuard Developers <ksysguard-bugs>
Status: RESOLVED FIXED    
Severity: normal CC: ahiemstra, bugs.kde.org.crewless602, checkybox, gudvinr+kde, nate, newton, plasma-bugs, putr4.s, rmallah29, variable_valuables761
Priority: NOR    
Version First Reported In: 5.23.3   
Target Milestone: ---   
Platform: Neon   
OS: Linux   
Latest Commit: Version Fixed In: 6.4.6
Sentry Crash Report:
Attachments: The 'Applications' section (widget?) has blurred text
Showing the issue with version 6.4.4
Issue on git master
Resizing system monitor

Description strangequark 2021-11-19 17:09:15 UTC
SUMMARY
The 'Applications' section in 'Overview' is blurry.

STEPS TO REPRODUCE
n/a

OBSERVED RESULT
The 'Applications' section is blurry

EXPECTED RESULT
It should be sharp like the other sections, which are fine.

SOFTWARE/OS VERSIONS
Operating System: KDE neon 5.23
KDE Plasma Version: 5.23.3
KDE Frameworks Version: 5.88.0
Qt Version: 5.15.3
Graphics Platform: X11
Graphics Processor: Mesa Intel® HD Graphics 620

ADDITIONAL INFORMATION
X11, with 112.5% scaling and custom fonts (Noto Sans SemiCondensed)
Comment 1 strangequark 2021-11-19 17:09:54 UTC
Created attachment 143738 [details]
The 'Applications' section (widget?) has blurred text
Comment 2 Nate Graham 2021-11-23 22:49:49 UTC
> X11, with 112.5% scaling and custom fonts (Noto Sans SemiCondensed)
Well, that's probably the issue.
Comment 3 strangequark 2021-11-24 13:27:31 UTC
(In reply to Nate Graham from comment #2)
> > X11, with 112.5% scaling and custom fonts (Noto Sans SemiCondensed)
> Well, that's probably the issue.

Every other section is fine, though. It appears to be just the 'Applications' section that's blurred with my custom font/scaling.
Comment 4 Arjen Hiemstra 2021-11-25 16:20:10 UTC
There's an option on columns to remove the margins, to allow the tables to stretch the full area of the card. This renders the face to a texture so that the corners that would otherwise peek outside the card can be cut off. This probably ends up rendering the face at some non-integer position when used with fractional scaling, causing the blurriness you see. I don't have an immediate solution, but maybe you can confirm that's what's happening?
Comment 5 strangequark 2021-11-26 03:41:01 UTC
(In reply to Arjen Hiemstra from comment #4)
> There's an option on columns to remove the margins, to allow the tables to
> stretch the full area of the card. This renders the face to a texture so
> that the corners that would otherwise peek outside the card can be cut off.
> This probably ends up rendering the face at some non-integer position when
> used with fractional scaling, causing the blurriness you see. I don't have
> an immediate solution, but maybe you can confirm that's what's happening?

No, this is on a fresh install of the app, and I didn't change any settings. 
I can still see the 'Remove Background Margins' option in edit mode, so I don't think it was enabled by default either.
Comment 6 Arjen Hiemstra 2024-06-07 12:32:12 UTC
Since this is a rather old report and I cannot reproduce it, I'm going to close this as fixed. If it still happens, please reopen.
Comment 7 tealdislike 2025-07-08 11:53:34 UTC
This bug occurs on 6.4.2 also. The same fix (toggling the margins) seems to make the section be not blurry.
Scaling is set to 125%, Inter font.

Operating System: EndeavourOS 
KDE Plasma Version: 6.4.2
KDE Frameworks Version: 6.15.0
Qt Version: 6.9.1
Kernel Version: 6.15.4-arch2-1 (64-bit)
Graphics Platform: Wayland
Processors: 12 × AMD Ryzen 5 PRO 4650U with Radeon Graphics
Memory: 32 GiB of RAM (30,6 GiB usable)
Graphics Processor: AMD Radeon Graphics
Manufacturer: LENOVO
Product Name: 20UD0009US
System Version: ThinkPad T14 Gen 1
Comment 8 Prajna Sariputra 2025-08-25 02:54:49 UTC
I am also seeing this issue on my Framework 13 with its 13.5 inch 2256x1504 screen, I tried 125%, 150% and 156.667% (188/120, for a scaled resolution of 1440x960) and all of them show the same blurriness, unless I disable the remove margins option for that section.

Operating System: Arch Linux 
KDE Plasma Version: 6.4.4
KDE Frameworks Version: 6.17.0
Qt Version: 6.9.1
Kernel Version: 6.16.1-arch1-1 (64-bit)
Graphics Platform: Wayland
Processors: 14 × Intel® Core™ Ultra 5 125H
Memory: 32 GiB of RAM (30.8 GiB usable)
Graphics Processor: Intel® Arc
Manufacturer: Framework
Product Name: Laptop 13 (Intel Core Ultra Series 1)
System Version: A2
Comment 9 Tobias Zwick 2025-09-15 09:15:23 UTC
Reproducible in 6.4.4 on Fedora 42 (Wayland).

Operating System: Fedora Linux 42
KDE Plasma Version: 6.4.4
KDE Frameworks Version: 6.17.0
Qt Version: 6.9.1
Kernel Version: 6.16.7-200.fc42.x86_64 (64-bit)
Graphics Platform: Wayland
Processors: 16 × AMD Ryzen 7 5700X 8-Core Processor
Memory: 32 GiB of RAM (31.3 GiB usable)
Graphics Processor: NVIDIA GeForce GTX 1660 SUPER
Comment 10 Tobias Zwick 2025-09-15 09:16:08 UTC
Created attachment 184957 [details]
Showing the issue with version 6.4.4
Comment 11 tempqd 2025-09-21 01:37:34 UTC
Created attachment 185126 [details]
Issue on git master

Can confirm on git master as well. Looks like that old weird pixelated text rendering bug again too perhaps?

> There's an option on columns to remove the margins, to allow the tables to stretch the full area of the card. This renders the face to a texture so that the corners that would otherwise peek outside the card can be cut off.

Hmm, I also notice the left edge can get a jumpy extra 1px when horizontally resizing the system monitor window. And not sure if related but this stretches the columns' widths too, so the scrollbar can't go away fully to see all columns at once.
Comment 12 Arjen Hiemstra 2025-09-24 13:40:27 UTC
*** Bug 509023 has been marked as a duplicate of this bug. ***
Comment 13 Arjen Hiemstra 2025-09-24 13:51:19 UTC
*** Bug 505846 has been marked as a duplicate of this bug. ***
Comment 14 Nate Graham 2025-09-24 14:40:58 UTC
*** Bug 505915 has been marked as a duplicate of this bug. ***
Comment 15 Bug Janitor Service 2025-09-26 08:33:37 UTC
A possibly relevant merge request was started @ https://invent.kde.org/frameworks/kirigami/-/merge_requests/1927
Comment 16 Bug Janitor Service 2025-09-26 08:42:05 UTC
A possibly relevant merge request was started @ https://invent.kde.org/plasma/plasma-systemmonitor/-/merge_requests/384
Comment 17 Arjen Hiemstra 2025-09-26 11:30:42 UTC
Git commit af6ab89b5830e83fbaaaf27462228f43767a2cb9 by Arjen Hiemstra.
Committed on 26/09/2025 at 08:27.
Pushed by ahiemstra into branch 'master'.

primitives: Use nearest texture filtering if ShadowedTexture::smooth is false

In certain cases, most prominently when using ShadowedTexture as layer
effect, it may be desirable to use nearest filtering as linear causes
blurring. Since the smooth property is intended to indicate such a
preference, make use of it to override the texture filtering mode.

M  +6    -0    src/primitives/shadowedtexture.cpp

https://invent.kde.org/frameworks/kirigami/-/commit/af6ab89b5830e83fbaaaf27462228f43767a2cb9
Comment 18 Arjen Hiemstra 2025-09-29 08:26:11 UTC
Git commit 0a0d09debdea34c52d9430cffe16096dc94abf57 by Arjen Hiemstra.
Committed on 26/09/2025 at 08:41.
Pushed by ahiemstra into branch 'master'.

page: Set smooth to false for remove margins effect

In certain cases, most notably when using fractional scaling, the
texture may end up being rendered at fractional positions. With linear
interpolation, this leads to "blurriness" of the texture. So make sure
to disable that here.

This relies on recently introduced Kirigami behaviour that makes
ShadowedTexture respect the `smooth` property.

M  +1    -0    src/page/PageContents.qml

https://invent.kde.org/plasma/plasma-systemmonitor/-/commit/0a0d09debdea34c52d9430cffe16096dc94abf57
Comment 19 Arjen Hiemstra 2025-09-29 10:49:55 UTC
Git commit 1be82750f95b76066178f1b42a0b560180ce41eb by Arjen Hiemstra.
Committed on 29/09/2025 at 10:34.
Pushed by ahiemstra into branch 'Plasma/6.5'.

page: Set smooth to false for remove margins effect

In certain cases, most notably when using fractional scaling, the
texture may end up being rendered at fractional positions. With linear
interpolation, this leads to "blurriness" of the texture. So make sure
to disable that here.

This relies on recently introduced Kirigami behaviour that makes
ShadowedTexture respect the `smooth` property.


(cherry picked from commit 0a0d09debdea34c52d9430cffe16096dc94abf57)

Co-authored-by: Arjen Hiemstra <ahiemstra@heimr.nl>

M  +1    -0    src/page/PageContents.qml

https://invent.kde.org/plasma/plasma-systemmonitor/-/commit/1be82750f95b76066178f1b42a0b560180ce41eb
Comment 20 Arjen Hiemstra 2025-09-29 14:22:04 UTC
Git commit 33fd6828f806426da1c0f5bbefbe569bdc80dc45 by Arjen Hiemstra.
Committed on 29/09/2025 at 10:47.
Pushed by ahiemstra into branch 'Plasma/6.4'.

page: Set smooth to false for remove margins effect

In certain cases, most notably when using fractional scaling, the
texture may end up being rendered at fractional positions. With linear
interpolation, this leads to "blurriness" of the texture. So make sure
to disable that here.

This relies on recently introduced Kirigami behaviour that makes
ShadowedTexture respect the `smooth` property.


(cherry picked from commit 0a0d09debdea34c52d9430cffe16096dc94abf57)

Co-authored-by: Arjen Hiemstra <ahiemstra@heimr.nl>

M  +1    -0    src/page/PageContents.qml

https://invent.kde.org/plasma/plasma-systemmonitor/-/commit/33fd6828f806426da1c0f5bbefbe569bdc80dc45
Comment 21 tempqd 2025-10-01 03:26:18 UTC
Created attachment 185411 [details]
Resizing system monitor

Nice, thanks! The blur is indeed gone.

The text can still be pixelated at certain widths though, video attached.