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

Bug 70187

Summary: Surrogate – surrogate characters cannot be displayed correctly in the status line.
Product: [Eclipse Project] Platform Reporter: Ivy <gaoyiny>
Component: UIAssignee: Tod Creasey <Tod_Creasey>
Status: RESOLVED DUPLICATE QA Contact:
Severity: minor    
Priority: P3    
Version: 3.0   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard:
Attachments:
Description Flags
Modified source file with diff
none
Screen Capture none

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 ***