Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 18458

Summary: [Tasks] Task view does not update filter correctly when a selection provider gives on items
Product: [Eclipse Project] Platform Reporter: Chris McLaren <csmclaren>
Component: UIAssignee: Stefan Xenos <sxenos>
Status: RESOLVED DUPLICATE QA Contact:
Severity: normal    
Priority: P3    
Version: 2.0   
Target Milestone: ---   
Hardware: PC   
OS: Windows 2000   
Whiteboard:
Bug Depends on:    
Bug Blocks: 17783    

Description Chris McLaren CLA 2002-05-31 11:14:21 EDT
with navigator and package view both open, select no items on navigator (ctrl 
click the current selection off if necessary), activate package view and select 
some items. adjust task filter to filter by one of the selection options. now 
activate navigator view. notice no change.
Comment 1 Chris McLaren CLA 2002-05-31 11:27:46 EDT
this is due to the fact task view has intentionally introduced a bug: i.e. to 
only change the selection when the active part is an editor, or a view 
providing a structured selection of one or more resources. the motivation for 
this i believe is to force a lazy behavior so the task view doesn't flicker too 
much when activating views that don't contribute to the task view. the design 
problem is that the task view is proactively attaches itself to the selections 
of the active view without any knowledge if that view can provide a meaningful 
selection. outline view, for instance, returns a selection of 0 items even when 
there is no outline available, where other views return null for their 
selection. without a formal contract between the task view and the active view 
for the active view to supply resources, the task view needs to be able to 
intelligently determine whether or not a selection is providing resources. it 
cannot do this with a null or empty selection.
Comment 2 Chris McLaren CLA 2002-09-25 09:47:17 EDT
(ignore this comment: bugzilla test)
Comment 3 Chris McLaren CLA 2002-09-25 09:48:57 EDT
(ignore this comment: bugzilla test 2)
Comment 4 Stefan Xenos CLA 2004-08-25 14:35:34 EDT

*** This bug has been marked as a duplicate of 6611 ***