Community
Participate
Working Groups
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.
Created attachment 13340 [details] Modified source file with diff
Created attachment 13341 [details] Screen Capture
*** This bug has been marked as a duplicate of 70179 ***