I use an Icons-Only Task Manager and I've pinned Konversation to it. This means I always have an icon for Konversation visible and in the same place on my screen, and I have no use for the system tray icon (it's redundant, and I turn it off). I'd really like to be able to see the unread messages count on the Task Manager icon, like KMail does.
And I need the number of unread messages in the system tray.
*** Bug 439021 has been marked as a duplicate of this bug. ***
Did a first working draft to implement this. Question for now would be: given we sadly only have a single number to show, without further context, how to deal with both mentions as well as direct queries? For now I would go to simply summarize both numbers, given I assume in most cases one simply wants to know how many unread messages there are that addressed one, either directly or indirectly.
A sum would work for me.
A possibly relevant merge request was started @ https://invent.kde.org/network/konversation/-/merge_requests/70
Git commit a4ec8102853c51adadd9a534e01318a7b0381b52 by Friedrich W. H. Kossebau. Committed on 18/02/2022 at 22:32. Pushed by kossebau into branch 'master'. Show number of unseen nick mentions & query messages on launcher entry FIXED-IN: 1.9.22040 M +1 -1 CMakeLists.txt M +3 -0 src/CMakeLists.txt M +3 -0 src/application.cpp M +3 -0 src/application.h M +61 -0 src/config/konversation.kcfg A +41 -0 src/config/launcherentry_config.cpp [License: GPL(v2.0+)] A +33 -0 src/config/launcherentry_config.h [License: GPL(v2.0+)] A +190 -0 src/config/launcherentry_config.ui M +48 -0 src/config/preferences.cpp M +20 -0 src/config/preferences.h M +7 -0 src/config/settingsdialog.cpp M +2 -0 src/config/settingsdialog.h A +118 -0 src/launcherentryhandler.cpp [License: GPL(v2.0+)] A +46 -0 src/launcherentryhandler.h [License: GPL(v2.0+)] M +5 -0 src/mainwindow.cpp M +1 -0 src/mainwindow.h M +63 -0 src/viewer/chatwindow.cpp M +10 -1 src/viewer/chatwindow.h M +44 -0 src/viewer/viewcontainer.cpp M +3 -0 src/viewer/viewcontainer.h https://invent.kde.org/network/konversation/commit/a4ec8102853c51adadd9a534e01318a7b0381b52