Hi, I'm currently working on an fltk based (www.fltk.org) program which launches new windows. It's crashing in a mysterious way. I'm extending some of the existing widgets and it's probably down to some misunderstanding somewhere in my extension code, but to track down what's wrong I'll probably need to ask on the fltk lists, specifying what Ion3 is doing in terms of X notifications; to do that I'll have to ask here to find out a rough idea of what that is myself :-)
If I run my program on a normal frame based workspace it doesn't crash no matter how many new windows I create. If I run my program in a floating split workspace it crashes within the first one/two window creations (90% of time on creating first new window, 10% of time creates first window ok but crashes trying to create the second). Could anyone give me a quick overview of what Ion3 does differently in the floating split vs standard split case? (It crashes somewhere in the Fl::handle routines, which are the way fltk handles various events like mouse clicks, keyboard, etc... on what looks like the event 3==FL_ENTER, which I think means "mouse ptr wasn't previously over window, is over window now".) Many thanks for any helpful commentary, PS: a quick question regarding behaviour of latest Ion3 snapshot: if I move a window by dragging a tab from one frame to another with the mouse (doesn't matter if standard or floating split) it looks like the frame dragged to has become the current frame (in terms of its colours). However, if a new process/window is launched (eg by the newly dragged window) it appears in the frame the window was dragged from, whereas it seems to me personally more intuitive that it would appear in the frame that currently looks active, ie, the frame that's just had something dragged into it. I've got to change tab within the new workspace before it becomes the destination for new windows. Is this the desired behaviour, and if not is it a simple change to make it behave the way I've described? -- __cheers, dave____________________________________________ homepages.inf.ed.ac.uk/dtweed/ tel: +44 131 651 3447 JCMB, Kings Buildings, Edinburgh fax: +44 131 651 3435 X wrote a book about this, which Y was carrying around for a long time with little discernible effect -- John Baez
