Watch, Follow, &
Connect with Us
Public Report
Report From: Delphi-BCB/IDE/Dialogs/Project Options    [ Add a report in this area ]  
Report #:  82438   Status: Closed
Single path [...] buttons do not expand environment variable entries
Project:  Delphi Build #:  14.0.3615.26342
Version:    14.0 Submitted By:   Leo Siefert
Report Type:  Basic functionality failure Date Reported:  2/24/2010 8:14:56 AM
Severity:    Commonly encountered problem Last Updated: 3/20/2012 2:24:39 AM
Platform:    All versions Internal Tracking #:   275197
Resolution: Fixed (Resolution Comments) Resolved in Build: : 15.0.3890.34076
Duplicate of:  None
Voting and Rating
Overall Rating: No Ratings Yet
0.00 out of 5
Total Votes: 20
Description
In the project options dialog there are several options that accept a single directory entry: BPI/LIB output, intermediate output, final output, etc. If I enter an environment variable containing a valid path into one of these fields, then press the [...] button I expect the directory I entered to be selected, verifying my typing and allowing me to select a nearby directory easily.

QC 82437 shows a problem with the directory selection box immediately recognizing any new entry, but environment variables are not recognized even after being saved as in the workaround for that report.

This is inconsistent with the operation of the [...] buttons in the Tools | Options dialog, which work correctly.

This also eliminates the possibility of checking the accuracy of the environment variable path.
Steps to Reproduce:
File | New | VCL Forms app
Project | Options | Delphi Compiler
On the DCP output directory line type $(BDS)
Click Ok to save - see qc 82437 for why this is necessary
Project | Options | Delphi Compiler
Click the [...] button

Exp: Directory select dialog will show c:\program files\embarcadero\RAD Studio\7.0

Act: Shows the default project directory

AFAICT, this makes it impossible to verify that the environment variable is typed correctly and represents an existing path.
Workarounds
x
Attachment
None
Comments

None

Server Response from: ETNACODE01