Bug 439021

Summary: [RFE] Make use of com.canonical.Unity.LauncherEntry
Product: [Applications] konversation Reporter: Oleksandr Natalenko <oleksandr>
Component: notificationsAssignee: Konversation Developers <konversation-devel>
Status: RESOLVED DUPLICATE    
Severity: normal CC: kossebau
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed In:

Description Oleksandr Natalenko 2021-06-22 10:01:45 UTC
Hello.

It'd be nice to have a taskbar application icon badge with the number of unread highlights/mentions.

In KMail, for instance, such a badge is implemented via com.canonical.Unity.LauncherEntry DBus call.

Having this feature implemented would be pretty handy, and this would allow disabling systray icon so that there would be less duplicated icons on the panel and hence less visual noise.

Thanks.

---

An example of implementation taken from RSS Guard:

```
QDBusMessage signal = QDBusMessage::createSignal(QSL("/"),
    QSL("com.canonical.Unity.LauncherEntry"),
    QSL("Update"));

signal << QSL("application://%1").arg(APP_DESKTOP_ENTRY_FILE);

QVariantMap setProperty;

setProperty.insert("count", qint64(unread_messages));
setProperty.insert("count-visible", unread_messages > 0);

signal << setProperty;

QDBusConnection::sessionBus().send(signal);
```
Comment 1 Friedrich W. H. Kossebau 2022-02-06 11:00:01 UTC

*** This bug has been marked as a duplicate of bug 398047 ***