STR #1410

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 ]

STR #1410

Application:FLTK Library
Status:1 - Closed w/Resolution
Priority:4 - High, e.g. key functionality not working
Scope:3 - Applies to all machines and operating systems
Subsystem:Core Library
Summary:fl_file_chooser crashes on second call
Version:1.1-current
Created By:christoph
Assigned To:matt
Fix Version:1.1-current (SVN: v5417)
Update Notification:

Receive EMails Don't Receive EMails

Trouble Report Files:

No files


Trouble Report Comments:


Name/Time/Date Text top right image
 
#1 christoph
09:10 Sep 03, 2006
fl_file_chooser() crashes when first canceled and then called a second time. Replacing src/fl_file_dir.cxx with an older version solves the problem, so it must be related to this file.  
 
#2 matt
11:26 Sep 04, 2006
I can't duplicate that behavior usung 'test/file_chooser'. Please make sure that after updating via SVN to do a "make clean" before you do a "make". If the problem is still there, please post simplified source code and describe exactly what to do to make the app crash.  
 
#3 christoph
02:13 Sep 05, 2006
It seems that the error only occurs ehen the last argument in fl_file_chooser() is an empty string. Here is a minimal example:

#include <FL/Fl_File_Chooser.H>
int main() {
  fl_file_chooser("Press Cancel", "*", "");
  fl_file_chooser("Press Cancel", "*", "");
  return 0;
}

When you press cancel in the first file chooser, the second file chooser will crash (tested on OSX with fltk-1.1 svn form 05/09/2006 (DD/MM/YYYY).
 
 
#4 matt
02:58 Sep 05, 2006
Fixed in Subversion repository.

Thanks for the sample code.
 
bottom left image   bottom right image

Return to Bugs & Features ]

 
 

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