Bug 31065 - [Markers] Need to display long error messages
Summary: [Markers] Need to display long error messages
Status: RESOLVED DUPLICATE of bug 7257
Alias: None
Product: Platform
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 2.1   Edit
Hardware: All All
: P3 enhancement (vote)
Target Milestone: ---   Edit
Assignee: Tod Creasey CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-02-06 02:59 EST by npitman CLA
Modified: 2005-11-02 14:56 EST (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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 ***