FLTK logo

STR #746

FLTK matrix user chat room
(using Element browser app)   FLTK gitter user chat room   GitHub FLTK Project   FLTK News RSS Feed  
  FLTK Apps      FLTK Library      Forums      Links     Login 
 Home  |  Articles & FAQs  |  Bugs & Features  |  Documentation  |  Download  |  Screenshots  ]
 

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:

Receive EMails Don't Receive EMails

Trouble Report Files:


Name/Time/Date Filename/Size  
 
#1 Natevw
22:25 Mar 04, 2005
Fl_File_Chooser2_patch.txt
1k
 
     

Trouble Report Comments:


Name/Time/Date Text  
 
#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 ]

 
 

Comments are owned by the poster. All other content is copyright 1998-2024 by Bill Spitzak and others. This project is hosted by The FLTK Team. Please report site problems to 'erco@seriss.com'.