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

[STR New]

Link: http://www.fltk.org/str.php?L1789
Version: 2.0-current


When fltk::file_chooser(...) is called from modal window this window is
closed after file_chooser return.

fltk::Widget* modal_w = fltk::modal(); 
bool grab = fltk::grab();
const char* file_name = fltk::file_chooser(...);
fltk::modal(modal_w, grab);

works ok!

So I thing that fltk::file_chooser(...) should looks like:
fltk::Widget* modal_win = fltk::modal(); 
bool grab = fltk::grab();
... old fltk::file_chooser(...) code ...
fltk::modal(modal_win, grab);
return ...

Tested under linux (but probably bug is also under others platform) with
version r5940.


Link: http://www.fltk.org/str.php?L1789
Version: 2.0-current

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

Reply via email to