Community
Participate
Working Groups
Setup your workbench so in the task view there are different tasks including TODO's, warning, errors, etc (looking at org.eclipse.ui.workbench is a good example). No open the filter dialog, and check on "Where problem severity is:" and check on "Error". Press the OK button. Notice the TODO tasks are shown still. This is not the behavior I was expecting. They should not be visible.
This filter setting does not apply to tasks since tasks do not have a severity. Therefore tasks are unaffected.
Notice that all tasks are still shown, now just 'TODO' tasks.
Sorry, but I disagree. The task view is showing a bunch of tasks - whether they be todos, warnings, errors, etc. When I say I only want to see tasks whose severity is error, all other tasks should go away. If a todo does not have a severity, that's fine, it's should be considered like todo.severity != error and be hidden. I know the base definition for "task" marker by core does not define the "severity" attribute. Nevertheless, a plugin developer could define a "mytask" marker that inherites from "task" marker and defines a "severity" attribute. So why shouldn't these participate? Note, we should change the label in the filter dialog to be "Where severity is:" (i.e not include the word problem). I would do the same with "Where priority is" and "Where status is")
I agree with you but I think that in order to change this behavior we need to add a 'Not Applicable' or 'No Severity' option to make it possible to include markers with no severity attribute defined. For example if I wanted to see Java Problems as well as regular Tasks but I didn't want to see warnings or infos. Then I could check off Error and Not Applicable. Otherwise it would be impossible for me to only see Problems and Tasks. A similar system would be required for priority and status.
fixed. split taskview and problemsview makes this invalid.