Closed Bug 304053 Opened 20 years ago Closed 20 years ago

Inconsistent focus indication in Midas

Categories

(Core :: DOM: Editor, defect)

x86
Windows 2000
defect
Not set
minor

Tracking

()

VERIFIED FIXED

People

(Reporter: mcow, Assigned: neil)

References

()

Details

(Keywords: fixed1.8)

Attachments

(1 file)

If you click on a Midas editor (e.g at the demo page, or in the mail compose window) the focus indication is limited to the flashing caret (perhaps not even that -- bug 64451, bug 101333, I think some mail bugs about this too). But if you tab into the editor, a focus ring is drawn around perimeter. In the mail compose window, this can be seen by using Shift+Tab to the editor, or by setting the focus to the attachment bucket and then tabbing -- there is code to handle a tab from Subject which appears to bypass the normal action. In fact, that code may be in place explicitly to suppress the display of the focus ring. (Comments in the code? We don't need no steeenking comments!) Per Neil, "this is because ShiftFocus calls nsDocShell::SetHasFocus - but maybe that should be suppressed for editor." Aaron, do you think this qualifies as an 'access' bug?
Attached patch Proposed patchSplinter Review
Mike, sorry, I'd confused SetHasFocus with SetCanvasHasFocus. I've only tested this with the compose window as Midas isn't working in trunk.
Assignee: mozeditor → neil.parkwaycc.co.uk
Status: NEW → ASSIGNED
Attachment #192143 - Flags: superreview?(roc)
Attachment #192143 - Flags: review?(aaronleventhal)
Attachment #192143 - Flags: superreview?(roc)
Attachment #192143 - Flags: superreview+
Attachment #192143 - Flags: review?(aaronleventhal)
Attachment #192143 - Flags: review+
Comment on attachment 192143 [details] [diff] [review] Proposed patch Low risk patch to disable the tab focus ring for editable frames.
Attachment #192143 - Flags: approval1.8b4?
Attachment #192143 - Flags: approval1.8b4? → approval1.8b4+
Fix checked in.
Status: ASSIGNED → RESOLVED
Closed: 20 years ago
Keywords: fixed1.8
Resolution: --- → FIXED
Verified fixed (tested only the message-compose window case) with TB 1.0+0819.
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: