FLTK logo

STR #1997

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 | SVN ⇄ GIT ]

STR #1997

Application:FLTK Library
Status:1 - Closed w/Resolution
Priority:2 - Low, e.g. a documentation error or undocumented side-effect
Scope:2 - Specific to an operating system
Subsystem:WIN32
Summary:fl_file_chooser(...) has a glitch
Version:1.4-feature
Created By:fbud
Assigned To:matt
Fix Version:None
Update Notification:

Receive EMails Don't Receive EMails

Trouble Report Files:

No files


Trouble Report Comments:


Name/Time/Date Text  
 
#1 fbud
14:28 Jul 09, 2008
I am working under windows XP using MS VC++ 2008
Here is when this bug appears:
-call fl_file_chooser once
-call it again but with another file pattern
-try to select a file by clicking on the filename
When doing so, the browser window goes up one directory. This happens because only the directory's part of the previous chosen filename is keeped. The last '/' is stripped too.
To avoid that, I simply changed line 101 of fl_file_dir.cxx to:
*(p+1) = '\0'

For some reason this bug seems to appear only under windows.
 
 
#2 matt
08:16 Jul 18, 2008
Error must be verified first. Also check if this occurs on other platform in a similar way.

Should be applied to 1.3 because 1.1.9 is final
 
 
#3 fbud
08:47 Jul 18, 2008
This error does not appears on Linux (CentOS, gcc 4.1.2).  
 
#4 AlbrechtS
07:03 Mar 10, 2015
Is this still the case in FLTK 1.3 current svn or snapshot? I believe that much has changed meanwhile, so I'd like to know if this bug report is still relevant.  
 
#5 matt
04:30 Jan 20, 2023
This STR has not been updated by the submitter for two or more weeks and has been closed as required by the FLTK Configuration Management Plan. If the issue still requires resolution, please re-submit a new STR.  
     

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'.