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 56848 - Can't switch editor pane by Ctrl-Tab in web.xml
Summary: Can't switch editor pane by Ctrl-Tab in web.xml
Status: CLOSED FIXED
Alias: None
Product: platform
Classification: Unclassified
Component: Window System (show other bugs)
Version: 4.x
Hardware: All All
: P2 blocker (vote)
Assignee: Martin Krauskopf
URL:
Keywords: A11Y
Depends on:
Blocks:
 
Reported: 2005-03-23 11:34 UTC by zikmund
Modified: 2008-12-22 18:52 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Switching window on top of NetBeans - screenshot (26.95 KB, image/jpeg)
2005-03-23 11:35 UTC, zikmund
Details

Note You need to log in before you can comment on or make changes to this bug.
Description zikmund 2005-03-23 11:34:22 UTC
Build 200503221900

1) Create new WebApp (index.jsp is opened)
2) Open web.xml editor (General tab)
3) Go to index.jsp (click editor pane)
4) Ctrl-TAB
5) Editor switched to web.xml (= OK)
6) Ctrl-TAB
7) ERROR:
Switching window stays on top of all windows - see attached screenshot

Note: I'd expect switching back to index.jsp.
Comment 1 zikmund 2005-03-23 11:35:07 UTC
Created attachment 21052 [details]
Switching window on top of NetBeans - screenshot
Comment 2 zikmund 2005-03-24 12:46:59 UTC
It is problem of all multiview editors - CCing Petr Blaha.
Comment 3 Milan Kuchtiak 2005-03-29 12:53:10 UTC
I think we can do nothing with that.
web.xml editor can be opened if you click on web.xml node
(Web Application-> COnfiguration Files)
Comment 4 Martin Krauskopf 2005-03-29 16:10:43 UTC
The same problem as with the issue 56920. I register AWTEventListener when the
RecentViewListAction is called. But the problem is that after that, KeyEvents
are consumed (probably by JTable traversing and similar) before the listener has
chance to process them and KeyboardPopupSwitcher than gets confused.
I'll do more investigation and try to find some reasonable solution.
Comment 5 Martin Krauskopf 2005-03-30 15:58:55 UTC
Ufff, fixed. All Ctrl-(Shift)-Tab related events are consumed by
KeyboardSwitcher. Some of them haven't been catched and that confused switcher
in some cases.

Checking in src/org/netbeans/core/windows/ShortcutAndMenuKeyEventProcessor.java;
new revision: 1.13; previous revision: 1.12
Checking in src/org/netbeans/core/windows/actions/RecentViewListAction.java;
new revision: 1.9; previous revision: 1.8
Checking in src/org/netbeans/core/windows/view/ui/KeyboardPopupSwitcher.java;
new revision: 1.12; previous revision: 1.11
Comment 6 zikmund 2005-03-31 11:37:20 UTC
Great fix, thanks!

Verified in 200503301800.