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.
[ BUILD # : 200512182030 ] [ JDK VERSION : 1.5.0_06 ] From NetCat Maillist: Am 22.12.2005 um 09:36 schrieb Claudiu Bulcu: Open the Options Dialog. Click on Fonts & Colors and then click OK. Enter the Options Dialog again. The General button is highlighted, as if the mouse is over it. It's small problem, but there it is. I haven't filed an issue on this, because it's not that important. It seems unfinished though. -- Claudiu Bulcu Software Developer ------------------------------------------ See screenshot and patch...
Created attachment 28029 [details] screenshot broken
Created attachment 28030 [details] patch
I am not sure if your patch is 100% OK. There is problem that there are two selections. First is currently selected category. Second is focused category. FOr example - you can click on "General" button (mouse) and than press Tab key. So, "General" category is selected, but "Editor" category button has focus. And when you press "Space" key, "Editor" category will be selected. There should be some visual notification about currently focused category button. I am not Mac user, so I do not know how to do it correctly on that platform. I use two different colors for selected and focused buttons on Windows platform. Feel free to advice me whats correct solution for Mac, but I can not promise, that it will be fixed for nb50 (Christmas+HighResistence). Thanks
I now try some Mac OS X Application to be sure, and in fact, the Options Dialogs there doesn't support "focused category". There is also no support for switch categorys with press left or right key. I hope the patch can append because in the view of the user current it look wrong.
I have to add that this issue is occuring on win 2000 too. Sorry Chris. The patch should be effective for windows platform too. Tested on dev build 200512212030.
Claudiu, yes and no... Mac OS X: current there is no highlighted state. Only the focus listener call the set the highlighted state. My patch remove this setting. I do that because highligted and selected look the same on Mac OS X and so the user think "there is somethign wrong" when he focus something. Other: there a two states, the highlighted or the selected. If you move with the mouse over a not selected category it set the highlighted state. And after this converation i notice you mean another issue. Your issue is, that the first category get focues, and so highlighted state, by reopening the dialog.
ok, I have applied your patch: IDE:------------------------------------------------- IDE: [22.12.05 16:17] Committing "OptionsPanel.java" started Checking in OptionsPanel.java; /cvs/core/options/src/org/netbeans/modules/options/OptionsPanel.java,v <-- OptionsPanel.java new revision: 1.29; previous revision: 1.28 done IDE: [22.12.05 16:17] Committing "OptionsPanel.java" finished