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, bizyaev, dreamkepeer, kdedev, laladivsv, me, nate, olib141, zawertun
Priority: NOR Keywords: regression
Version First Reported In: 6.4.1   
Target Milestone: ---   
Platform: Fedora RPMs   
OS: Linux   
See Also: https://bugs.kde.org/show_bug.cgi?id=510887
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: nextcloud-client-3.16.3-2.fc42.x86_64.rpm with org.kde.breeze.desktop
Strawberry icon
Telegram icon
wireshark-4.4.9-1.fc42.x86_64.rpm with org.kde.breezedark.desktop
qbittorrent on fedora 42 plasma
Issue demonstration in Plasma 6.5.2

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.rpm with 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. ***
Comment 9 Roke Julian Lockhart Beedell 2025-10-15 16:52:33 UTC
Created attachment 185809 [details]
wireshark-4.4.9-1.fc42.x86_64.rpm with org.kde.breezedark.desktop

This also affects https://koji.fedoraproject.org/koji/rpminfo?rpmID=44253118.
Comment 10 Yaroslav Sidlovsky 2025-10-16 14:55:16 UTC
I've got exactly same bug with the Intel integrated graphics adapter.

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.7-200.fc42.x86_64 (64-bit)
Graphics Platform: Wayland
Processors: 12 × 11th Gen Intel® Core™ i5-11600K @ 3.90GHz
Memory: 32 ГиБ of RAM (31.1 ГиБ usable)
Graphics Processor: Intel® Graphics
Manufacturer: Gigabyte Technology Co., Ltd.
Product Name: B560M DS3H V2
Comment 11 VM 2025-10-16 14:55:29 UTC
Created attachment 185836 [details]
qbittorrent on fedora 42 plasma

It's the same in qbittorrent on fedora 42.
Comment 12 VM 2025-10-17 02:58:54 UTC
(In reply to VM from comment #11)
> Created attachment 185836 [details]
> qbittorrent on fedora 42 plasma
> 
> It's the same in qbittorrent on fedora 42.

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.11-200.fc42.x86_64 (64-bit)
Graphics Platform: Wayland
Processors: 4 × Intel® Core™ i5-6600 CPU @ 3.30GHz
Memory: 16 ГиБ of RAM (15.5 ГиБ usable)
Graphics Processor: Intel® HD Graphics 530
Comment 13 Oleg 2025-10-24 18:47:41 UTC
As of Plasma 6.5 I can no longer experience this. Can anyone else confirm this is fixed?
Comment 14 Nate Graham 2025-10-24 18:51:17 UTC
Indeed, I can't reproduce it anymore either.
Comment 15 Yaroslav Sidlovsky 2025-11-17 14:35:15 UTC
Just updated to Plasma 6.5.2 - issue is not fixed.
System info:
---
Operating System: Fedora Linux 42
KDE Plasma Version: 6.5.2
KDE Frameworks Version: 6.20.0
Qt Version: 6.9.3
Kernel Version: 6.17.7-200.fc42.x86_64 (64-bit)
Graphics Platform: Wayland
Processors: 12 × 11th Gen Intel® Core™ i5-11600K @ 3.90GHz
Memory: 32 ГиБ of RAM (31.1 ГиБ usable)
Graphics Processor: Intel® Graphics
Manufacturer: Gigabyte Technology Co., Ltd.
Product Name: B560M DS3H V2
Comment 16 Yaroslav Sidlovsky 2025-11-17 14:37:13 UTC
Created attachment 186884 [details]
Issue demonstration in Plasma 6.5.2
Comment 17 Nate Graham 2025-11-17 15:05:01 UTC
Can also still reproduce with QBitTorrent (for me the Flatpak version) on git master, even.