Renaming an entry in Build Modes clears out all settings under "Additions and Overrides"
Original Reporter info from Mantis: BrainWaveCC
-
Reporter name: Andrew S. Baker (ASB)
Original Reporter info from Mantis: BrainWaveCC
- Reporter name: Andrew S. Baker (ASB)
Description:
Greetings:
I'm currently using the fixes branch of both Lazarus and FPC, but I've tested this with Lazarus 2.0.2 and 2.0.0 as well.
Whenever I rename an entry in Build Modes, I lose all the configuration under "Additions and Overrides" for the renamed entry. Everything else is fine (Path, Config and Target, etc).
The following may also be a related issue:
If I open several projects back to back that all have the same Build Mode options, then the "Compile Many Modes..." setting will keep the check boxes enabled across projects. But, if the names of the build modes are different in a project that I open, as compared to the one previous, the checkboxes will all be cleared.
Shouldn't the build mode setting be stored with each project? (Mine are in my lpi file)
And shouldn't they be called each time a project is opened?
Steps to reproduce:
Open the Lazarus IDE
Go to "Project" -> "Project Options" -> "Additions and Overrides"
Take note of all the current selections
Go to "..." next to "Build Modes"
Select any current build mode and rename it.
Look at the "Additions and Overrides" dialog and note that the renamed mode no longer has any boxes checked
Information on other tabs (e.g. "Custom Options", "Paths", "Config and Target", etc) remains intact.
Mantis conversion info:
- Mantis ID: 35572
- OS: Windows 10
- OS Build: 1803 and 1903
- Build: 61159
- Platform: Windows 10 x64
- Version: 2.0.3 (SVN)
- Fixed in revision: r62120 (#f625e656)