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 89011

Summary: [A11Y][Vista] Options|Keymap loosing focus
Product: platform Reporter: Max Sauer <msauer>
Component: Options&SettingsAssignee: rmatous <rmatous>
Status: RESOLVED FIXED    
Severity: blocker CC: mbudris
Priority: P3 Keywords: A11Y, FOCUS
Version: 6.x   
Hardware: PC   
OS: All   
Issue Type: DEFECT Exception Reporter:

Description Max Sauer 2006-11-09 12:57:50 UTC
Under some circumstances, Options dialog looses focus => mnemonics inside
Tools|Options|Editor|Keymap stop working -- they are up by parent IDE.

Steps to reproduce:
-------------------
1) Open a j2se project
2) Invoke ie Tools|Options|Keymap|Source
3) Choose ie. 'Ref. Code' and press 'Add'
4) Inside appeared dialog, press 'Cancel'
=> IDE has focus instead of options dialog

---
NetBeans IDE Dev (Build 200611081900)
1.6.0-rc; Java HotSpot(TM) Client VM 1.6.0-rc-b100
Windows Vista version 6.0 running on x86
cs_CZ (nb); Cp1250
Comment 1 Vitezslav Stejskal 2006-12-13 04:23:45 UTC
Reproducible on linux/gnome as well. I think it affects all platforms actually.
Comment 2 Jan Jancura 2008-02-27 12:27:49 UTC
Looks like DialogDescriptor issue.
Comment 3 Jiri Rechtacek 2008-02-29 12:36:57 UTC
It looks that Add dialog has wrongly assigned parent window. what affects focus behaviour. Please, ensure Options dialog
is parent of Add dialog. Btw. I cannot reproduce it at 
>System Info: 
  Product Version         = NetBeans IDE Dev (Build 200802270005)
  Operating System        = Linux version 2.6.22-14-generic running on i386
  Java; VM; Vendor        = 1.6.0_04; Java HotSpot(TM) Client VM 10.0-b19; Sun Microsystems Inc.
Comment 4 Vitezslav Stejskal 2008-03-03 10:12:21 UTC
changeset 9bd18238c0fd in main
details: http://hg.netbeans.org/main?cmd=changeset;node=9bd18238c0fd