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.
NB trunk build 07020000 XP JDK1.6.0_02 The default property dialog for the stylesheet property is a dialog that contains "/resources/stylesheet.css" however, this dialog initially has no focus. There is no text insertion caret in the top textfield. It "appears" that the OK button has focus , but pressing ENTER or ESC has no effect. Try to tab traverse, nothing happens. Press Alt key to see mnemonics for the Cancel key -- on windows it does not appear (it does on Solaris). Once the mouse is used inside the textfield, then tab traverse is operational.
Why this is a P1 issue?
This is the page stylesheet property I am talking about. (Click on the page background...)
Bug guidelines can be found here: http://qa.netbeans.org/bugzilla/bug_priority_guidelines.html No focus = P1
I agree, no focus is P1. Works OK on my Mac machine, but doesn't work on Windows Vista. Not sure if it is a JDK issue. This dialog was not changed since Creator 1.0
I also tested on Solaris - with jdk1.6.0_01 - there is no focus.
Tested nb installer 07091200 with JDK1.5.0_11 on Windows and *did* have focus. Likely to be related to JDK.
I tested with 1.5.0_11 on Vista and the focus doesn't work. The issue seems to be with the File tab. If you remove it, the text field gets the focus. Winston asked me to assign it back to him.
Pegah, Can you talk to Sandip and find out if anything can be done about this issue ? thanks
I spoke with Sandip yesterday, and he suggested a fix. I'll try to apply it today to see if it works.
The fix was to override addNotify() and set the focus on text field there. Checking in StandardUrlPanel.java; /cvs/visualweb/propertyeditors/src/org/netbeans/modules/visualweb/propertyeditors/StandardUrlPanel.java,v <-- StandardUrlPanel.java new revision: 1.4; previous revision: 1.3 done
Nice and simple fix. This point did not occur to me then!
Verified using Product Version: NetBeans IDE Dev (Build 200708150000) Java: 1.5.0_12; Java HotSpot(TM) Client VM 1.5.0_12-b04 System: Windows Vista version 6.0 running on x86; Cp1252; en_US (nb) Woodstock 4.1: 200708131255 (build 10 RC1) log of a11y output attached
Created attachment 46664 [details] a11y log