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 236554 - Improve exception notification when assertions are disabled
Summary: Improve exception notification when assertions are disabled
Status: VERIFIED FIXED
Alias: None
Product: platform
Classification: Unclassified
Component: Notifications (show other bugs)
Version: 8.0
Hardware: All All
: P1 normal (vote)
Assignee: Jan Peska
URL:
Keywords: 7.4_HR_FIX
Depends on:
Blocks:
 
Reported: 2013-09-30 14:52 UTC by Tomas Danek
Modified: 2013-10-02 01:40 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 Tomas Danek 2013-09-30 14:52:14 UTC
Product Version: NetBeans IDE 7.4 RC2 (Build 201309252201)
Java: 1.7.0_40; Java HotSpot(TM) 64-Bit Server VM 24.0-b56
Runtime: Java(TM) SE Runtime Environment 1.7.0_40-b43
System: Mac OS X version 10.8.5 running on x86_64; UTF-8; en_US (nb)
User directory: /Users/tomas/Library/Application Support/NetBeans/7.4rc2
Cache directory: /Users/tomas/Library/Caches/NetBeans/7.4rc2
----------------
In 7.4 rc2, reporting and notifying about exceptions differs to 7.3 because of new notification center. For many users new way may not be very intuitive. Therefore we agreed on following improvements: 

1) For exception, current implementation shows (1) icon as new notification, instead of red icon (in 7.3). (1) icon will be red for ERROR category, to indicate  that notification deserves user attention

2) Panel on the right side of notif. window shows html link with exception message, which can be clicked and opens exception dialog. Instead of message, link should contain "Report", to indicate that this is the way how to report it.
Comment 1 Jan Peska 2013-09-30 16:05:51 UTC
fix: http://hg.netbeans.org/core-main/rev/9151de0a17e5
Comment 2 Marian Mirilovic 2013-10-01 07:20:18 UTC
Please integrate all fixes into releases/release74 branch TODAY (10/1) by 10pm CEST, we are going to build final 7.4 build during the night. Thanks in advance.
Comment 3 Tomas Danek 2013-10-01 09:01:39 UTC
Much better, thanks!
- icon with number becomes red, if the last notification is exception (error)
- link is now "Report", which is more intuitive to click
- notification is dismissed, once "Report" is invoked 

Product Version: NetBeans IDE Dev (Build web-main-11710-on-20131001)
Java: 1.7.0_40; Java HotSpot(TM) 64-Bit Server VM 24.0-b56
Runtime: Java(TM) SE Runtime Environment 1.7.0_40-b43
System: Mac OS X version 10.8.5 running on x86_64; UTF-8; en_US (nb)
User directory: /tmp/ud1
Cache directory: /tmp/ud1/var/cache
Comment 4 Ondrej Vrabec 2013-10-01 12:11:33 UTC
the fix is fine
Comment 5 Jan Peska 2013-10-01 12:12:27 UTC
fix: http://hg.netbeans.org/core-main/rev/2bb74efe1057
Comment 6 Quality Engineering 2013-10-01 23:43:20 UTC
Integrated into 'releases/release74', will be available in build *201310012201* or newer. Wait for official and publicly available build.

Changeset: http://hg.netbeans.org/releases/rev/97c8669a7c7a
User: Jan Peska <JPESKA@netbeans.org>
Log: Issue #236554 - Improve exception notification when assertions are disabled
Add "report" action to the exception notification content panel, display red icon if newest notification is error.
(grafted from 9151de0a17e537909badefe52752e3ea09bc8d65)
Comment 7 Quality Engineering 2013-10-02 01:40:18 UTC
Integrated into 'main-silver', will be available in build *201310020002* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/9151de0a17e5
User: Jan Peska <JPESKA@netbeans.org>
Log: Issue #236554 - Improve exception notification when assertions are disabled
Add "report" action to the exception notification content panel, display red icon if newest notification is error.