Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 344291

Summary: [diagram] Link labels have sizing issues when editing
Product: z_Archived Reporter: Troy Beecroft <troy.beecroft>
Component: SapphireAssignee: Shenxue Zhou <shenxue.zhou>
Status: CLOSED FIXED QA Contact:
Severity: major    
Priority: P3 CC: konstantin
Version: unspecifiedKeywords: usability
Target Milestone: ---   
Hardware: All   
OS: All   
Whiteboard:

Description Troy Beecroft CLA 2011-04-29 10:54:45 EDT
Build Identifier: 

I see the following issues when editing link labels:

1. When you have a link label that's only a few characters long, placing it in edit mode hides the first character.  The field size appears to be too small.

2. Once in edit mode, if you enter text that is longer than the original label the field doesn't grow. If it was fairly small to begin with, it's really hard to tell what you've enetered. You pretty much have to exit edit mode to see, then correct if necessary. Better would be to have the field grow as needed when text is entered, up to the max display size. Alternatively, the field could simply default to a larger fixed size when placed into edit mode.

3. Following one from #2, if you've entered text that is longer than the original label, once you terminate the edit the label does resize. However it resized by growing to the right. I expect it to stay centered where it was to begin with and grow equally on each end.

Reproducible: Always
Comment 1 Konstantin Komissarchik CLA 2011-11-02 22:09:58 EDT
Bulk deferral of diagram-related items to the 0.5 release.
Comment 2 Konstantin Komissarchik CLA 2012-05-17 17:25:56 EDT
Items #1 and #2 no longer reproduce. I suspect that these got resolved with the move away from Graphiti.

Item #3 no longer applies since the label now resizes as you type. If the label was center-anchored, the text cursor would move continuously to the left after every character. Not desirable.

Marking as closed as I verified #1 and #2.