Bug 473698 - Korganizer not showing its icon in taskbar or MainWindow icon
Summary: Korganizer not showing its icon in taskbar or MainWindow icon
Status: RESOLVED FIXED
Alias: None
Product: korganizer
Classification: Applications
Component: general (other bugs)
Version First Reported In: unspecified
Platform: Debian stable Linux
: NOR minor
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-08-23 19:09 UTC by Carles Pina i Estany
Modified: 2025-06-29 12:00 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In: 5.24.0
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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