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 230448

Summary: quickfilter
Product: profiler Reporter: dyury
Component: BaseAssignee: issues@profiler <issues>
Status: NEW ---    
Severity: normal CC: alexander.burdukov
Priority: P3    
Version: 7.3   
Hardware: All   
OS: All   
Issue Type: ENHANCEMENT Exception Reporter:
Attachments: Profiling snapshot
quickfilter result

Description dyury 2013-05-29 11:34:52 UTC
Created attachment 135064 [details]
Profiling snapshot

NetBeans 7.3
Detected on ME SDK Profiling.

Load snapshot and try to filter by "sqe" (Contains)
You may see that the result is empty.

While if you find sqe using Ctrl+F, you may find the results.
Comment 1 dyury 2013-05-29 11:36:06 UTC
Created attachment 135065 [details]
quickfilter result
Comment 2 Jiri Sedlacek 2013-06-04 13:03:25 UTC
The filtering is implemented in a top-down way, filtering-out nodes not matching the provided pattern. If a filtered-out node doesn't contain direct child node matching the filter, it's treated as a leaf node. From this perspective, the described behavior works as designed.

Leaving open and changing to Enhancement for further evaluation. Probably more useful possibilities would be filtering the full results tree (not stopping at first level below a filtered-out node, time consuming) or simulating profiling roots approach (first nodes matching the filter would be at the top of the results tree, removing the topmost Filtered-out nodes).
Comment 3 Jiri Sedlacek 2013-06-04 13:05:10 UTC
To better understand the real world requirements and decide which way to go, could you please describe your use case for filtering the results tree? What results would you expect to see after filtering by "sqe"? Thanks.
Comment 4 dyury 2013-07-22 17:19:32 UTC
> What results would you expect to see after filtering by "sqe"?

I'd like to see all the nodes (including leaf nodes), which are suited to filter condition.

In other words, if a filter is like contains "sqe" then we should have all the nodes, which can be found using Ctrl+F or Find in Results... button.