This part of the report to kde-devel about the freedesktop summit seemed
like it might be germane:

1) Standardized and implemented fdo.Application spec for "unique" 
applications.

This is a standard DBus interface which replaces the KUniqueApplication 
"newInstance" method (and adds a few additional features). I already 
implemented it in the KDE-Frameworks-5 replacement for KUniqueApplication, 
called KDBusService. The whole point of standardizing it is that it becomes 
possible to start (unique) applications by just making a dbus call (which will 
either use DBus activation to launch the application, or will ask the running 
app to "activate", e.g. create a new window or a new tab).

This is really nice because it removes the need for a daemon like klauncher 
for that particular purpose (launching an app and waiting for it to register 
to DBus before talking DBus to it). The dbus server itself does the job for 
us. This doesn't work for non-unique apps though (e.g. konqueror and its 
multiple processes), but the suggestion for that use case was to write a 
unique-app frontend (= dbus service) which delegates the task to a separate 
(non-unique) process. This requires support from the apps though, unlike the 
current `kstart --service foo.desktop` that any script can use to start an 
app, wait for it to register to dbus, and then talk dbus to it. But maybe I'm 
the only one using that :)

Implementation status:
* KDBusService now supports this dbus interface (see 608bccad0744 in kdelibs-
frameworks), but support for startup notification is missing.
* This led me to first re-implement startup notification support in Qt 5 (it 
got lost with the rewrite to QPA) :
https://codereview.qt-project.org/53865

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1126205

Title:
  [FFe] Bring Unity appmenu / HUD integration to Qt5

To manage notifications about this bug go to:
https://bugs.launchpad.net/appmenu-qt/+bug/1126205/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to