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

List:       kde-core-devel
Subject:    Re: knotes update - please read
From:       Harri Porten <porten () tu-harburg ! de>
Date:       1999-12-30 15:04:54
[Download RAW message or body]

Espen Sand wrote:
> 
> I have a problem (copy of cvs message):
> 
> Modal dialogs almost always cause an X error when closed. Can
> you try this and see if you get the same. I use the qt-copy
> of 1999-12-23. I think the problem has somthing to do with
> the special wm usage (no std title bar etc). It happens both
> in kwm and kwin. It happens only for modal dialog boxes. The
> Configuration dialog box is modeless and is not affected.
[...]
> Then I always get this result:
> 
> 1
> 2
> X Error: BadWindow (invalid Window parameter)
>   Major opcode:  20

I had the same problem in kppp. Matthias E. advised me to simply remove
the X Error handler Bernd used to put into his apps. In your case it is
knotes_x_errhandler() in knotes.cpp. KApplication has its own handling
routine.

Matthias, could elaborate on this problem a bit further ? I know that X
asynchronous nature leads to problems but why didn't this problem occur
in KDE 1.x ? Isn't there a "clean" solution ? I *have* to activate the
handler again in kppp to catch a sudden X shutdown. Guess I'll simply
ignore the above error then.

Harri.

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

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