Date: Mon, 20 Feb 1995 08:10:23 -0700 From: Gary Aitken <garya@boulder.openware.com> To: PWILLIAM%ESOC.BITNET@vm.gmd.de, OI-USERS@freefall.cdrom.com Subject: Re: Creating Application Windows in an OI_add_timeout callback Message-ID: <199502201510.IAA20073@garya.boulder.openware.com>
index | next in thread | raw e-mail
> We are currently experiencing some strange behaviour when creating application > windows for a OI_add_timeout callback. Maybe someone out there has come across > the same problem and/or knows a solution. > > I have extracted out two small text cases which exhibit the problem. They > appear at the end of this note. > > What I am expecting to happen in the first test case is for an application > window to be created and displayed every 5 seconds. > > On a Sparc Station IPX this is pretty much what happens, but as more and more > windows are created, the rate at which windows are created increases, ie the > timeout is being ignored. > > Things get pretty manic on a Sparc Station 20, my screen is rapidly filled > with windows as though the callback is being called with no timeout whatsoever. > > If rather than creating a new window in the callback, I add a new static text > item, everything works as expected. This is shown in the second test case. The problem you are seeing is an X server performance problem; it degrades as the number of windows at the same place in the hierarchy increases. Once upon a time we verified this by doing a loop similar to yours (not in a timeout) and just doing XCreateWindow calls.help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199502201510.IAA20073>
