Bug 52934 - GUI : Open Test plan with the tree expanded to the testplan level and no further and select the root of the tree
GUI : Open Test plan with the tree expanded to the testplan level and no furt...
Status: RESOLVED FIXED
Product: JMeter
Classification: Unclassified
Component: Main
2.6
All All
: P2 enhancement with 1 vote (vote)
: ---
Assigned To: JMeter issues mailing list
:
Depends on:
Blocks:
  Show dependency tree
 
Reported: 2012-03-17 22:32 UTC by Philippe Mouawad
Modified: 2012-03-18 20:14 UTC (History)
1 user (show)



Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Philippe Mouawad 2012-03-17 22:32:02 UTC
Actually, I also find myself pressing CMD minus every time I open a testplan.

In an ideal world, the testplan would open with the tree expanded to the
testplan level and no further.

In JMeter utopia, the focus would also default to the root of the tree so
when I hit the arrow keys they let me traverse without having to mouse click
their first.

See discussion on mailing list of 03/13/2012
Comment 1 shmulikk 2012-03-18 07:41:37 UTC
I was about to open a ticket on this, good search here saved my time :)
Comment 2 Philippe Mouawad 2012-03-18 14:30:00 UTC
Regarding focus, today some added components require focus:
-ThreadGroupGui in Thread field at init of JMeter

So opening a Test plan that contains Thread Group will focus on the "Number of threads (users)" field.


I propose to abandon this behaviour.
After implementing this bhaviour, I propose to change default value of :
onload.expandtree=false
Comment 3 shmulikk 2012-03-18 14:37:58 UTC
I agree that this should be enough for most users and easier to implement :)

BTW - Why would anyone like to have a focus on the number of threads in the thread group?
Comment 4 Philippe Mouawad 2012-03-18 20:14:54 UTC
Date: Sun Mar 18 20:13:42 2012
New Revision: 1302215

URL: http://svn.apache.org/viewvc?rev=1302215&view=rev
Log:
Bug 52934 - GUI : Open Test plan with the tree expanded to the testplan level and no further and select the root of the tree

Modified:
   jmeter/trunk/bin/jmeter.properties
   jmeter/trunk/src/components/org/apache/jmeter/timers/gui/AbstractRandomTimerGui.java
   jmeter/trunk/src/core/org/apache/jmeter/JMeter.java
   jmeter/trunk/src/core/org/apache/jmeter/control/gui/IfControllerPanel.java
   jmeter/trunk/src/core/org/apache/jmeter/control/gui/WhileControllerGui.java
   jmeter/trunk/src/core/org/apache/jmeter/gui/action/Close.java
   jmeter/trunk/src/core/org/apache/jmeter/gui/action/Load.java
   jmeter/trunk/src/core/org/apache/jmeter/threads/gui/ThreadGroupGui.java
   jmeter/trunk/xdocs/changes.xml