Bug 510887 - User avatars are blurred, and their borders are aliased
Summary: User avatars are blurred, and their borders are aliased
Status: CONFIRMED
Alias: None
Product: systemsettings
Classification: Applications
Component: kcm_users (other bugs)
Version First Reported In: 6.4.5
Platform: Fedora RPMs Linux
: NOR minor
Target Milestone: ---
Assignee: Plasma Bugs List
URL: https://bugs.kde.org/show_bug.cgi?id=...
Keywords:
Depends on:
Blocks:
 
Reported: 2025-10-21 20:48 UTC by Roke Julian Lockhart Beedell
Modified: 2025-10-23 23:53 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments
A Screenshot Of, In 6.4.5, At 150% Display Scale, In The Users KCM, The Avatar Appearing Blurred, With An Aliased, Truncated Border (138.46 KB, image/png)
2025-10-21 20:48 UTC, Roke Julian Lockhart Beedell
Details
A Screenshot Of, In 6.4.5, At 150% Display Scale, In The Application Launcher, The Avatar Appearing Blurred, With An Aliased, Truncated Border (176.06 KB, image/png)
2025-10-21 20:50 UTC, Roke Julian Lockhart Beedell
Details
An Avatar, With Grain, That Reproduces This (46.77 KB, image/jpeg)
2025-10-21 20:51 UTC, Roke Julian Lockhart Beedell
Details
An Avatar, Without Grain, That Reproduces This (976.56 KB, image/jpeg)
2025-10-23 23:48 UTC, Roke Julian Lockhart Beedell
Details
A Screenshot Of, In 6.4.5, At 100% Display Scale, In The Users KCM, The Avatar Appearing Not Blurred, But With An Aliased, Truncated Border (80.42 KB, image/png)
2025-10-23 23:49 UTC, Roke Julian Lockhart Beedell
Details
A Screenshot Of, In 6.4.5, At 100% Display Scale, In The Application Launcher, The Avatar Appearing Not Blurred, But With An Aliased, Truncated Border (79.54 KB, image/png)
2025-10-23 23:50 UTC, Roke Julian Lockhart Beedell
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Roke Julian Lockhart Beedell 2025-10-21 20:48:37 UTC
Created attachment 185973 [details]
A Screenshot Of, In 6.4.5, At 150% Display Scale, In The Users KCM, The Avatar Appearing Blurred, With An Aliased, Truncated Border

# SUMMARY

When any image is submitted as a user's avatar via the Users KCM, the avatar becomes of lower resolution than its original form was, and, thereafter, it appears to be interpolated to compensate. This causes it to appear blurred.

Conversely, its border is aliased, which causes its left side to appear truncated at small sizes (including in Application Launcher).

# STEPS TO REPRODUCE

Submit the attached avatar via the Users KCM.

# OBSERVED RESULT

The avatar is of lower resolution than its original form was, and it appears to be interpolated to compensate. This causes it to appear blurred. Conversely, its border is aliased, which causes its left side to appear truncated at small sizes (including in Application Launcher).

# EXPECTED RESULT

The avatar should not be of lower resolution, much less interpolated, and its border should not be aliased, especially because this causes its left side to be truncated at small sizes.

# SOFTWARE/OS VERSIONS

> ~~~
> Operating System: Fedora Linux 42
> KDE Plasma Version: 6.4.5
> KDE Frameworks Version: 6.19.0
> Qt Version: 6.9.2
> Kernel Version: 6.16.12-200.fc42.x86_64 (64-bit)
> Graphics Platform: Wayland
> ~~~

This reproduces on multiple installations with different hardware.

# ADDITIONAL INFORMATION

Originally reported at https://bugs.kde.org/show_bug.cgi?id=422182#c5.
Comment 1 Roke Julian Lockhart Beedell 2025-10-21 20:50:00 UTC
Created attachment 185974 [details]
A Screenshot Of, In 6.4.5, At 150% Display Scale, In The Application Launcher, The Avatar Appearing Blurred, With An Aliased, Truncated Border
Comment 2 Roke Julian Lockhart Beedell 2025-10-21 20:51:37 UTC
Created attachment 185975 [details]
An Avatar, With Grain, That Reproduces This
Comment 3 TraceyC 2025-10-22 22:50:05 UTC
Thanks for the bug report, and for attaching the image that you're using and for the screenshots. I see what you're describing.

Note: The attached image is a 838 x 838 jpg, 46.8KiB

I tested this on Plasma built from git-master, using two different pictures with these properties (and others):
256 x 254 jpg
1280 x 960 jpg 304.2KiB

The user avatar looks OK, with a clear picture and smooth border, in:
- The login screen
- Andromeda Launcher
- Users kcm
  Note that when testing with the jpg you sent, it looks the same for me in the kcm as in your screenshot. To me it looks like it's due to the graininess I see in the original image. It isn't nearly as fuzzy as in your screenshot of the Application Launcher. 

I do see the aliased border in Application Launcher but I can't see any fuzziness in the avatar picture.

To summarize, what I can reproduce in git-master:
An aliased border around the avatar in Application Launcher and the Users kcm
Comment 4 Nate Graham 2025-10-23 14:37:08 UTC
Could be an issue in Kirigami-addons (where the Avatar component lives) or it could be an issue in the Users KCM with how it masks the image.

But TBH I don't really see any blurriness in any of the screenshots. The image is scaled down to be very small; I'm not sure how much detail it's really possible to render there at those sizes.
Comment 5 Roke Julian Lockhart Beedell 2025-10-23 23:48:41 UTC
Created attachment 186059 [details]
An Avatar, Without Grain, That Reproduces This

(In reply to TraceyC from comment #3)

> The user avatar looks OK, with a clear picture and smooth border, in:
> - The login screen
> - Andromeda Launcher
> - Users kcm
>   Note that when testing with the jpg you sent, it looks the same for me in
> the kcm as in your screenshot. To me it looks like it's due to the
> graininess I see in the original image. It isn't nearly as fuzzy as in your
> screenshot of the Application Launcher. 

For me, this also reproduces with images without grain. I'll attach one.

> I do see the aliased border in Application Launcher but I can't see any
> fuzziness in the avatar picture.

Are you using 100% display scale? In retrospect, I see this on my FW16 at 150%, but not on my AOC Q3279WG5B at 100%. I'll attach some comparisons.
Comment 6 Roke Julian Lockhart Beedell 2025-10-23 23:49:28 UTC
Created attachment 186060 [details]
A Screenshot Of, In 6.4.5, At 100% Display Scale, In The Users KCM, The Avatar Appearing Not Blurred, But With An Aliased, Truncated Border
Comment 7 Roke Julian Lockhart Beedell 2025-10-23 23:50:13 UTC
Created attachment 186061 [details]
A Screenshot Of, In 6.4.5, At 100% Display Scale, In The Application Launcher, The Avatar Appearing Not Blurred, But With An Aliased, Truncated Border
Comment 8 Roke Julian Lockhart Beedell 2025-10-23 23:53:46 UTC
(In reply to Roke Julian Lockhart Beedell from comment #5)

> Are you using 100% display scale? In retrospect, I see this on my FW16 at
> 150%, but not on my AOC Q3279WG5B at 100%. I'll attach some comparisons.

Therefore, might the aliased border and blurred avatar be separate problems (if you can, now, see the evident-to-me difference between https://bugsfiles.kde.org/attachment.cgi?id=185974 and https://bugsfiles.kde.org/attachment.cgi?id=186061), which I've erroneously conflated into one ticket?