API Filter UI error

Topics: Developer Forum, Project Management Forum, User Forum
Oct 28, 2014 at 1:06 AM
In the API Filter dialog, after clearing the checkboxes for more than 15 members of a node, when you clear the 16th item in the tree list, it also clears the checkbox of the parent node, causing erroneous output in the project file. This requires direct editing of the project file's Xml.

To reproduce:
  1. Select an API that has at least one class with more than about 20 members.
  2. Check the class node
  3. Clear the checkboxes of 15 member nodes
  4. Observe that when clearing the checkbox of the 16th node, the UI also clears the checkbox of the class node
Oct 28, 2014 at 1:50 AM
Edited Oct 28, 2014 at 1:51 AM
The behavior you are seeing is by design and is documented (see the Including and Excluding Members section of the API Filter help topic. It is done to create a more efficient filter. If more than half of the members are omitted, the parent is written out as an exclude entry with child entries just for those marked for inclusion. If more than half are included, the opposite occurs. Building the help file will result in the proper members being included or excluded. If you think you are seeing incorrect behavior with regard to the resulting help file, please supply an example that demonstrates the problem.