Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 70179 - Surrogate – surrogate characters cannot be displayed correctly in the problem view.
Summary: Surrogate – surrogate characters cannot be displayed correctly in the problem...
Status: RESOLVED WONTFIX
Alias: None
Product: Platform
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 3.0   Edit
Hardware: PC Windows XP
: P2 normal with 1 vote (vote)
Target Milestone: ---   Edit
Assignee: Tod Creasey CLA
QA Contact:
URL:
Whiteboard:
Keywords: nl
: 70180 70186 70187 70191 70921 (view as bug list)
Depends on:
Blocks:
 
Reported: 2004-07-15 23:54 EDT by Ivy CLA
Modified: 2004-07-28 08:54 EDT (History)
3 users (show)

See Also:


Attachments
Modified source file with file diff (5.43 KB, patch)
2004-07-15 23:57 EDT, Ivy CLA
no flags Details | Diff
Screen capture (104.69 KB, patch)
2004-07-15 23:58 EDT, Ivy CLA
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Ivy CLA 2004-07-15 23:54:06 EDT
Reporter: Gao Yin Yin
Language: Simplfied Chinese
Build driver: eclipse-sourceBuild-srcIncluded-3.0M9
JDK Version:  IBM J2SDK 1.4.1
Severity: 3
Summary: Surrogate – surrogate characters cannot be displayed correctly in the 
problem view.
Steps to recreate problem:
1.	New a project whose name contains surrogate character, for example: cq90
\ud840\udc00;
2.	New a java class in that project; Modify it to produce some errors; 
Build the project;
3.	Open problems view through “Window à Show View à Problems”; You can see 
that in the “In Folder” column of the table view, it displays “cq90”, not cq90
\ud840\udc00;

<<Error>>
Surrogate characters cannot be displayed correctly in the problems view.

<<Expected Result>>
Surrogate characters can be displayed correctly in the problems view.
	
<<Cause>>
Problems view does not support font setting. 

<<Solution>>
Modify ProblemView.java to support font setting according to  “Text Font” 
setting in “WindowàPreference…àWorkbenchàColors and Fonts”. Add ProblemView 
objects to PropertyChangeListener and add property change event handler in 
ProblemView.
Comment 1 Ivy CLA 2004-07-15 23:57:10 EDT
Created attachment 13330 [details]
Modified source file with file diff
Comment 2 Ivy CLA 2004-07-15 23:58:56 EDT
Created attachment 13331 [details]
Screen capture
Comment 3 Tod Creasey CLA 2004-07-19 09:50:33 EDT
*** Bug 70180 has been marked as a duplicate of this bug. ***
Comment 4 Tod Creasey CLA 2004-07-19 09:50:43 EDT
*** Bug 70186 has been marked as a duplicate of this bug. ***
Comment 5 Tod Creasey CLA 2004-07-19 09:50:53 EDT
*** Bug 70187 has been marked as a duplicate of this bug. ***
Comment 6 Tod Creasey CLA 2004-07-19 09:51:03 EDT
*** Bug 70191 has been marked as a duplicate of this bug. ***
Comment 7 Tod Creasey CLA 2004-07-19 09:53:57 EDT
I have marked the others as duplicates of this one as it is all to do with 
widgets that are using default fonts.

This font is taken from your operating system settings - on XP you can find it 
in your Windows system properties.

You should make sure that the font you are using in XP handles the characters 
you want to use.

Eclipse will not be adding a view font as it was a design decision for us to 
always try and use system settings where they are available.
Comment 8 Kim Horne CLA 2004-07-19 09:59:54 EDT
*** Bug 68569 has been marked as a duplicate of this bug. ***
Comment 9 Ivy CLA 2004-07-20 04:43:04 EDT
Following this design decision, in order to display the surrogate characters in 
Eclipse, user have to change the font setting of operation system. That's not 
what we want.

We know it's possible for Eclipse to enable font setting for these views, just 
like text font. The font setting in Preference provides a good architecture for 
this enhancement.

What's your consideration of this design decision? Is there any underground 
situation we do not know?
Comment 10 Tod Creasey CLA 2004-07-20 08:11:12 EDT
I am not sure why you would want a font that could not handle the characters 
you need in other applications? This will be the same font used by anything 
else you run on your machine. If we were to change it to use some other font 
then it would make themes virtually useless to people who use Eclipse.

I am not sure why you would want to use a font that does not have surrogate 
characters in your other apps if they are characters your need.

We don't intend at this point to do any Eclipse- specific overrides and there 
is no in progress plan to the best of my knowledge.
Comment 11 Kim Horne CLA 2004-07-28 08:33:57 EDT
*** Bug 70921 has been marked as a duplicate of this bug. ***
Comment 12 rey abe CLA 2004-07-28 08:54:46 EDT
special characters are not the main problem here in my opinion. the additional 
views (navigator, package explorer, ...) contain a lot of information that is 
used for fast navigation and on middle to larger sized projects the views 
become cumbersome and useless with the large default fontsize. (and most 
eclipse users i know share my opinion on this - some even stopped using eclipse 
for this frustrating detail)

actually i work around at the moment reducing the system fontsize so that i can 
have an acceptable fontsize in these views. on the other hand a lot of my 
system-applications become useless that way, as their user interfaces were 
designed for the systems's default font size.

i really don't understand the design decision not to implement these fontsize 
settings - it shouldn't be a major task nor bug-prone or anything.