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 - quickfilter
Summary: quickfilter
Status: NEW
Alias: None
Product: profiler
Classification: Unclassified
Component: Base (show other bugs)
Version: 7.3
Hardware: All All
: P3 normal (vote)
Assignee: issues@profiler
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-05-29 11:34 UTC by dyury
Modified: 2013-07-22 17:19 UTC (History)
1 user (show)

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments
Profiling snapshot (62.44 KB, application/octet-stream)
2013-05-29 11:34 UTC, dyury
Details
quickfilter result (11.70 KB, image/png)
2013-05-29 11:36 UTC, dyury
Details

Note You need to log in before you can comment on or make changes to this bug.
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.