Closed Bug 55323 Opened 24 years ago Closed 24 years ago

Wrong focus effect for classic radio icons

Categories

(SeaMonkey :: Themes, defect, P3)

x86
Windows 95
defect

Tracking

(Not tracked)

VERIFIED FIXED
mozilla0.8

People

(Reporter: neil, Assigned: hewitt)

References

Details

(Keywords: access)

Attachments

(2 files)

The main Mail/News preference panel has two radio icons displaying the choice of
three pane layout. When one of these icons has the focus, a small dot appears to
the right of the icon. Surely the icon should have a dotted frame?

Additionally, it would be nice if the focus rectangle appears immediately around
an active radio button instead of waiting until it is checked.
Sending to Joe, ccing Ben.
Assignee: hangas → hewitt
Looks like the focus is being put on the text box only, and not the box that 
contains text and icon.
Status: NEW → ASSIGNED
Priority: P3 → P2
*** Bug 64168 has been marked as a duplicate of this bug. ***
Blocks: 18575
Themes Triage Team nsbeta1+
Keywords: nsbeta1
Priority: P2 → P3
Attached patch proposed patchSplinter Review
currently you're doing
<setter>
val.set(blah);
getGroup(this);
for( var i = 0; i < groupElements.length; i++ )
  if( groupElements[i] != val )
    groupElements[i].unset(blah);
</setter>
I think that you could improve speed [at the possible expense of correctness] 
by doing:
<setter>
getGroup(this);
for( var i = 0; i < groupElements.length; i++ )
  groupElements[i].unset(blah);
val.set(blah);
</setter>
however if this violates rules for any of the attributes then ignore it.
That's because I copied the style from the existing code.
Focus indication problems affect keyboard navigation, so adding access 
keyword.  This bug is still minor or trivial though.
Keywords: access
Target Milestone: --- → mozilla0.9
I wonder if this is the same as the problem with the back/next buttons in 
wizards.
The following patch fixes the problems described in the first paragraph of the
opening comment -- as far as the part about the timing of the focused effect,
and the patch submitted by Neil, that should be a separate bug filed against
XPToolkit instead of Themes.
Keywords: review
r=timeless for 24039
Keywords: reviewapproval
a=hangas
fixed
Status: ASSIGNED → RESOLVED
Closed: 24 years ago
Keywords: approval
Resolution: --- → FIXED
Target Milestone: mozilla0.9 → mozilla0.8
Marking verified on windows (2001-02-21-06-Mtrunk).
Status: RESOLVED → VERIFIED
Product: Core → SeaMonkey
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: