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

[STR New]

Link: http://www.fltk.org/str.php?L2859
Version: 1.3-current


You can get a window into the state where it will no longer render any
updates, because wait_for_expose is incorrectly set to true.

This happens in Fl_Window::resize() in Fl_x.cxx. The code there assumes
that the current width/height is what X11 sees, and enlarging must
therefore result in an eventual Expose event.

This is incorrect.

What happens is that the program requests a resize from e.g. 200x200 to
100x100. The window manager refuses, which it indicates by sending a
resize back with the original 200x200 size. There will be no Expose events
in this case, as the window never actually changed size.

The easy fix is to remove the code that sets wait_for_expose in resize().
It is based on flawed assumptions, so it is currently wrong.


Link: http://www.fltk.org/str.php?L2859
Version: 1.3-current

_______________________________________________
fltk-bugs mailing list
fltk-bugs@easysw.com
http://lists.easysw.com/mailman/listinfo/fltk-bugs

Reply via email to