The NetAccess hack hits again

Matthias Ettrich ettrich at trolltech.com
Mon Apr 29 17:22:15 BST 2002


On Monday 29 April 2002 18:02, David Faure wrote:
> Bug: type something in KWord, File/SaveAs, type filename, Ok -> can't type
> anymore. It turns out that focusWidget() is 0L in the kword mainwindow, and
> that it never got the FocusIn event.
>
> (If your kio is uptodate you'll need to upload to an FTP location to see
> this, I have changed NetAccess::exists for local files).
>
> One can also see an X error. Its backtrace is below.
> Does anyone know what the X error means? man XCheckIfEvent really didn't
> help... I tried deleting the file dialog before calling NetAccess (usually
> it's destroyed afterwards), but that didn't change anything.
>
> kword: WARNING: KDE detected X Error: BadMatch (invalid parameter
> attributes) 8 Major opcode:  42[

Somewhere there was a call to XSetInputFocus while the window wasn't yet 
mapped.

Is there some threading going on?

David, can you try to reproduce the problem with  -sync ?

Matthias





More information about the kde-core-devel mailing list