| [ Return to Bugs & Features | Roadmap 1.1 | SVN ⇄ GIT ]
STR #746
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: | Patch for Fl_File_Chooser and Enter key |
Version: | 1.1.6 |
Created By: | Natevw |
Assigned To: | mike |
Fix Version: | 1.1-current (SVN: v4188) |
Update Notification: | |
Trouble Report Files:
Trouble Report Comments:
|
#1 | Natevw 22:25 Mar 04, 2005 |
| An Fl_File_Chooser of type DIRECTORY does not fully utilize the Enter key. When the focus is in the pathname input, Enters go only to set the directory. Even if the directory being shown is the directory typed in, the user must "manually" trigger the OK button (an Fl_Return_Button).
This patch checks the directory being shown against the directory typed in. If they differ, the directory is opened. If they don't, the directory is returned by triggering the okButton callback.
The code is messy because the string from directory() doesn't have a trailing slash, while the typed pathname often does.
-nate
| |
|
#2 | mike 08:11 Mar 25, 2005 |
| Fixed in Subversion repository.
| |
[ Return to Bugs & Features ]
|
| |