Bug 145338 - Text moves between editing and displaying
Summary: Text moves between editing and displaying
Status: RESOLVED FIXED
Alias: None
Product: GMF-Runtime
Classification: Modeling
Component: General (show other bugs)
Version: 1.0   Edit
Hardware: PC Windows XP
: P3 normal
Target Milestone: 1.0.1   Edit
Assignee: Steven R. Shaw CLA
QA Contact:
URL:
Whiteboard:
Keywords: usability
Depends on:
Blocks:
 
Reported: 2006-06-05 09:42 EDT by Steven R. Shaw CLA
Modified: 2006-07-13 17:50 EDT (History)
1 user (show)

See Also:


Attachments
Patch for text offset issue (1.71 KB, patch)
2006-06-06 09:20 EDT, Steven R. Shaw CLA
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Steven R. Shaw CLA 2006-06-05 09:42:19 EDT
Problem: When working with various diagram items, text during editing moves a few pixels to the right of the actual text location. This move can help to undermine a consumers confidence in the platform. 

Solution: place text in precisely the same location during editing and display.
Comment 1 Steven R. Shaw CLA 2006-06-06 09:20:07 EDT
Created attachment 43584 [details]
Patch for text offset issue

See attachment for patch for text offset issue.  Problem was that the cell editor locator wasn't using the Text control api to compute the trim value based on a desired rectangle.  This should be targetted for 1.0.1.
Comment 2 Steven R. Shaw CLA 2006-06-06 09:21:52 EDT
Should target for 1.0.1 (patch is attached)
Comment 3 Steven R. Shaw CLA 2006-07-13 17:50:59 EDT
Fixed problem where text was moving slightly when entering edit mode.  CellEditorLocator needed to use computeTrim api to accommodate trim around cell editor when calculating position.

Committed patch to R1_0_maintenance
Comment 4 Eclipse Webmaster CLA 2010-07-19 12:30:27 EDT
[GMF Restructure] Bug 319140 : product GMF and component Runtime Diagram was the original product and component for this bug