DO NOT REPLY TO THIS MESSAGE.  INSTEAD, POST ANY RESPONSES TO THE LINK BELOW.

[STR New]

Link: http://www.fltk.org/str.php?L2490
Version: 1.1.10


Yes, this is definately 1.1.10.  And I get the same behavior with 1.1.9.

This is a workaround for the 'editor' test-case:


diff --git a/src/Fl_Widget.cxx b/src/Fl_Widget.cxx
index 1581619..c720175 100644
--- a/src/Fl_Widget.cxx
+++ b/src/Fl_Widget.cxx
@@ -33,6 +33,7 @@
 #include <stdlib.h>
 #include "flstring.h"
 
+#include <unistd.h>
 
 ////////////////////////////////////////////////////////////////
 // for compatability with Forms, all widgets without callbacks are
@@ -68,6 +69,7 @@ void Fl_Widget::default_callback(Fl_Widget *o, void *
/*v*/) {
     and this method reads the oldest widget out of this queue.
 */
 Fl_Widget *Fl::readqueue() {
+  usleep(5000);
   if (obj_tail==obj_head) return 0;
   Fl_Widget *o = obj_queue[obj_tail++];
   if (obj_tail >= QUEUE_SIZE) obj_tail = 0;

(Note that 4000 usecs fails, while 5000 usecs works.)

Unfortunately.... this workaround does NOT fix my original issue (with
yoshimi), so I may need to file another bug.

Meanwhile, I tried the fltk-1.3.x-r8048.tar.bz2... and the `editor` test
case behaves the same as with 1.1.10 (i.e. it fails).  With yoshimi, I
couldn't compile because fluid generates invalid code and would not
compile.  Guess I'll need to file a bug for that as well.


Link: http://www.fltk.org/str.php?L2490
Version: 1.1.10

_______________________________________________
fltk-bugs mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk-bugs

Reply via email to