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 254650 - Test Results window not opened/focused on test run
Summary: Test Results window not opened/focused on test run
Status: RESOLVED WORKSFORME
Alias: None
Product: javascript
Classification: Unclassified
Component: Testing (show other bugs)
Version: 8.1
Hardware: All All
: P3 normal (vote)
Assignee: Theofanis Oikonomou
URL:
Keywords:
: 253966 (view as bug list)
Depends on:
Blocks:
 
Reported: 2015-08-24 11:28 UTC by Tomas Mysik
Modified: 2015-09-02 16:21 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 Mysik 2015-08-24 11:28:43 UTC
Before NB 8.1, when Test Results window was opened (and minimized), this window was opened (got focus) once tests were run. This is not the case for NB 8.1 anymore - is it intentional? Or is it a bug? I have to say that it is quit annoying, I always have to open it manually.

Thanks.

Product Version: NetBeans IDE Dev (Build web-main-2677-on-20150816)
Updates: Updates available
Java: 1.8.0_60; Java HotSpot(TM) 64-Bit Server VM 25.60-b23
Runtime: Java(TM) SE Runtime Environment 1.8.0_60-b27
System: Linux version 3.19.0-26-generic running on amd64; UTF-8; cs_CZ (nb)
Comment 1 Theofanis Oikonomou 2015-08-27 08:52:04 UTC
Hmmm well I am using 8.0.2 and Build 20150824-f2c2ae933a51 to compare. The behavior is identical. When TRW is open and minimized the following happens:

1) If all tests pass there is a bubble notification with link to open TRW.
2) If there is at least a failure TRW get's focus

This is as designed in order for the TRW to be only focused when there is a failure as the user needs to be informed. Do you see something else in your case?
Comment 2 Tomas Mysik 2015-08-27 09:07:10 UTC
Hm, I thought that TRW gets *always* focus if it is opened and minimized, even if all the tests pass. Adding Ondra to CC, I think he could perhaps confirm it? If not then sorry and close this issue, please :)

Thanks.
Comment 3 Theofanis Oikonomou 2015-08-27 12:01:50 UTC
(In reply to Tomas Mysik from comment #2)
> Hm, I thought that TRW gets *always* focus if it is opened and minimized,
> even if all the tests pass.

IIRC this is old behavior perhaps from 7.x era. Closing this one. Thank you
Comment 4 Theofanis Oikonomou 2015-09-02 16:21:11 UTC
*** Bug 253966 has been marked as a duplicate of this bug. ***