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 86702 - Find action doesn't work in results tables (CPU & Memory)
Summary: Find action doesn't work in results tables (CPU & Memory)
Status: VERIFIED FIXED
Alias: None
Product: profiler
Classification: Unclassified
Component: Base (show other bugs)
Version: 5.x
Hardware: All Windows XP
: P3 blocker (vote)
Assignee: Jiri Sedlacek
URL:
Keywords:
: 89870 (view as bug list)
Depends on:
Blocks: 97664
  Show dependency tree
 
Reported: 2006-10-06 18:58 UTC by tjquinn
Modified: 2007-11-09 22:00 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description tjquinn 2006-10-06 18:58:06 UTC
Running NB 5.5 rc1 and Profiler 5.5 rc1.  

I analyzed performance and created a snapshot. In the snapshot's Hotspots view
the Edit->Find (ctrl/F) dialog opens and accepts my target.  But in the Hotspots
window it does not find anything even when the target string is present in the
Hotspots list.  The find function works correctly in the other views, even in
the Hotspots half of the combined view!

Also, the find function is not even enabled in the HotSpots view of the Live
Results display.  Why would it be disabled there?
Comment 1 Jiri Sedlacek 2006-10-06 19:25:32 UTC
Actually this is by design, the idea was that searching is necessary only in
trees where many occurrences of the same method are hidden when collapsed. In
tables you can always sort items by names and navigate to the one you are
searching for. In combined view it seems to work in hotspots because selections
of the two views are synchronized.

But I agree that find should be implemented also for tables to not force the
user to search "manually" in big amount of data - or just to keep consistency in
all views. At least if not implemented, the Find action in toolbar should be
disabled.
Comment 2 Jiri Sedlacek 2007-01-05 18:12:42 UTC
The same applies also for memory snapshots. Actually also Find Next and Find 
Previous actions are usable in tables and should be available since Find works 
in a "contains substring" manner and items may be searched by package name.
Comment 3 Jiri Sedlacek 2007-01-05 18:13:40 UTC
*** Issue 89870 has been marked as a duplicate of this issue. ***
Comment 4 Alexander Kouznetsov 2007-01-17 13:03:48 UTC
Reproduced with CPU snapshot's Hot Spot view for the following version:
NetBeans IDE Dev (Build 200701141900)
1.5.0_10; Java HotSpot(TM) Client VM 1.5.0_10-b03
Windows XP version 5.1 running on x86
ru_RU (nb); Cp1251

Profiler 070117
Comment 5 Jiri Sedlacek 2007-01-31 09:40:05 UTC
Improving Summary to better represent the problem.
Comment 6 Alexander Kouznetsov 2007-02-12 21:41:27 UTC
Also reproducible with Alloc Diff table. Profiler 070212
Comment 7 Alexander Kouznetsov 2007-07-11 20:32:15 UTC
I believe this should be considered as P2 issue since no workaround exists.
Comment 8 Jiri Sedlacek 2007-07-11 20:35:20 UTC
I believe the workaround is actually the reason why it wasn't implemented - in table you can simply sort items according
to first column and find the data you are searching for. Looks like simple workaround so P3 should perfectly fit.
Comment 9 Alexander Kouznetsov 2007-07-11 20:49:38 UTC
Well, it could be a workaround in case you are searching the whole object/method name, but it couldn't be if you are
searching by some substring.
Comment 10 Jiri Sedlacek 2007-08-17 17:23:39 UTC
You're right. Fixed for Beta1.
Comment 11 Alexander Kouznetsov 2007-11-09 22:00:04 UTC
Verified with
Product Version: NetBeans IDE 6.0 RC1 (Build 200711090000)
Java: 1.6.0_03; Java HotSpot(TM) Client VM 1.6.0_03-b05
System: Windows XP version 5.1 running on x86; Cp1251; ru_RU (nb)