Hello all, I have encountered a strange issue during the FL_PASTE portion of a DND operation. When I drag a file from Konqueror to my FLTK app, I have the FL_PASTE event call fl_choice() that simply asks the user to confirm the DND drop operation. Regardless of the user's decision, the return value for handle() is always 1 for FL_PASTE.
The issue is that Konqueror sometimes crashes if I try do drag another file. I believe this is not a bug in Konqueror because if I comment out the call to fl_choice(), successive drag operations with Konqueror are fine. I think my issue is that when the fl_choice() executes, FL_PASTE hasn't returned 1 yet. However, the DND widget I am using experiences a FL_LEAVE event (probably caused by the new window appearing?). I believe this occurs because of the Fl::wait() or Fl::check() call(s) in Fl::dnd() or in fl_choice(). Therefore, the DND execution is out of sync with the events? Short of not popping up another window on a FL_PASTE (via DND), what can I do? -- Alvin _______________________________________________ fltk mailing list [email protected] http://lists.easysw.com/mailman/listinfo/fltk

