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

Bug 31065

Summary: [Markers] Need to display long error messages
Product: [Eclipse Project] Platform Reporter: npitman <npitman>
Component: UIAssignee: Tod Creasey <Tod_Creasey>
Status: RESOLVED DUPLICATE QA Contact:
Severity: enhancement    
Priority: P3    
Version: 2.1   
Target Milestone: ---   
Hardware: All   
OS: All   
Whiteboard:

Description npitman CLA 2003-02-06 02:59:16 EST
Problem:
Some error messages from generated methods are quite long.  There is no good 
way to get to see them.  In the task grid, the width can be extended beyond the 
screen, but it is difficult to get a holistic view of the message because one 
is obliged to scroll left and right.
Alternately, one can open the properties of the error task, but this is worse, 
because it is a fixed singleline text field.
Further, the status line contains the message, but that has even less control.
Finally, a tooltip bubble appears over the marked line, but it is limited to 
about 5 lines.  Extra is chopped.  As with most tooltips, it is very transient

Suggested resolution:
1) wrap the text in the grid and force the requisite number of lines, depending 
on the width.  This would have the added potential of allowing the expected and 
found parameter lists to be aligned vertically (It's currently a pain to detect 
the missing parameter in two lists of 12 parameters).

2) Display the task properties description in a multiline edit field.  
Scrollbars and resizability are also desirable.

3) Enrich the tooltip description to have a resize corner.  This would allow 
the user to expand the description as desired.

Example:
Given the following code snippet, one cannot view the entire error message.

boolean ajhdgkasjgskjfhsfkjshgfksjdfhgdskfjdhsgfksdjgfdskj(int 
jdhfgasdkjhdsfhsdfksjgfsdklfjhsg, 
	int sfgsalfhgsldfsg, 
ajhdgljdghsshdflasfgsdlfgsflshgfldsjhfgsdlfjhsafjhadsgfdjhgfdsjksjhgfaskjfhsdkfj
hdsgk a, 
ajhdgljdghsshdflasfgsdlfgsflshgfldsjhfgsdlfjhsafjhadsgfdjhgfdsjksjhgfaskjfhsdkfj
hdsgk b)
	
	{return ajhdgkasjgskjfhsfkjshgfksjdfhgdskfjdhsgfksdjgfdskj(1,"jadsg"
		, new 
ajhdgljdghsshdflasfgsdlfgsflshgfldsjhfgsdlfjhsafjhadsgfdjhgfdsjksjhgfaskjfhsdkfj
hdsgk()
		, new 
ajhdgljdghsshdflasfgsdlfgsflshgfldsjhfgsdlfjhsafjhadsgfdjhgfdsjksjhgfaskjfhsdkfj
hdsgk()
		, new 
ajhdgljdghsshdflasfgsdlfgsflshgfldsjhfgsdlfjhsafjhadsgfdjhgfdsjksjhgfaskjfhsdkfj
hdsgk()
		, new 
ajhdgljdghsshdflasfgsdlfgsflshgfldsjhfgsdlfjhsafjhadsgfdjhgfdsjksjhgfaskjfhsdkfj
hdsgk()
		, new 
ajhdgljdghsshdflasfgsdlfgsflshgfldsjhfgsdlfjhsafjhadsgfdjhgfdsjksjhgfaskjfhsdkfj
hdsgk()
		, new 
ajhdgljdghsshdflasfgsdlfgsflshgfldsjhfgsdlfjhsafjhadsgfdjhgfdsjksjhgfaskjfhsdkfj
hdsgk()
		, new 
ajhdgljdghsshdflasfgsdlfgsflshgfldsjhfgsdlfjhsafjhadsgfdjhgfdsjksjhgfaskjfhsdkfj
hdsgk()
		, new 
ajhdgljdghsshdflasfgsdlfgsflshgfldsjhfgsdlfjhsafjhadsgfdjhgfdsjksjhgfaskjfhsdkfj
hdsgk()
		, new 
ajhdgljdghsshdflasfgsdlfgsflshgfldsjhfgsdlfjhsafjhadsgfdjhgfdsjksjhgfaskjfhsdkfj
hdsgk()
		, new 
ajhdgljdghsshdflasfgsdlfgsflshgfldsjhfgsdlfjhsafjhadsgfdjhgfdsjksjhgfaskjfhsdkfj
hdsgk()
		
		);}
	
	class 
ajhdgljdghsshdflasfgsdlfgsflshgfldsjhfgsdlfjhsafjhadsgfdjhgfdsjksjhgfaskjfhsdkfj
hdsgk{}
Comment 1 Tod Creasey CLA 2005-08-05 13:53:22 EDT
1) would clutter too much. 
3) Is not possible as we use platform tooltips.

However 2) is.
Comment 2 Tod Creasey CLA 2005-11-02 14:56:12 EST

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