This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 38167

Summary: The status of filter (active/inactive) is lost when switched between views
Product: contrib Reporter: Jan Lahoda <jlahoda>
Component: TasklistAssignee: tasklist-issues@contrib <tasklist-issues>
Status: VERIFIED FIXED    
Severity: blocker CC: dpavlica
Priority: P3 Keywords: UI
Version: 3.x   
Hardware: Sun   
OS: SunOS   
Issue Type: DEFECT Exception Reporter:

Description Jan Lahoda 2003-12-17 10:38:26 UTC
Build 200312161900, JDK1.4.2.

Steps:
1. Open the TODOs window.
2. Switch to "Current File".
3. "Edit Filter" -> add a filter
4. The view is automatically filtered.
5. Switch to "All Files" and back to "Current File".
6. The view is unfiltered, the filter is
"deactivated", the user has to "activate" on
his/her own.

I would suppose that the view stays filtered (the
filter stays "activated").
Comment 1 _ pkuzel 2003-12-18 15:30:23 UTC
It's intentionaly coded so. However it makes sense to remember state
for each inner tab and restore it later on. I guess that user will
never filter current file view so he'll not be confused by empty view
caused by applied filter. Or code can restore the state only for All
Files tab.

Comment 2 _ pkuzel 2004-02-05 21:59:47 UTC
It seemed to be a piece of cake but it's not :-(.
Comment 3 _ pkuzel 2004-02-05 22:58:26 UTC
the view keeps two filter instances and swaps them accordingly.
Comment 4 Jan Lahoda 2004-06-28 14:28:29 UTC
Seems OK in 200406271800.