STR #1359

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 #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:

Receive EMails Don't Receive EMails

Trouble Report Files:


Name/Time/Date Filename/Size top right image
 
#1 derek.signalmarketing
14:21 Jul 18, 2006
chooser.cpp
0k
 
bottom left image   bottom right image

Trouble Report Comments:


Name/Time/Date Text top right image
 
#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.
 
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'.