Bug 60449

Summary: JMeter Tree : Annoying behaviour when node name is empty
Product: JMeter Reporter: Philippe Mouawad <p.mouawad>
Component: MainAssignee: JMeter issues mailing list <issues>
Status: RESOLVED FIXED    
Severity: normal CC: p.mouawad
Priority: P2 Keywords: PatchAvailable
Version: 3.1   
Target Milestone: ---   
Hardware: All   
OS: All   
Attachments: Patch for a fix

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