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 141156 - Dialogs return focus to last app focused, not to NB after alt-tab
Summary: Dialogs return focus to last app focused, not to NB after alt-tab
Status: RESOLVED INVALID
Alias: None
Product: platform
Classification: Unclassified
Component: Window System (show other bugs)
Version: 6.x
Hardware: Sun All
: P3 blocker (vote)
Assignee: David Simonek
URL:
Keywords: A11Y
Depends on:
Blocks:
 
Reported: 2008-07-22 13:27 UTC by Petr Cyhelsky
Modified: 2008-12-22 14:38 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 Petr Cyhelsky 2008-07-22 13:27:42 UTC
Product Version: NetBeans IDE Dev (Build 200807181543)
Java: 1.6.0_10-beta; Java HotSpot(TM) Client VM 11.0-b11
System: SunOS version 5.10 running on sparc; ISO646-US; en (nb)

Observed: When switching between app and NB with some dialog open(for example new project dialog) focus is given to app
from which it was switched to NB after the dialog is closed in some way - it doesn't matter whether it was switched
directly to the dialog window or to the NB main window.

Expected: If the user switches to NB main window the focus should be returned to it after closing of the dialog.

Steps to reproduce: In NB some dialog (ie. new project dialog) -> alt-tab to some other tab -> alt tab back to NB (to
main window - not to dialog - so that focus should be given to NB main window and it then should delegate it to the
dialog) -> close the dialog in some way(cancel) -> focus is given back to the app not to NB!!
Comment 1 Stanislav Aubrecht 2008-07-22 16:41:43 UTC
works fine for me on winxp, jdk1.5/1.6. maybe native window manager issue?
cyhelsky, can you reproduce this behavior with swingset demo?
Comment 2 David Simonek 2008-07-25 14:19:39 UTC
Not reproducible on my Ubuntu Linux. It's definitely window manager issue - cyhelsky perhaps you have "focus follows
mouse" enabled?

Anyway, cyhelsky please attach requested information, thank you.
Comment 3 Petr Cyhelsky 2008-07-25 14:38:42 UTC
This problem seems to be present only on Solaris - i have tested it on vista, ubuntu and solaris
 I dont thing it has anything to do with the mouse, because it is the same if u use only alt-tab.
I'll investigate it further on monday.
Comment 4 Petr Chytil 2008-09-02 14:13:16 UTC
Without requested information for long time - INVALID. We can't do anything in this case, so please reporter add
requested information and reopen issue. Thanks in advance.