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

List:       kde-devel
Subject:    Re: Exit application
From:       Waldo Bastian <bastian () kde ! org>
Date:       2001-06-18 17:23:15
[Download RAW message or body]

On Monday 18 June 2001 01:23 am, Thomas Satzinger wrote:
> Hi there,
> i do not know if i am OT here (if yes, please tell me), but i have the
> following problem.

Everything related to "writing an app based on KDE2" is on topic.

> i am writing an app based on KDE2 with KDEveleop 1.4

Well. isn't that a coincedence!

> It works not bad, but when exiting the app i get the following message:
>
> X Error of failed request:  BadWindow (invalid Window parameter)
>   Major opcode of failed request:  1 (X_CreateWindow)
>   Resource id in failed request:  0x0
>   Serial number of failed request:  2746
>   Current serial number in output stream:  2878
>
> I do not think its a programming error.
> Can somebody please explain me, what these lines try to tell me?!?

Never figured that out completely myself. It has something to do with the 
asynchronous nature of the X protocol. E.g. the application sends something 
to the X server and then gets a response back somewhat later. The above 
message seems to indicate that the X server has decided to delete some window 
(probably because it was asked too) but the application doesn't know this yet 
(maybe because it hasn't read everything yet the X server has send it) and 
still tries to do some operation on this window.

It's most often a rather harmless message but somewhat annoying of course.

I got them once when I created a KMessageBox directly after closing another 
one. Maybe Qt has some issues in this field. Dunno.

Cheers,
Waldo
-- 
bastian@kde.org | SuSE Labs KDE Developer | bastian@suse.com
 
>> Visit http://master.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<

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

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