WARNING: KDE detected X Error
David Faure
faure at kde.org
Tue Jan 13 16:17:21 GMT 2004
On Tuesday 13 January 2004 17:09, Andy Brice wrote:
>
> > On Tuesday 13 January 2004 16:51, Andy Brice wrote:
> > > I have finally managed to replicate it reliably. It comes up whenever
> the
> > > KHtmlPart 'Server authentication' window appears. But it doesn't get
> trapped
> > > by my_x_errhandler().
> > >
> > > Would my_x_errhandler() pick up any X error created by KHtmlPart in a
> > > separate thread?
> >
> > You can NOT use Qt GUI stuff from more than one thread!!!
> >
> > All the Qt code that uses X must be in the main thread, see the Qt
> documentation.
>
> My app is single threaded. I was just wondering if the X error might be
> created by another thread started within KHtmlPart. Otherwise I don't
> understand why my_x_errhandler() isn't intercepting the X error.
khtml doesn't use threads (none of kdelibs/kdebase does).
--
David FAURE, faure at kde.org, sponsored by Trolltech to work on KDE,
Konqueror (http://www.konqueror.org), and KOffice (http://www.koffice.org).
More information about the kfm-devel
mailing list