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 70723 - [50cat] Mac OS X: by reopening Options Dialog two items are selected
Summary: [50cat] Mac OS X: by reopening Options Dialog two items are selected
Status: RESOLVED FIXED
Alias: None
Product: platform
Classification: Unclassified
Component: Options&Settings (show other bugs)
Version: 5.x
Hardware: Macintosh Mac OS X
: P3 blocker (vote)
Assignee: issues@platform
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-12-22 09:37 UTC by lordy
Modified: 2008-12-22 21:44 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
screenshot broken (80.46 KB, image/png)
2005-12-22 09:37 UTC, lordy
Details
patch (1.63 KB, patch)
2005-12-22 09:38 UTC, lordy
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description lordy 2005-12-22 09:37:07 UTC
[ 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...
Comment 1 lordy 2005-12-22 09:37:55 UTC
Created attachment 28029 [details]
screenshot broken
Comment 2 lordy 2005-12-22 09:38:34 UTC
Created attachment 28030 [details]
patch
Comment 3 Jan Jancura 2005-12-22 13:41:01 UTC
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
Comment 4 lordy 2005-12-22 13:59:49 UTC
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.
Comment 5 cbulcu 2005-12-22 14:17:19 UTC
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.
Comment 6 lordy 2005-12-22 14:29:43 UTC
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.
Comment 7 Jan Jancura 2005-12-22 15:20:13 UTC
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