| [ Return to Bugs & Features | Roadmap 1.1 | SVN ⇄ GIT ]
STR #1359
Application: | FLTK Library |
Status: | 1 - Closed w/Resolution |
Priority: | 2 - Low, e.g. a documentation error or undocumented side-effect |
Scope: | 3 - Applies to all machines and operating systems |
Subsystem: | Core Library |
Summary: | fl_file_chooser doesn't obey fname |
Version: | 1.1-current |
Created By: | derek.signalmarketing |
Assigned To: | matt |
Fix Version: | 1.1-current (SVN: v5355) |
Update Notification: | |
Trouble Report Files:
|
#1 | derek.signalmarketing 14:21 Jul 18, 2006 |
| chooser.cpp 0k | |
Trouble Report Comments:
|
#1 | derek.signalmarketing 14:21 Jul 18, 2006 |
| passing "" as fname is the same as passing NULL (the last returned file is used).
This happens even if the pattern is changed. | |
|
#2 | matt 07:27 Aug 24, 2006 |
| Fixed in Subversion repository.
fl_file_chooser behavior changed slightly, but seems more conform to the documentation, so I guess this is a Good Thing:
Setting the filename to NULL will reuse the previous filename, unless the pattern changed, in which case it will set the filename to "" but keep the directory (the second issue did not work as expected).
If the user supplies an empty filename "", the path will be reused, but no filename is set. It used to do the same as a NULL pointer, but I think that that is not intended. | |
[ Return to Bugs & Features ]
|
| |