#154: randomly doesn't show up (style issue)
----------------------+-----------------------------------------------------
Reporter: cavedon | Owner: laurent
Type: defect | Status: new
Priority: major | Milestone: QuteCom 2.2-RC4
Component: GUI | Version: 2.2-RC3
Resolution: | Keywords:
----------------------+-----------------------------------------------------
Comment(by cavedon):
I spent some time debugging it. The GUI hangs in the call
QCleanlooksStyle::standardPixmap(). Even though I have no strong evidence,
I believe it is a race condition inside libORBIT2 or glib.
LibORBIT is called from gconf concurrently in two separate threads by
libpurple and Qt, but it does not appear to be thread-safe (it makes use
of static variables).
Delaying starting the g_main_loop from libpurple of a big enough amount of
time (e.g. 10 s) so that the GUI has been displayed seems to fix the
issue, but is not clearly a reasonable fix.
On the other side, commenting out QtWengoStyle::standardPixmap() (which is
apparently the only place originating a call to libORBIT) seems to work
too (see attached patch). I am not sure what effects it can have on the
appearence of ther GUI, though...
--
Ticket URL: <http://trac.qutecom.org/ticket/154#comment:1>
QuteCom <http://trac.qutecom.org>
_______________________________________________
QuteCom-dev mailing list
[email protected]
http://lists.qutecom.org/mailman/listinfo/qutecom-dev