Bug 379149 - Text Size Determination incorrect for Status Line contribution items showing Chinese
Summary: Text Size Determination incorrect for Status Line contribution items showing ...
Status: ASSIGNED
Alias: None
Product: RAP
Classification: RT
Component: Workbench (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-05-10 11:27 EDT by Scott Helsby CLA
Modified: 2014-12-01 08:27 EST (History)
0 users

See Also:


Attachments
ZIP file containing simple project reproducing the issue (4.74 KB, application/octet-stream)
2012-05-10 11:29 EDT, Scott Helsby CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Scott Helsby CLA 2012-05-10 11:27:42 EDT
Build Identifier: 1.5.0.20120320-1638

When showing Chinese characters, Status line items are cut-off on the right edge due to incorrect Text Size Determination.

This can be seen with the project code in the ZIP file I will be attaching.

Reproducible: Always
Comment 1 Scott Helsby CLA 2012-05-10 11:29:00 EDT
Created attachment 215411 [details]
ZIP file containing simple project reproducing the issue
Comment 2 Ivan Furnadjiev CLA 2014-12-01 08:27:48 EST
The issue is still valid with RAP 3.0M3. StatusLineContributionItem computes item size on creation, based on RAP text size estimation. It's never recomputed again with real text size (see StatusLineContributionItem#fill(Composite)).