Bug 60858 - Add tooltip explaining why project is red
Add tooltip explaining why project is red
Status: RESOLVED WORKSFORME
Product: javaee
Classification: Unclassified
Component: Code
5.x
All Windows XP
: P3 (vote)
: TBD
Assigned To: issues@javaee
issues@javaee
: USABILITY
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2005-07-12 09:26 UTC by Roman Strobl
Modified: 2013-06-17 16:40 UTC (History)
0 users

See Also:
Issue Type: ENHANCEMENT
:


Attachments
screenshot (8.26 KB, image/png)
2005-07-12 15:38 UTC, Milan Kubec
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Roman Strobl 2005-07-12 09:26:59 UTC
In case that the project is red there is an error a user needs to solve. As
reported on nbusers a newcomer was confused by the red color and didn't know
what to do with it. It would be nice if we would explain the error on tooltip -
short reason of the error and that user needs to go to context menu and choose
Resolve problem.
Comment 1 Roman Strobl 2005-07-12 09:29:54 UTC
Here is the e-mail from user:

-----------%<-------------
I'm a new NetBeans user, so I'm just learning some of it's behavior. Not
wanting to ask a stupid question, I have searched the mailing list archive,
the Help, and the online Knowledge Base, but have not found the answer to this
problem.

My main project, a simple web app, has turned bold and red in the Projects
tab, though it is still bold and black in the Files tab. The little globe icon
also has also acquired a tiny caution icon in the upper right corner of the
globe. (I think it's a caution icon -- looks like a yellow triangle with a
black mark in it that might be an exclamation mark.)

Bold, of course, means it's the main project, but what do the red text and
caution icon mean?

I can't quite remember when it turned red, but it may have been when I ran the
project using the bundled Tomcat. Does red mean good or bad? I normally
associate red with "stop". Surely the yellow caution sign means "caution" but
I am unable to determine why I should be cautious.

Meanwhile the project will clean and build without error.
-----------%<-------------
Comment 2 jxt 2005-07-12 13:13:24 UTC
Some kind of error message about the missing library in the ant output would 
probably have led me to the source of the problem too, but since clean and 
build produced a "BUILD SUCCESSFUL" message from ant, I was really confused 
about the red color.
Comment 3 Milan Kubec 2005-07-12 15:37:44 UTC
I have a comment about the badge that is supposed to indicate reference problem
in the project. See screenshot, IMO the badge doesn't indicate anything to user,
it should be something more obvious, showing the problem at first glance -
exclamation mark, piece of broken chain or brokem arrow or something like that.
Comment 4 Milan Kubec 2005-07-12 15:38:19 UTC
Created attachment 23062 [details]
screenshot
Comment 5 markiewb 2013-06-17 16:40:09 UTC
Since (at least) 7.x 
* you can right click on the project node and select "Resolve Project problems"
* you can hover above the project nodes, which tells the user the reason for the red badge f.e. "contains files with errors"

So resolve as worksforme.


By use of this website, you agree to the NetBeans Policies and Terms of Use. © 2012, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo