Project JEDI - Issue Tracker
Mantis Bugtracker

Viewing Issue Simple Details Jump to Notes ] View Advanced ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0003120 [JEDI VCL] 00 JVCL Components minor always 2005-07-28 11:27 2005-08-08 15:48
Reporter anonymous View Status public  
Assigned To remkobonte
Priority normal Resolution fixed  
Status resolved   Product Version 3.00
Summary 0003120: TJvFilenameEdit: Filenames with Spaces and AddQuotes := False
Description When selecting a filename which contains spaces and opening the selection dialog again all characters after the first space are missing.
Example: DialogKind = dkSave
Set the filename to 'c:\this is a test.txt' (without the quotes of course).
Open the selection dialog by clicking the button.
The filename in the selection dialog is 'c:\this'.
Additional Information Here's a fix for this issue.
The original code is in the IFDEF $ORIGINAL_CODE block, the fix in the $ELSE block.


{.$DEFINE ORIGINAL_CODE}

procedure TJvFilenameEdit.PopupDropDown(DisableEdit: Boolean);
var
  Temp: string;
  Action: Boolean;
begin
{$IFDEF ORIGINAL_CODE}
  Temp := inherited Text;
  Action := True;
  Temp := ClipFilename(Temp);
{$ELSE}
  Temp := GetFileName; // $$$
  Action := True; // $$$
{$ENDIF}
Tags No tags attached.
Attached Files

- Relationships

-  Notes
(0007697)
remkobonte (developer)
2005-08-08 15:48

This is now fixed in Rev. 1.177 of JvToolEdit.pas.

- Issue History
Date Modified Username Field Change
2005-07-28 11:27 anonymous New Issue
2005-08-08 15:48 remkobonte Status new => resolved
2005-08-08 15:48 remkobonte Resolution open => fixed
2005-08-08 15:48 remkobonte Assigned To => remkobonte
2005-08-08 15:48 remkobonte Note Added: 0007697


Mantis 1.1.6[^]
Copyright © 2000 - 2008 Mantis Group
Powered by Mantis Bugtracker