Notice (2018-05-24): bugzilla.xamarin.com is now in
Please join us on
Visual Studio Developer Community and in the
Mono organizations on
GitHub to continue tracking issues. Bugzilla will remain
available for reference in read-only mode. We will continue to work
on open Bugzilla bugs, copy them to the new locations
as needed for follow-up, and add the new items under Related
Our sincere thanks to everyone who has contributed on this bug
tracker over the years. Thanks also for your understanding as we
make these adjustments and improvements for the future.
Please create a new report on
Developer Community or GitHub with
your current version information, steps to reproduce, and relevant error
messages or log files if you are hitting an issue that looks similar to
this resolved bug and you do not yet see a matching new report.
Created attachment 1041 [details]
Description of Problem:
When removing a folder from the Preferences -> Build -> Assembly Folders dialog box all the buttons get grayed out. To add an assembly folder you have to exit out of the dialog.
Steps to reproduce the problem:
1. Have an assembly folder added in Preferences -> Build -> Assembly Folders dialog box.
2. Open the Preferences -> Build -> Assembly Folders dialog box.
2. Remove one of the assembly folders.
All buttons get grayed out.
Add and Update button should not be grayed out.
How often does this happen?
Every time I remove an assembly folder.
Attached is a log file of the console when this happens.
The resulting TreeIter from the remove was not being checked for validity properly prior to attempting to reselect the next item in the list. Also, the PathChanged event on the folder entry control was not mapped to UpdateStatus() so the Add button was not being reenabled when the box was populated.
I fixed the iterator check so that it no longer throws the errors described in the attachment. I also added a handler for the PathChanged event so that as the user types or removes text in the folder entry box (or adds from the browse dialog) the status of the buttons is updated.