Bug 344291 - [diagram] Link labels have sizing issues when editing
Summary: [diagram] Link labels have sizing issues when editing
Status: CLOSED FIXED
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: Sapphire (show other bugs)
Version: unspecified   Edit
Hardware: All All
: P3 major (vote)
Target Milestone: ---   Edit
Assignee: Shenxue Zhou CLA
QA Contact:
URL:
Whiteboard:
Keywords: usability
Depends on:
Blocks:
 
Reported: 2011-04-29 10:54 EDT by Troy Beecroft CLA
Modified: 2021-11-19 09:21 EST (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.