Bug 473698

Summary: Korganizer not showing its icon in taskbar or MainWindow icon
Product: [Applications] korganizer Reporter: Carles Pina i Estany <carles>
Component: generalAssignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED FIXED    
Severity: minor CC: winter
Priority: NOR    
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: Debian stable   
OS: Linux   
Latest Commit: Version Fixed In: 5.24.0
Sentry Crash Report:

Description Carles Pina i Estany 2023-08-23 19:09:31 UTC
SUMMARY
I'm using KOrganizer on Debian bookworm (packaged KOrganizer version 4:22.12.3-1).

The taskbar icon for KOrganizer shows a placeholder icon that LXDE (lxpanel) uses for applications that don't set the icon, instead of /usr/share/icons/hicolor/16x16/apps/korganizer.png (or similar)

STEPS TO REPRODUCE
1. Run KOrganizer on LXDE
2. Look at the taskbar (or top-left icon in the title window of KOrganizer)

OBSERVED RESULT
LXDE placeholder icon for applications without an icon

EXPECTED RESULT
/usr/share/icons/hicolor/16x16/apps/korganizer.png (or similar) 

SOFTWARE/OS VERSIONS
Debian bookworm default versions
Windows: 
macOS: 
Linux/KDE Plasma: Debian bookworm 5.103.0
(available in About System)
KDE Plasma Version: 
KDE Frameworks Version: 
Qt Version: 5.15.8

ADDITIONAL INFORMATION

I have the same problem with kmix and akregator. Other applications such as kcalc, kwrite and kate show the correct icon.
I've checked and kcalc, kwrite and kate use "QApplication::setWindowIcon" or "app.setWindowIcon" with the icon to set the icon of the application. Removing "app.setWindowIcon(QIcon(..." from kcalc.cpp "breaks" it (default lxde placeholder icon appears).
Comment 1 Allen Winter 2025-04-30 13:16:04 UTC
I have no way of testing since I don't use lxde.

However, I do see that about 1 year ago ` QApplication::setWindowIcon(QIcon::fromTheme(QStringLiteral("korganizer")));` was added to Korganizer for version 23.08

therefore I'll close this one.

If you can still reproduce the bug in version 23.08 (or higher) => feel free to re-open