Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 70187 - Surrogate – surrogate characters cannot be displayed correctly in the status line.
Summary: Surrogate – surrogate characters cannot be displayed correctly in the status ...
Status: RESOLVED DUPLICATE of bug 70179
Alias: None
Product: Platform
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 3.0   Edit
Hardware: PC Windows XP
: P3 minor (vote)
Target Milestone: ---   Edit
Assignee: Tod Creasey CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-07-16 02:11 EDT by Ivy CLA
Modified: 2004-07-19 09:50 EDT (History)
0 users

See Also:


Attachments
Modified source file with diff (5.20 KB, application/x-zip-compressed)
2004-07-16 02:12 EDT, Ivy CLA
no flags Details
Screen Capture (45.14 KB, application/x-zip-compressed)
2004-07-16 02:12 EDT, Ivy CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Ivy CLA 2004-07-16 02:11:25 EDT
Reporter: Gao Yin Yin
Language: Simplfied Chinese
Build driver: eclipse-sourceBuild-srcIncluded-3.0M9
JDK Version:  IBM J2SDK 1.4.1
Severity: 4
Summary: Surrogate – surrogate characters cannot be displayed correctly in the 
status line.
Steps to recreate problem:
1.	Bring up the “WindowàShow view-->other…” dialog. Select “Basic/Tasks” 
to open the tasks view;
2.	Click “Add Task” in the tasks view’s tool bar to open the “Add Task” 
dialog;
3.	Give the task a description containing surrogate characters, for 
example “newtask\ud840\udc00”. Then click the “OK” button
4.	Click the task added in the tasks view. The status line at the left-
nether of the workbench window display “newtask  ” there, not “newtask\ud840
\udc00”. (Please check the screen captures)

<<Error>>
Surrogate characters cannot be displayed correctly in the Status line.

<<Expected Result>>
Surrogate characters can be displayed correctly in the Status line.
	
<<Cause>>
Status line does not support font setting. 

<<Solution>>
Modify StatusLineManager.java to support font setting according to “Text Font” 
setting in “Window-->Preference…-->Workbench-->Colors and Fonts”. Add 
StatusLineManager objects to PropertyChangeListener and add property change 
event handler in StatusLineManager.
Comment 1 Ivy CLA 2004-07-16 02:12:09 EDT
Created attachment 13340 [details]
Modified source file with diff
Comment 2 Ivy CLA 2004-07-16 02:12:49 EDT
Created attachment 13341 [details]
Screen Capture
Comment 3 Tod Creasey CLA 2004-07-19 09:50:53 EDT

*** This bug has been marked as a duplicate of 70179 ***