DO NOT REPLY TO THIS MESSAGE. INSTEAD, POST ANY RESPONSES TO THE LINK BELOW.
[STR Pending] Link: http://www.fltk.org/str.php?L2760 Version: 2.0-current I use LINUX 3.1 and X11R6-7. Basically it is a SLACKWARE 11.0 that has been updated stepwise via downloads, because I was unable to buy a newer SLACKWARE distribution in germany. I suppose it depends on the implementation. The 'test/file_chooser.cxx' implements: ========================== fc = new FileChooser(".", "*", FileChooser::SINGLE, "FileChooser Test"); fc->callback(fc_callback); And this 'fc_callback()' works fine without and with the proposed patch. My program uses: ========================== static void browse_cb(Widget *wid, void *v) { file_chooser_callback(chooser_cb); file_chooser("Select Image File", IMG_PATTERN, NULL); file_chooser_callback(NULL); } static void chooser_cb(const char *cs) { if(cs == NULL || *cs == 0) return; if( !filename_exist(cs)) { alert("%s\n%s", FILE_NOT_FOUND_s,cs); return; } if( filename_isdir(cs)) return; (...) } Without the patch, 'filename_exist()' alerts me that PATH/TO/../filename does not exist. This alert is popped up after the first mouse click on "..": no chance for a second click. Using the patched library I can click twice on "..". winfried Link: http://www.fltk.org/str.php?L2760 Version: 2.0-current _______________________________________________ fltk-bugs mailing list [email protected] http://lists.easysw.com/mailman/listinfo/fltk-bugs
