On Wed, 2008-08-13 at 11:31 +0100, Peter TB Brett wrote: > > On Wed, 13 Aug 2008 12:06:35 +0200, Werner Hoch <[EMAIL PROTECTED]> wrote: > > Even with a fast computer the relocation of the dialogs is annoying. The > > dialogs appears in front of the center of gschem first. Then the dialog > > is moved outside the gschem window. Finally gschem has to redraw the > > area of the first position of the dialog. > > > > Can we revert that commit, or is there a better solution for the dialogs > > problem? > > I agree that this commit is a problem -- I should have more thoroughly > tested it before committing it. Sorry! > > I suggest that it should be reverted, and people who experience dialog > drift using the Cygwin X server use a different X server (I've been using > Xming and I've found it's pretty good).
Is this problem being seen in single window, or multi-window mode? I've just had a dig through the DDX source-code for the Cygwin/X server, and can't see it's in-built multi-window window manager deliberately getting in the way of move requests at all. This "might" be failing if the point where a hWnd handle is created is during the first "show" of the window. I'm too rusty on Win32 APIs to recall how it all works, and whether there is some API to specify an initial position. I did just think of a "cunning"(TM) workaround for this though.. What happens if you call the geometry restore handler both before, AND after the "show" call? (Ought to prevent the flicker if it moves it correctly the first time). OTOH: There did look to be code inside GTK / GDK which would try to figure out if a move request was redundant, so I guess whether this works might depend on whether GTK "thinks" the window moved the first time it asked. PS.. I don't actually see the dialog jumping myself - I'm not sure whether I can recall having seen this before though. Might have to try running gschem over the network to a different X11 server to see if it becomes evident. PPS.. I think the real bug-fix (if any) might need to be in the X.org code for the xwin DDX. -- Peter Clifton Electrical Engineering Division, Engineering Department, University of Cambridge, 9, JJ Thomson Avenue, Cambridge CB3 0FA Tel: +44 (0)7729 980173 - (No signal in the lab!) _______________________________________________ geda-dev mailing list [email protected] http://www.seul.org/cgi-bin/mailman/listinfo/geda-dev
