Bug 439021 - [RFE] Make use of com.canonical.Unity.LauncherEntry
Summary: [RFE] Make use of com.canonical.Unity.LauncherEntry
Status: RESOLVED DUPLICATE of bug 398047
Alias: None
Product: konversation
Classification: Applications
Component: notifications (show other bugs)
Version: unspecified
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Konversation Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-06-22 10:01 UTC by Oleksandr Natalenko
Modified: 2022-02-06 11:00 UTC (History)
1 user (show)

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


Attachments

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