Bug 398047 - Ability to display unread count on Task Manager icon
Summary: Ability to display unread count on Task Manager icon
Status: RESOLVED FIXED
Alias: None
Product: konversation
Classification: Applications
Component: general (show other bugs)
Version: 1.7.4
Platform: Other Linux
: NOR wishlist
Target Milestone: ---
Assignee: Friedrich W. H. Kossebau
URL:
Keywords:
: 439021 (view as bug list)
Depends on:
Blocks:
 
Reported: 2018-08-30 03:53 UTC by Nate Graham
Modified: 2022-02-18 22:42 UTC (History)
4 users (show)

See Also:
Latest Commit:
Version Fixed In: 1.9.22040


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Nate Graham 2018-08-30 03:53:21 UTC
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.
Comment 1 Dmitri Koulikoff 2020-12-28 19:03:34 UTC
And I need the number of unread messages in the system tray.
Comment 2 Friedrich W. H. Kossebau 2022-02-06 11:00:01 UTC
*** Bug 439021 has been marked as a duplicate of this bug. ***
Comment 3 Friedrich W. H. Kossebau 2022-02-06 11:04:35 UTC
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.
Comment 4 Oleksandr Natalenko 2022-02-06 11:17:04 UTC
A sum would work for me.
Comment 5 Bug Janitor Service 2022-02-07 21:35:59 UTC
A possibly relevant merge request was started @ https://invent.kde.org/network/konversation/-/merge_requests/70
Comment 6 Friedrich W. H. Kossebau 2022-02-18 22:42:25 UTC
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