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 Ah, okay. I see what you mean now. Perhaps you might need to avoid the "return" statement you have with "if (!filename_exists(...))"? As I mentioned earlier, lines 597 to 601 in src/FileChooser2.cxx actually take care of a specific case where the entered name does not actually exist. This was basically done for consistency with WIN32 - if a user types in "<some file name>.cxx", the traversal across directories does *not* modify the user's entered "<some file name>.cxx". It also has the side effect that if a user selects a file that exists and then traverses elsewhere (not just to the parent directory) then this filename is retained. To this end, you'll end up having a problem with all directories, not just "..", which is why I suggested commenting out lines 597 to 601 (rather than your patch, which only takes care of one special case). I probably won't end up commenting this out in the repository; it's been there for a little while now and this is the only complaint I've had about it (and I imagine a fair few users pitch to win32), but hopefully this has all helped. Link: http://www.fltk.org/str.php?L2760 Version: 2.0-current _______________________________________________ fltk-bugs mailing list fltk-bugs@easysw.com http://lists.easysw.com/mailman/listinfo/fltk-bugs