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

Bug 68713

Summary: [Dialogs] Enter File Extension dialog box contains text field that is not used
Product: [Eclipse Project] Platform Reporter: Jon Mountjoy <tech>
Component: UIAssignee: Billy Biggs <billy.biggs>
Status: RESOLVED DUPLICATE QA Contact:
Severity: normal    
Priority: P3    
Version: 3.0   
Target Milestone: ---   
Hardware: Macintosh   
OS: Mac OS X - Carbon (unsup.)   
Whiteboard:
Attachments:
Description Flags
shows behaviour none

Description Jon Mountjoy CLA 2004-06-27 17:12:15 EDT
I'll attach a screenshot.  The "Enter File Extension" under PReferences/Team has three items.  The first 
is the text "Please enter a file extension", the second is a text box for the extension, the third is another 
text box, which I cannot use to write text (not editable).
Comment 1 Jon Mountjoy CLA 2004-06-27 17:14:28 EDT
Created attachment 12856 [details]
shows behaviour
Comment 2 Michael Valenta CLA 2004-06-28 09:29:14 EDT
Strange. On Windows, there is only one text field.
Comment 3 Andre Weinand CLA 2004-07-03 05:52:10 EDT
I haven't looked into the implementation of that dialog but I'm pretty sure that the following analysis is 
correct:
The dialog is based on a JFace dialog which has an information/errors status line just above the dialog's 
buttons. If nothing is shown in that line, you'll notice it as a rectangular area with a wrong (white) 
background. However if you tab or click into it, it will get focus and show the focus border.

The same effect can be seen for the description area of all wizards, or the in the Info page of the 
Properties dialog.

There are two problems here:
- Eclipse uses r/o text fields in various places to show non-editable textual information but SWT's
   Text field on MacOS X has a background that doesn't blend with the dialog's default background.

- SWT's text field shows a focus border even if it is not editable (bug #33241).
Comment 4 Andre Weinand CLA 2004-08-11 06:53:31 EDT

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