ksycoca improvements (Re: assert in kservicetypefactory.cpp)

Martin Graesslin mgraesslin at kde.org
Mon Aug 24 11:37:03 UTC 2015


On Monday, August 24, 2015 11:08:08 AM CEST Martin Graesslin wrote:
> > > I think that kglobalaccel5 is invoked as soon as KXmlGui gets involved
> > > (which KDevelop makes use of).
> > > 
> > > Code in kxmlgui.git somewhat agrees: There are references to
> > > KGlobalAccel::self() in, which will initialize KGlobalAccel which in
> > > turn
> > > starts the kglobalaccel5 daemon (right?). Looks like that is only being
> > > done if *global* shortcuts are involved, but I'm not sure whether I'm
> > > "free" of global shortcuts...
> > 
> > I'll have a look at kxmlgui. There certainly should not be calls to
> > KGlobalAccel if no global shortcuts are used.
> 
> The problematic call seems to be:
> KActionCollection::addAction
> 
> which interacts with KGlobalAccel::hasShortcut. I'll investigate whether
> this can be changed in a way that kglobalaccel won't be started.

Please give a try to https://git.reviewboard.kde.org/r/124902/ whether that 
fixes the issue for you with kglobalaccel on kdevelop/Windows.

Cheers
Martin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: This is a digitally signed message part.
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20150824/06a427fa/attachment.sig>


More information about the Kde-frameworks-devel mailing list