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 268298 - Improve profiler popups - initial size & custom size persistence
Summary: Improve profiler popups - initial size & custom size persistence
Status: NEW
Alias: None
Product: profiler
Classification: Unclassified
Component: Ide (show other bugs)
Version: Dev
Hardware: All All
: P3 normal (vote)
Assignee: Jiri Sedlacek
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-09-30 21:38 UTC by NukemBy
Modified: 2016-12-12 13:22 UTC (History)
0 users

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments
Inconvinient Threads Selector in Self-Profiler.jpg (231.16 KB, image/jpeg)
2016-09-30 21:38 UTC, NukemBy
Details

Note You need to log in before you can comment on or make changes to this bug.
Description NukemBy 2016-09-30 21:38:47 UTC
Created attachment 162298 [details]
Inconvinient Threads Selector in Self-Profiler.jpg

I was doing intensive self-profiling of NetBeans last two weeka an this UI weakness is really annoying - please view the attached screenshot.

Very frequent action during profiling is select one single thread and hiding others. Currently this is possible to be done via drop-down list of thread but ... thread names used in NetBeans are really long - only 30% of thread name fits into width of the drop down. In such conditions selecting one thread among 10th of such threads is ... ah ... rather lengthy operation.

I recommend doing following (dummy mock up is also in attached screenshot):

1. Add quick action in context menu when right-clicking over thread name - "Hide other thread". This will immediately cover my particular use-case.

2. But problem still applies when 2+ threads need to be selected out of 50. Setting width of the drop down to the width of the column with thread name (plus width of scrollbar) will fix that issue too.
Comment 1 NukemBy 2016-10-02 11:35:37 UTC
Few additional points:

1. Filtering works in case-sensitive manner - inconvenient

2. Checking/un-checking threads with keyboard/spacebar - mostly does not work (i.e. it works in some conditions, but i can't tell in which exactly)

3. It has sense to display dropdown with the same sort-order as the main list - for example to quickly select only 3 top-most-consuming threads.
Comment 2 Jiri Sedlacek 2016-11-09 16:55:05 UTC
Case-insensitive filtering implemented as RFE #257727.
Comment 3 Jiri Sedlacek 2016-11-18 14:47:25 UTC
Show Only This Thread and Hide This Thread actions added in http://hg.netbeans.org/profiler-main/rev/fb8dd3bd124d.
Comment 4 Jiri Sedlacek 2016-11-18 18:09:13 UTC
Selecting threads using keyboard/SPACE fixed in http://hg.netbeans.org/profiler-main/rev/bc2f15aec3cf.
Comment 5 Quality Engineering 2016-11-23 03:19:21 UTC
Integrated into 'main-silver', will be available in build *201611230001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/fb8dd3bd124d
User: Jiri Sedlacek <jis@netbeans.org>
Log: Partial fix of #268298 - added Show Only This Thread and Hide This Thread actions to Methods results
Comment 6 Jiri Sedlacek 2016-12-09 17:24:02 UTC
Added a possibility to resize all profiler popups to address the problems with displaying large strings. Size not persistent yet. Implemented in http://hg.netbeans.org/profiler-main/rev/b708b2532ded.
Comment 7 Jiri Sedlacek 2016-12-09 17:27:27 UTC
Changing to ENHANCEMENT to track the other requested improvements:

 - improve initial size of Threads selector
 - persist customized size of Threads selector
 - reuse the results sorting when displaying Threads selector
Comment 8 Jiri Sedlacek 2016-12-12 13:22:05 UTC
Similar request in Bug 267603 - the initial size should be improved for all popups and custom size should be persisted.