Bug 511699 - Missing app icon on header of notifications when use pixmap instead of icon (only flatpak version)
Summary: Missing app icon on header of notifications when use pixmap instead of icon (...
Status: REPORTED
Alias: None
Product: frameworks-knotifications
Classification: Frameworks and Libraries
Component: general (other bugs)
Version First Reported In: 6.19.0
Platform: CachyOS Linux
: NOR normal
Target Milestone: ---
Assignee: kdelibs bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-11-06 08:17 UTC by Driglu4it
Modified: 2025-11-06 10:00 UTC (History)
2 users (show)

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


Attachments
screenshot (74.87 KB, image/png)
2025-11-06 08:17 UTC, Driglu4it
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Driglu4it 2025-11-06 08:17:07 UTC
Created attachment 186537 [details]
screenshot

SUMMARY
When building the application as Flatpak, using setPixmap in notifications causes the application icon in the notification header to disappear. Instead, a plasma-workspace icon is displayed.
This happens because in the Flatpak environment, the pixmap handling mechanism may conflict with the display of the application icon.
I create a testing application: https://invent.kde.org/saurov/test-flatpak-notifications

STEPS TO REPRODUCE (on my application)
1. Build the application as Flatpak:
flatpak-builder build --user --install-deps-from=flathub --force-clean --ccache --install .flatpak-manifest.json

2. Run the application:
flatpak run org.kde.test-flatpak-notifications

3. Click the "Notification with pixmap" button

OBSERVED RESULT
The application icon is missing from the notification header.

EXPECTED RESULT
The application icon should be displayed in the notification header even when using pixmap.

SOFTWARE/OS VERSIONS
Operating System: CachyOS Linux 
KDE Plasma Version: 6.5.1
KDE Frameworks Version: 6.19.0
Qt Version: 6.10.0
Kernel Version: 6.17.7-3-cachyos (64-bit)
Graphics Platform: Wayland
Processors: 12 × Intel® Core™ i5-10500H CPU @ 2.50GHz
Memory: 16 ГиБ of RAM (15.4 ГиБ usable)
Graphics Processor 1: Intel® UHD Graphics
Graphics Processor 2: NVIDIA GeForce RTX 3060 Laptop GPU

ADDITIONAL INFORMATION
This trouble also present in other KDE apps if use Knotifications (flatpak version) e.g. NeoChat.
And all flatpak apps that use Knotifications do not have KCM app notification settings.