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 211104

Summary: Test Results window in sliding mode opened even when all tests passed
Product: java Reporter: Jesse Glick <jglick>
Component: JUnitAssignee: Theofanis Oikonomou <theofanis>
Status: RESOLVED FIXED    
Severity: normal CC: psomol, tmysik
Priority: P3    
Version: 7.2   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:
Bug Depends on:    
Bug Blocks: 118772, 210554    

Description Jesse Glick 2012-04-12 13:35:51 UTC
(Originally mentioned as bug #210554 comment #21.)

Bug #118772 is not fixed at all when Test Results is in sliding mode: it always pops up, covering other useful content such as the editor, even when all tests pass. Presumably due to a faulty fix of bug #210554.
Comment 1 Theofanis Oikonomou 2012-04-12 14:37:42 UTC
Fixed: http://hg.netbeans.org/core-main/rev/b600aac2c54f
Comment 2 Tomas Mysik 2012-04-13 04:18:05 UTC
Isn't this fix against comment #8, option 2) of issue #210554?

> 2) if there are no error/failure AND TRW is already open, it gets promoted
> without stealing focus from the editor

At least I thought that this should be the correct behavior - if one has TRW opened, let's show it; if not, let's show bubble.

Thanks.
Comment 3 Quality Engineering 2012-04-13 09:48:45 UTC
Integrated into 'main-golden', will be available in build *201204130400* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/b600aac2c54f
User: Theofanis Oikonomou <theofanis@netbeans.org>
Log: Issue #211104 - Test Results window in sliding mode opened even when all tests passed
Comment 4 Jesse Glick 2012-04-13 16:11:47 UTC
(In reply to comment #2)
> I thought that this should be the correct behavior - if one has TRW
> opened, let's show it

Depends on what you mean by "opened". Rather than keeping TRW closed, I just leave it (along with plenty of other windows) slid out at the bottom of the screen. In such a case it is irritating for it to pop up on top of my editor just because some tests passed.
Comment 5 Tomas Mysik 2012-04-16 07:18:40 UTC
(In reply to comment #4)
> Depends on what you mean by "opened".

I mean "minimized".

> Rather than keeping TRW closed, I just
> leave it (along with plenty of other windows) slid out at the bottom of the
> screen.

Yes, I have it the same way.

> In such a case it is irritating for it to pop up on top of my editor
> just because some tests passed.

Not for me, sorry. And as it seems I'm not the only one - see issue #210554. I simply want to see the test results window (as it works in NB 7.1 and earlier).

So, for me, as I wrote, this is against comment #8, option 2) of issue #210554 and should be reverted. Or, of course, some option could be introduced in IDE Options (if it is OK from the UX point of view).

Thanks.
Comment 6 Petr Somol 2012-04-16 09:34:42 UTC
> So, for me, as I wrote, this is against comment #8, option 2) of issue #210554
> and should be reverted. Or, of course, some option could be introduced in IDE
> Options (if it is OK from the UX point of view).
> 

Comment on a possible generic UI for specifying notification behavior:
http://netbeans.org/bugzilla/show_bug.cgi?id=210149#c6