Bug 514607 - Kirigami.AvatarButton has an inconsistent looking border
Summary: Kirigami.AvatarButton has an inconsistent looking border
Status: RESOLVED UPSTREAM
Alias: None
Product: kirigami-addons
Classification: Frameworks and Libraries
Component: general (other bugs)
Version First Reported In: unspecified
Platform: unspecified Linux
: NOR minor
Target Milestone: ---
Assignee: Unassigned bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2026-01-14 18:37 UTC by Filip Fila
Modified: 2026-01-28 22:12 UTC (History)
5 users (show)

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


Attachments
A screenshot from the Users KCM (22.92 KB, image/png)
2026-01-14 18:37 UTC, Filip Fila
Details
Screenshot of rocket with breeze dark (19.25 KB, image/png)
2026-01-15 14:51 UTC, Akseli Lahtinen
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Filip Fila 2026-01-14 18:37:02 UTC
Created attachment 188529 [details]
A screenshot from the Users KCM

SUMMARY
The border that's applied on Kirigami.AvatarButton and is visible with dark themes and darker avatars looks inconsistent in the sense that that there are parts of the circle (at every 90 degree) the border does not fill, producing a non-uniform looking border. Looking at the code, it seems to be a component issue.

STEPS TO REPRODUCE
1. Use a dark color scheme
2. Select an avatar photo that's darker, e.g. the rocket

OBSERVED RESULT
Looking at the avatar in either the Users KCM or in Kickoff shows an uneven looking border.

EXPECTED RESULT
An even looking border.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: cachyOS
KDE Plasma Version: 6.5.4
KDE Frameworks Version: 6.22
Qt Version: 6.10.1

ADDITIONAL INFORMATION
See image attached
Comment 1 Akseli Lahtinen 2026-01-15 14:51:26 UTC
Created attachment 188556 [details]
Screenshot of rocket with breeze dark

I can't repro this

Operating System: KDE Linux 2026-01-15
KDE Plasma Version: 6.6.80
KDE Frameworks Version: 6.23.0
Qt Version: 6.10.1
Kernel Version: 6.18.5-zen1-1-zen (64-bit)
Graphics Platform: Wayland
Processors: 12 × AMD Ryzen 5 3600 6-Core Processor
Memory: 16 GiB of RAM (15.5 GiB usable)
Graphics Processor: AMD Radeon RX 6600
Comment 2 Filip Fila 2026-01-15 17:58:05 UTC
I reproduced it on a second machine, running Manjaro Stable (Plasma 6.5.4, Frameworks 6.21, Qt 6.10,1). 

Booted up KDE Linux then and I can't see the outline anymore.  

I don't think I'm seeing recent changes in the repo that could account for it, are there any variables related to a live USB boot vs. install?

(In reply to Akseli Lahtinen from comment #1)
> Created attachment 188556 [details]
> Screenshot of rocket with breeze dark
> 
> I can't repro this
> 
> Operating System: KDE Linux 2026-01-15
> KDE Plasma Version: 6.6.80
> KDE Frameworks Version: 6.23.0
> Qt Version: 6.10.1
> Kernel Version: 6.18.5-zen1-1-zen (64-bit)
> Graphics Platform: Wayland
> Processors: 12 × AMD Ryzen 5 3600 6-Core Processor
> Memory: 16 GiB of RAM (15.5 GiB usable)
> Graphics Processor: AMD Radeon RX 6600
Comment 3 Nate Graham 2026-01-16 18:11:51 UTC
I also don't see this on KDE Linux.

Could be a color scheme difference in CachyOS, especially if they ship a custom color scheme. If so, try with bog-standard Breeze Dark.

If that's not it, it could be some subtle difference between kirigami-addons from git master vs from 6.5.4.
Comment 4 Filip Fila 2026-01-19 20:42:46 UTC
(In reply to Nate Graham from comment #3)
> I also don't see this on KDE Linux.
> 
> Could be a color scheme difference in CachyOS, especially if they ship a
> custom color scheme. If so, try with bog-standard Breeze Dark.
> 
> If that's not it, it could be some subtle difference between kirigami-addons
> from git master vs from 6.5.4.

Yep that's Breeze Dark in the my original screenshot.

The next plausible explanation would be what you suggested, that some upstream changes happened.
Comment 5 Filip Fila 2026-01-28 22:12:24 UTC
This is clearly fixed in master although I can't quite pointpoint what did it.