re xt intrinsics slow popups bryan boreham bryan alex com wrote in article minster york ac uk cjhs minster york ac uk writes the application creates window with a button quit and press me the button press me pops up a dialog box the strange feature of this program is that it always pops up the dialog box much faster the first time if i try to pop it up a nd time rd th time it is much slower the shell is waiting for the window manager to respond to its positioning request the window manager is not responding because it thinks the window is already in the right place exactly why the two components get into this sulk is unclear to me all information greatly received thanks for this clue and thanks to derek ho also for a pointer in the same direction one solution due to derek ho when the popup is popped up we setvalue its location which on repeat popups will be unchanged from the previous popup the slow response can be avoided by calling getvalue first and only using setvalue if the required location is different the problem can also be avoided by making a tiny alteration in the location of the popup so that the setvalue really does change the location of the popup we tried this just for a double check on the source of the problem the solutions we have tried successfully are now as follows use twm or mwm rather than olwm use olwm with resource wmtimeout only reset the location of the popup window if it is truely changed this is obviously working around some bug somewhere thanks chris ho stuart
