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

Bug 70111

Summary: TVT3.0: Java Project Properties has truncated text and buttons
Product: [Eclipse Project] JDT Reporter: David W Hare <dwhare>
Component: UIAssignee: JDT-UI-Inbox <jdt-ui-inbox>
Status: CLOSED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: jjsimpso, steven.wasleski
Version: 3.0   
Target Milestone: 3.0.1   
Hardware: PC   
OS: Linux   
Whiteboard:
Attachments:
Description Flags
Korean Screenshot
none
Italian Screenshot
none
Screen shot under my setup
none
Code patch none

Description David W Hare CLA 2004-07-15 10:07:01 EDT
On the menu bar from the main Workbench panel, click File -> New -> Projects
Select Java Project
Click Next

In the Project Name put java-project
Click Finish

On the menu bar from the main Workbench panel, click Project
Click Properties
Select Javadoc Location

Even though I enlarge the window, the description and the right side buttons
(Browse, Validation, Apply) are truncated. 

See the attached screenshot.
Comment 1 David W Hare CLA 2004-07-15 10:07:46 EDT
Created attachment 13294 [details]
Korean Screenshot
Comment 2 David W Hare CLA 2004-07-16 17:06:09 EDT
Created attachment 13388 [details]
Italian Screenshot

Project Preferences page has similar problems
Comment 3 Dirk Baeumer CLA 2004-07-19 08:29:58 EDT
The project reference page is provided by Platform/UI. Opened bug 70321 to 
cover this.
Comment 4 Dirk Baeumer CLA 2004-07-19 08:31:04 EDT
Under investigation for 3.0.1.
Comment 5 Dirk Baeumer CLA 2004-07-26 06:27:02 EDT
David,

two questions: where can I get the Korean NLS files and which font do you use. 
I suspect that this is caused by the fact that we ensure that the URL text 
entry field is at least 50 character in width. 
Comment 6 Dirk Baeumer CLA 2004-07-26 14:14:56 EDT
I can't reproduce this using the Korean NLS file and a sans 12 font. There 
must be something else that causes the problem.
Comment 7 David W Hare CLA 2004-07-26 14:19:42 EDT
The screen resolution the testers are using is 1024x768
Comment 8 Dirk Baeumer CLA 2004-07-27 13:46:46 EDT
I spend quite some time to reproduce this but wasn't able to do so. Using the 
Korean NLS files on a 1024x768 screen with font Sans 12 produces a dialog that 
fits nicly onto the screen (see attached screen shot).

Any further input to reproduce this. It would be good to know the exact font 
that was used.
Comment 9 Dirk Baeumer CLA 2004-07-27 13:47:40 EDT
Created attachment 13617 [details]
Screen shot under my setup
Comment 10 Jonathan Simpson CLA 2004-07-27 16:53:26 EDT
I'm not sure where the fonts are set, but in my eclipse windows->preferences 
all fonts appear to be set to Sans 10 or Monospace 10, and I do see the 
truncation.  I think there must be some kind of font subsitution happening as  
I'm pretty sure Sans doesn't apply to Korean.

Comment 11 Dirk Baeumer CLA 2004-07-27 18:35:26 EDT
I installed special font files that support Korean. 
Comment 12 Jonathan Simpson CLA 2004-07-29 10:22:01 EDT
I you would like, I can give you the vnc access info for the Korean tester's 
machine.  Let me know and I'll send you an email.  Thanks.

Comment 13 Dirk Baeumer CLA 2004-07-29 12:55:28 EDT
That would be helpful so I can check which fonts are used. In general we only 
support default font settings (e.g. Sans). Since we will always have clipping 
problems if users select large fonts on low resolution screen.s
Comment 14 Dirk Baeumer CLA 2004-08-02 09:53:51 EDT
Looking at the test machine shows the following differences:

- test machine uses BlueCurve theme whereas we are using Mist
- test machine uses a 100dpi Sans font whereas we have a Type1 font
  which seems to be smaller and has different font metrics.

Since I can't really reproduce the bug I am not sure if the fix really fixes 
it. 

David, I have generated a new jdt.ui 3.0.1 plug-in. I will upload it to our 
ftp server. Can you test it or can I somehow upload files to the Korean test 
machine ?
Comment 15 Dirk Baeumer CLA 2004-08-02 09:59:46 EDT
Created attachment 13700 [details]
Code patch
Comment 16 David W Hare CLA 2004-08-02 11:56:40 EDT
Excellent work Dirk.

The fix works.  

Will this be included in Wednesdays build?
Comment 17 Dirk Baeumer CLA 2004-08-02 12:21:58 EDT
Yes, I can put this into the Wednesday build.

Is the fix installed on the test machine so that I can have a look as well and 
see if the new values do not make the dialog to narrow ?
Comment 18 Dirk Baeumer CLA 2004-08-02 12:40:04 EDT
Fix reviewed by Andre Weinand and Daniel Megert. I tested it on the Korean 
test machine and since it look very tight I lowered the with from 50 top 43 
instead of 45. 
Comment 19 Dirk Baeumer CLA 2004-08-02 12:42:57 EDT
Fix released for 3.1 as well.
Comment 20 David W Hare CLA 2004-08-05 15:36:15 EDT
fixed