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 60858 - Add tooltip explaining why project is red
Summary: Add tooltip explaining why project is red
Status: RESOLVED WORKSFORME
Alias: None
Product: javaee
Classification: Unclassified
Component: Code (show other bugs)
Version: 5.x
Hardware: All Windows XP
: P3 blocker (vote)
Assignee: issues@javaee
URL:
Keywords: USABILITY
Depends on:
Blocks:
 
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
Exception Reporter:


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.