Skip to content

Commit

Permalink
Bug 59975 - View Results Tree : Text renderer annoyingly scrolls down…
Browse files Browse the repository at this point in the history
… when content is bulky

Contributed by Ubik Load Pack
Bugzilla Id: 59975

git-svn-id: https://svn.apache.org/repos/asf/jmeter/trunk@1756028 13f79535-47bb-0310-9956-ffa450edef68
  • Loading branch information
pmouawad committed Aug 11, 2016
1 parent 28252a4 commit 1e9724d
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,7 @@ public void setSamplerResult(Object objectResult) {
}
if (sb.length() > 0) {
sampleDataField.setText(sb.toString());
sampleDataField.setCaretPosition(1);
} else {
// add a message when no request data (ex. Java request)
sampleDataField.setText(JMeterUtils
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -334,6 +334,7 @@ public void setupTabPane() {
statsBuff.append(JMeterUtils.getResString("view_results_assertion_failure_message")).append(assertionResult.getFailureMessage()).append(NL); //$NON-NLS-1$
statsDoc.insertString(statsDoc.getLength(), statsBuff.toString(), null);
}
stats.setCaretPosition(1);
} catch (BadLocationException exc) {
stats.setText(exc.getLocalizedMessage());
}
Expand Down
1 change: 1 addition & 0 deletions xdocs/changes.xml
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,7 @@ Summary
<h3>Listeners</h3>
<ul>
<li><bug>59953</bug>GraphiteBackendListener : Add Average metric. Partly contributed by Maxime Chassagneux (maxime.chassagneux at gmail.com)</li>
<li><bug>59975</bug>View Results Tree : Text renderer annoyingly scrolls down when content is bulky. Contributed by Ubik Load Pack (support at ubikloadpack.com)</li>
</ul>

<h3>Timers, Assertions, Config, Pre- &amp; Post-Processors</h3>
Expand Down

0 comments on commit 1e9724d

Please sign in to comment.