This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 48815 - inline error messages are truncated
Summary: inline error messages are truncated
Status: CLOSED WONTFIX
Alias: None
Product: platform
Classification: Unclassified
Component: Dialogs&Wizards (show other bugs)
Version: 4.x
Hardware: All All
: P3 blocker (vote)
Assignee: Jiri Rechtacek
URL:
Keywords:
: 48814 133688 (view as bug list)
Depends on:
Blocks:
 
Reported: 2004-09-10 02:05 UTC by Ann Sunhachawee
Modified: 2008-12-22 10:01 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ann Sunhachawee 2004-09-10 02:05:40 UTC
When the inline error/warning message is too long
for the size of the dialog, it will have an
"ellipsis truncation". 

Inline errors should wrap so that the entire
message can be seen without having to resize the
dialog.

e.g.
1. Create a new java class in a project.
2. Clear out the package field.
3. resize the dialog horizontally so that it is
smaller.
4. Notice the warning about placing classes in
packages is truncated
Comment 1 Jaromir Uhrik 2004-09-13 16:56:05 UTC
*** Issue 48814 has been marked as a duplicate of this issue. ***
Comment 2 David Simonek 2004-09-13 17:23:45 UTC
Passing to projects ui.
Comment 3 Jesse Glick 2004-09-13 19:12:10 UTC
Handled by wizards infrastructure, not project system.
Comment 4 David Simonek 2004-09-14 09:26:04 UTC
OK< sorry for that.
Comment 5 David Simonek 2004-09-14 09:35:13 UTC
Btw, I evaluated this error a bit, and I concluded this is wontfix,
because technically it's complicated to achieve what Ann is asking for
and it's not worth. Why? Simply put, current state is good enough.
Biggest argument is, that tooltip is shown if text is truncated. So
user always has the possibility to see all message. Moreover, in
default size of wizard, message is always shown complete. All these
things respect UI guidelines well.

Yes, I agree it would be better for user to see whole message if
there's space, but technically, it would mean relatively complex
computation to find free space and dynamic changing between JLabel and
JTextArea. Also keep in mind that wrapped text will generally
graphically look worse that one line text. All this work and problems
are not worth IMO, so closing as wontfix. 
Comment 6 Tomas Danek 2005-07-08 09:53:48 UTC
Since no further comments from reporter, i'm verifying this. IMHO, text length
is designed to fit into original size of dialog, and not many users resize
wizard dialog. And if so, there's tooltip still present.
Comment 7 Ann Sunhachawee 2005-07-12 19:51:04 UTC
Disappointed with the decision here. Just adds to bad first impressions of the
product. Note that this truncation appears w/o having to resize the dialog,
since it already overflows the default size of the new wizard, which means that
it is more visible.

Put another way, have you seen our major competition have behavior like this for
simple warning messages?
Comment 8 Jiri Rechtacek 2008-05-08 20:29:16 UTC
*** Issue 133688 has been marked as a duplicate of this issue. ***