Bug 506543

Summary: Some application icons are aliased and bordered in the window decorations
Product: [Plasma] kwin Reporter: Roke Julian Lockhart Beedell <4wy78uwh>
Component: decorationsAssignee: KWin default assignee <kwin-bugs-null>
Status: CONFIRMED ---    
Severity: minor CC: 58yotbc3q, kdedev, me, nate, oleg, olib141
Priority: NOR Keywords: regression
Version First Reported In: 6.4.1   
Target Milestone: ---   
Platform: Fedora RPMs   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: nextcloud-client-3.16.3-2.fc42.x86_64 in org.kde.breeze.desktop
Strawberry icon
Telegram icon

Description Roke Julian Lockhart Beedell 2025-07-03 18:02:16 UTC
Created attachment 182904 [details]
nextcloud-client-3.16.3-2.fc42.x86_64 in org.kde.breeze.desktop

# SUMMARY

Per https://github.com/nextcloud/desktop/issues/8398#issuecomment-3027920270, I've been advised by the NextCloud developers to report that their logo is aliased (and, with `org.kde.breeze.desktop` active, is surrounded by an aliased, #000000 outline) to the KWin maintainers.

This solely reproduces on one device / installation of the two that I've evaluated, with no discernable cause.

# STEPS TO REPRODUCE

1. Invoke the flyout from the shell's tray.

2. Select the avatar of the authenticated user.

3. Select "Settings".

# OBSERVED RESULT

The logomark is always aliased in the window decorations. However, with `lookandfeel --apply org.kde.breeze.desktop`, and surrounded by an `#000000` outline. The border might exist irrespective of theme, but I don't see it on Breeze Dark.

# EXPECTED RESULT

1. The logomark shouldn't be aliased in the window decorations, because no other applications' are.

2. The logomark shouldn't be bordered with Breeze Light active, because no other applications' are.

# SOFTWARE/OS VERSIONS

The KCM returns:

> ~~~
> Operating System: Fedora Linux 42
> KDE Plasma Version: 6.4.1
> KDE Frameworks Version: 6.15.0
> Qt Version: 6.9.1
> Kernel Version: 6.15.4-200.fc42.x86_64 (64-bit)
> Graphics Platform: Wayland
> Graphics Processor: AMD Radeon 780M Graphics
> Manufacturer: Framework
> Product Name: Laptop 16 (AMD Ryzen 7040 Series)
> System Version: A7
> ~~~

# ADDITIONAL INFORMATION

This appears to be unaffected by display scale (I've evaluated 100% and 150%). At least, without a reboot.
Comment 1 TraceyC 2025-07-07 21:41:34 UTC
I am able to reproduce this on git-master Plasma on Solus with a community theme "Scratchy" and Breeze Light. The logo in the top left corner has a jagged dark border around it.
On Breeze Dark the edges of the logo look jagged, like that dark border is also present but blends into the titlebar background
Comment 2 Roke Julian Lockhart Beedell 2025-07-08 01:11:59 UTC
(In reply to TraceyC from comment #1)

You accidentally changed the title to something nonsensical (from "The NextCloud Client's logomark is aliased (and bordered) in the window decorations" to "The NextCloud Client's logomark in the is aliased (and bordered) in the window titlebar", so I've reverted it.
Comment 3 Vlad Zahorodnii 2025-07-08 08:03:14 UTC
Hmm I cannot reproduce it.
Comment 4 Oleg 2025-07-10 17:39:13 UTC
Created attachment 183141 [details]
Strawberry icon

I can confirm it. I have similar issue with Telegram and Strawberry icons

Operating System: Arch Linux 
KDE Plasma Version: 6.4.2
KDE Frameworks Version: 6.15.0
Qt Version: 6.9.1
Kernel Version: 6.15.5-2-cachyos (64-bit)
Graphics Platform: Wayland
Processors: 16 × AMD Ryzen 7 9800X3D 8-Core Processor
Memory: 64 ГиБ of RAM (62.5 ГиБ usable)
Graphics Processor: AMD Radeon RX 6700 XT
Manufacturer: ASUS
Comment 5 Oleg 2025-07-10 17:39:38 UTC
Created attachment 183142 [details]
Telegram icon
Comment 6 Oliver Beard 2025-07-10 18:55:37 UTC
I can reproduce with Strawberry (flatpak).

The relevant icon, org.​strawberrymusicplayer.​strawberry.​png is a 128x128 PNG file.

Interestingly, the 'corrupted' area around the icon changes with focus, as the background colour it is painted over is changed.

KWin 6.4.2
KF 6.15.0
Qt 6.9.1
on Wayland & Nvidia
Comment 7 Nate Graham 2025-08-26 19:39:47 UTC
*** Bug 507266 has been marked as a duplicate of this bug. ***
Comment 8 Nate Graham 2025-09-23 16:15:19 UTC
*** Bug 509825 has been marked as a duplicate of this bug. ***