[Bug 261725] activitybar widget symbols missing on startup

Aaron J. Seigo aseigo at kde.org
Fri Dec 31 23:27:08 CET 2010


On Friday, December 31, 2010, Chani wrote:
> assuming for the moment that the only option is to use QDBusServiceWatcher
> to listen for all new dbus services and check if they're nepomuk. does
> anyone know of a better way?

m_nepomukWatcher = new QDBusServiceWatcher("org.kde.NepomukServer", 
QDBusConnection::sessionBus(), QDBusServiceWatcher::WatchForOwnerChange, 
this);

that should get you a watcher that only triggers when org.kde.NepomukServer 
comes or goes. efficient (the filtering is done on the dbus server side) and 
easy :)

> for the second part... I was thinking KActivityIcon could either have a new
> availabilityChanged signal (but not in 4.6) or just emit infoChanged() as
> if the icon had changed. 

the latter sounds good to me; the user of KActivityIcon probably doesn't care 
particularly why the icon has changed, right?

> so.. what *I* think is the best solution: have KActivityInfo watch for the
> nepomuk dbus service, and emit infoChanged when it appears.

sounds good.

> -would it be better to have kactivitymanagerd emit an availabliityChanged
> signal in 4.7?

if there are no use cases for it, then imho no.

> -should KActivityInfo also emit an availabilityChanged signal in 4.7?

imho, no.

> -should KActivityConsumer watch for nepomuk too, and emit
> serviceStatusChanged?

imho, no.

-- 
Aaron J. Seigo
humru othro a kohnu se
GPG Fingerprint: 8B8B 2209 0C6F 7C47 B1EA  EE75 D6B7 2EB1 A7F1 DB43

KDE core developer sponsored by Qt Development Frameworks
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part.
Url : http://mail.kde.org/pipermail/plasma-devel/attachments/20101231/7b95a57e/attachment.sig 


More information about the Plasma-devel mailing list