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 155438 - Glassfish 3 Output Window steals keyboard focus
Summary: Glassfish 3 Output Window steals keyboard focus
Status: RESOLVED FIXED
Alias: None
Product: serverplugins
Classification: Unclassified
Component: GlassFish (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: Nitya Doraisamy
URL:
Keywords:
: 157375 (view as bug list)
Depends on:
Blocks:
 
Reported: 2008-12-14 23:11 UTC by _ gtzabari
Modified: 2009-09-21 19:54 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 _ gtzabari 2008-12-14 23:11:27 UTC
dev build 200812141401

Any time the Glassfish3 output window outputs anything it steals the keyboard focus. This is highly annoying for us
keyboard-centric individuals ;) This bug does not occur in the Glassfish2 output window.
Comment 1 Peter Pis 2008-12-15 08:35:13 UTC
Reassigning to "j2eeserver" for further evaluation.
Comment 2 Jayashri Visvanathan 2008-12-17 01:31:53 UTC
Vince, Can you please evaluate the issue ?
thanks
Comment 3 Vince Kraemer 2008-12-18 21:30:16 UTC
I can replicate this behavior...  I experimented with a couple work-around strategies, but was not successful.

this should be fixed in the 7.0 time frame.
Comment 4 _ gtzabari 2008-12-18 21:53:32 UTC
Out of curiosity, why does the behavior differ from Glassfish v2?
Comment 5 Vince Kraemer 2008-12-19 00:28:13 UTC
because the code is not the same... I haven't investigated the specifics of the differences, though.
Comment 6 bmilcke 2009-01-23 09:37:57 UTC
Just added a vote.

As a work-around: it seems to help to pin the output-window. Then the keyboard-focus is not taken. This is only due to
the popping up window. However, you cannot pin only the glassfish in a small window somewhere, you have all the other
output windows there, too. And a pinned window takes away precious space. At least you can continue typing.
Comment 7 Vince Kraemer 2009-02-03 17:40:30 UTC
*** Issue 157375 has been marked as a duplicate of this issue. ***
Comment 8 mclaughj 2009-07-22 14:50:28 UTC
I've added a vote for this - it's incredibly irritating and makes debugging an enterprise app frustrating as focus is
continually stolen from the debug output window, or any other output window for that matter. Does "this should be fixed
in the 7.0 time frame" refer to the Netbeans formerly known as 7 now known as 6.7, in which case it's not fixed, or a
further down the line actual Netbeans 7? Otherwise, has anybody come up with a workaround?
Comment 9 Vince Kraemer 2009-07-22 15:28:27 UTC
PCW: this issue may be fixed by the changes you are working on...
Comment 10 _ pcw 2009-07-22 16:04:01 UTC
Hi Vince, the patch (changeset 60793dd9a42b) you are referring to was pushed to web-main last week - I'd hope it's
available in nightly builds by now (but based on your recent comment re: main-golden, maybe not).

I think it's worth investigating comment regarding stealing keyboard focus though.  The original code should not take
keyboard focus at all and is derived directly from the V2 code.  I would have expected the two servers to behave the
same way.  Maybe there is something about having "popup" output windows that always steals focus regardless.  That would
be bad.
Comment 11 Vince Kraemer 2009-09-16 23:59:55 UTC
assign outher half of pcw's issues
Comment 12 _ pcw 2009-09-18 04:33:36 UTC
Hi Vince, this issue is likely fixed by that patch I made in Prague.  Why not close it and have Davis verify it.
Comment 13 Vince Kraemer 2009-09-21 19:54:27 UTC
thanks.  will do.