[prev in list] [next in list] [prev in thread] [next in thread] 

List:       koffice-devel
Subject:    Re: QObject::installEventFilter(): Cannot filter events for objects
From:       Thomas Zander <zander () kde ! org>
Date:       2009-10-03 21:07:17
Message-ID: 200910032307.18708.zander () kde ! org
[Download RAW message or body]

[Attachment #2 (multipart/signed)]


On Friday 2. October 2009 23.05.02 LukasT.dev@gmail.com wrote:
> Hi,
>
> I'm facing weird problem when starting Krita. I see this line in konsole
> QObject::installEventFilter(): Cannot filter events for objects in a
> different thread. 26 times and Krita sometimes starts and sometimes it
> stucks...
>
> I noticed in DrKonqui when we crash that there are more threads running
> inside krita in the startup then it has used to..Or maybe I'm wrong
> here..
>
> Could this have something with GUI vs internal thread? Have you got idea
> how to fix it? I'm using Qt 4.5.2 + KDE 4.3.1

As you likely know, a QObject belongs to a specific QThread. What the above 
says is that installEventFilter is called in another thread then the one the 
QObject belongs to. As this would create many problems, you see this 
warning.
I suggest to start krita in gdb, set a breakpoint on the printing of the 
warning, or just QObject::installEventFilter() and then when the breakpoint 
hits print a backtrace to figure out who called it and why its in a different 
thread.
Then you fix it ;)
-- 
Thomas Zander

["signature.asc" (application/pgp-signature)]

_______________________________________________
koffice-devel mailing list
koffice-devel@kde.org
https://mail.kde.org/mailman/listinfo/koffice-devel


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic