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

Bug 2047

Summary: [Dialogs] Error dialog does not wrap text (1GDU4J7)
Product: [Eclipse Project] Platform Reporter: Kevin Haaland <Kevin_Haaland>
Component: UIAssignee: Tod Creasey <Tod_Creasey>
Status: RESOLVED INVALID QA Contact:
Severity: normal    
Priority: P3 Keywords: investigate
Version: 2.0   
Target Milestone: ---   
Hardware: All   
OS: Linux   
Whiteboard:

Description Kevin Haaland CLA 2001-10-10 22:25:20 EDT
If no infosets are installed, the dialog "Help Error" appear
with long text descriptiong that is not wrapped.  Part of text is visible only.

NOTES:

DB (5/22/2001 11:35:27 AM)
Moving to ITPUI:
It appears that on Windows the text set on MessageDialog wraps if too long. 
On Linux, the message is simply truncated.

JEL (29/05/2001 10:18:08 AM)
To recreate this problem:
1) boot into Linux
2) before running eclipse, find the //eclipse/plugins/org.eclipse.help.examples.ex1/
	directory and delete it (thus forcing no help sets to be available)
3) run eclipse
4) goto menu: Help->Help Contents
You should see the error dialog with only one line of text

KH (5/30/2001 4:31:11 PM)
	Widget does not support wrap style bit?

KK (2001-05-31 10:08:31)
	Help uses
	static org.eclipse.jface.dialogs.MessageDialog.openError(parent, title, msg);
	to display the error, and does not directlty access the widget .

KH (9/13/2001 2:28:14 PM)
	Investigate to ensure we are using the widget properly.
Comment 1 DJ Houghton CLA 2001-10-29 17:47:56 EST
PRODUCT VERSION:
0.107 Linux

Comment 2 Kevin Haaland CLA 2002-01-21 20:20:08 EST
No plans to change current behavior. 
Comment 3 Randy Giffen CLA 2002-08-07 10:46:37 EDT
Reopened for investigation
Comment 4 Tod Creasey CLA 2002-08-08 11:00:45 EDT
This is likely related to Bug 9866 but should be investigated to see if it is 
still an error. Likely due to the wrap algorithm in Linux.
Comment 5 Tod Creasey CLA 2002-08-20 13:53:34 EDT
Obsolete. This behaviour no longer exists.