Can anybody else reproduce this with Delphi 10 Seattle:

Can anybody else reproduce this with Delphi 10 Seattle:

1. in Run -> Parameters enter a parameter, close the dialog with OK.
2. reopen the dialog, delete the parameter, close the dialog with OK
3. reopen the dialog, the parameter is back.

The only way I found to actually delete it, was entering a space.

#10Seattle

Comments

  1. I just tried it with a parameter called p1. When I came back in (#3) parameters was empty however I did have p1 as an available choice in the drop down list.

    ReplyDelete
  2. Hi Daniela Osterhagen .
    No i cannot reproduce that here. It is working as expected.

    ReplyDelete
  3. I can confirm this behavior. Also in earlier versions (XE8). I help myself with the space for a long time. Can't remember if it ever worked.

    ReplyDelete
  4. Steffen Binas Daniela Osterhagen Strange - no problem here. Do you both perhabs have something installed I do not have installed and might it be because of that?

    ReplyDelete
  5. This can happen when a parented build configuration has that parameter set. Clearing the entry means "please inherit".

    ReplyDelete
  6. Daniela Osterhagen Steffen Binas I get the same results as Roland Kossow. Works as expected.

    ReplyDelete
  7. How is it supposed to work? Do the parameters you create stay in the drop down list? Please explain the correct behavior. TIA

    ReplyDelete
  8. I think the IDE gets a bit confused when you have multiple projects and use the Project Manager's Options menu item to change a project's configuration.

    ReplyDelete
  9. Thanks Milan Vydareny . It indeed works as expected. The always showing up value was creeping around in a higher lever configuration.
    Is anybody else confused of Delphi's hierarchical configuration UI? I wish there would be: 1. A tree instead of a flat list in the combobox. 2. A clear sign that a value is inherited.

    ReplyDelete
  10. Steffen Binas There may actually be some bugs left in the IDE. (LOL. Did I say "may be?") But you also make a good point about improving the usability by a better display. I always manage to get inherited options wrong at least once while working with a project.

    ReplyDelete

Post a Comment