Bug 60449 - JMeter Tree : Annoying behaviour when node name is empty
Summary: JMeter Tree : Annoying behaviour when node name is empty
Status: RESOLVED FIXED
Alias: None
Product: JMeter
Classification: Unclassified
Component: Main (show other bugs)
Version: 3.1
Hardware: All All
: P2 normal (vote)
Target Milestone: ---
Assignee: JMeter issues mailing list
URL:
Keywords: PatchAvailable
Depends on:
Blocks:
 
Reported: 2016-12-06 21:49 UTC by Philippe Mouawad
Modified: 2016-12-13 20:46 UTC (History)
1 user (show)



Attachments
Patch for a fix (1.57 KB, patch)
2016-12-06 22:04 UTC, Philippe Mouawad
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Philippe Mouawad 2016-12-06 21:49:42 UTC
When you add a component in the Test plan Tree, if Name is set to empty it becomes very difficult to select the node. 
You must click on the left icon to be able to.
Comment 1 Philippe Mouawad 2016-12-06 22:04:11 UTC
Created attachment 34503 [details]
Patch for a fix
Comment 2 Sebb 2016-12-07 09:31:07 UTC
isBlank() returns true for multiple spaces.
Surely the check should be for isEmpty?

Or just check if the length is 0; I don't think it can be null.
Comment 3 Philippe Mouawad 2016-12-13 20:46:42 UTC
Author: pmouawad
Date: Tue Dec 13 20:46:14 2016
New Revision: 1774101

URL: http://svn.apache.org/viewvc?rev=1774101&view=rev
Log:
Bug 60449 - JMeter Tree : Annoying behaviour when node name is empty
Bugzilla Id: 60449

Modified:
    jmeter/trunk/src/core/org/apache/jmeter/gui/tree/JMeterCellRenderer.java
    jmeter/trunk/xdocs/changes.xml