Bug 49540 - Sort "Add" menus alphabetically
Sort "Add" menus alphabetically
Status: RESOLVED FIXED
Product: JMeter
Classification: Unclassified
Component: Main
unspecified
All All
: P2 enhancement (vote)
: ---
Assigned To: JMeter issues mailing list
:
Depends on:
Blocks:
  Show dependency tree
 
Reported: 2010-07-02 03:28 UTC by Andrey Pohilko
Modified: 2010-07-02 05:42 UTC (History)
0 users



Attachments
proposed patch (1.67 KB, patch)
2010-07-02 03:29 UTC, Andrey Pohilko
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Andrey Pohilko 2010-07-02 03:28:34 UTC
There's a lot of plugins in JMeter already and when user's trying to add another sampler (or something) to test plan, he sees a long menu with items sorted with seems no order. Actually it is ordered by reverse plugin load order, but this makes no sense.

Provided patch sorts menus alphabetically by visual label.

Images at http://www.apc.kg/img/jmeter/ illustrate that classname sort order is bad and alphabetical order is better than current.
Comment 1 Andrey Pohilko 2010-07-02 03:29:44 UTC
Created attachment 25684 [details]
proposed patch
Comment 2 Sebb 2010-07-02 05:42:11 UTC
Thanks!

Patch applied:

URL: http://svn.apache.org/viewvc?rev=959929&view=rev
Log:
Bug 49540 - Sort "Add" menus alphabetically

Modified:
   jakarta/jmeter/trunk/src/core/org/apache/jmeter/gui/util/MenuFactory.java
   jakarta/jmeter/trunk/xdocs/changes.xml