PR# 14308 EiffelCOM wizard changes target directory after pushing "generate" if combo box list is full.
Problem Report Summary
Submitter: meor100
Category: EiffelCOM
Priority: Medium
Date: 2008/05/06
Class: Bug
Severity: Non-critical
Number: 14308
Release: 6.2.7.2277
Confidential: No
Status: Open
Responsible:
Environment: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.14) Gecko/20080404 Firefox/2.0.0.14
Synopsis: EiffelCOM wizard changes target directory after pushing "generate" if combo box list is full.
Description
If the "Generate Options" -> "Generate Files into:" combo box list is full and the user selects a new directory with the "..." button, when they push "Generate" a different directory is selected from the drop down list and the compilation starts generating in that other directory. This is especially irritating when "Clean destination folder" is enabled as it will wipe out previously generated wrappers. The problem is around line WIZARD_SAVED_SETTING.add_combo_item @ 20 "a_combo.remove" While this line is being executed one of the combo box windows is getting assigned text from the drop down box, not the text line, and causes a different directory to be selected than the used expects. I'd diagnose it further but I'm not that good with Vision and I'm running in circles.
To Reproduce
Fill the "Generate files into:" combo box with 10 items. Select the "..." button, make a new directory, choose the new directory, push ok. "Generate files into:" will now show the new directory, push "Generate". The program will automatically switch to the output tab. Switch back to the "Generation Options" tab and a different directory will be in the combo box.
Problem Report Interactions