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 28757 - View|Filesystems, View|Runtime, View|Project let focus on previous focused component
Summary: View|Filesystems, View|Runtime, View|Project let focus on previous focused co...
Status: VERIFIED FIXED
Alias: None
Product: platform
Classification: Unclassified
Component: Window System (show other bugs)
Version: 3.x
Hardware: All All
: P2 blocker (vote)
Assignee: Peter Zavadsky
URL:
Keywords: A11Y
Depends on:
Blocks:
 
Reported: 2002-11-14 17:40 UTC by Marian Mirilovic
Modified: 2008-12-23 10:30 UTC (History)
0 users

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 Marian Mirilovic 2002-11-14 17:40:27 UTC
[nb_dev](20021114), [jdk1.4.1](01), [jdk1.4.0](02)

Steps to reproduce:
- run IDE in MDI
- open some file 
-> focus is in editor pane 
- push from menu by mouse or keyboard
View|Filesystems or View|Runtime or View|Project
-> title of Explorer is selected, but focus is
still in editor pane

P2:
- it's impossible transfer focus by keyboard to
explorer, which is serious A11Y issue
- it works fine in NB3.4
(maybe it is caused by new actions instead of
View|Explorer there are three new actions)
Comment 1 Peter Zavadsky 2002-11-22 12:16:50 UTC
It is not caused by the actions, thoser are requesting the focus on
correct component.

But the focus durging the operation (invoking the menu) is transferred
temporarily to JRootPane, and after the operation (invoking the view
action), is the focus transferred back to the original component (i.e.
editor pane), while the actual request is ignored.

I don't know why, so goind to try to find out a workaround.
Comment 2 Peter Zavadsky 2002-11-22 13:45:05 UTC
Fixed in [trunk]

org/netbeans/core/actions/ViewFilesystemsTabAction.java 1.2
org/netbeans/core/actions/ViewRuntimeTabAction.java 1.2
org/netbeans/modules/projects/ViewProjectsTabAction.java 1.2

Note: It is just a workaround of the problem. The focus transfer is
not working as expected. There seems to be quite a lot of problems,
look at TopComponet#requestFocus and follow the code.
Comment 3 Marian Mirilovic 2002-11-25 14:37:33 UTC
verified in [nb_dev](20021125)