Open Bug 416022 Opened 18 years ago Updated 3 years ago

Focus Find bar text box after toggling Match case with a key binding

Categories

(Toolkit :: Find Toolbar, defect, P5)

defect

Tracking

()

People

(Reporter: adelfino, Unassigned)

Details

(Keywords: polish, ue)

Attachments

(1 file)

User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9b4pre) Gecko/2008020613 Minefield/3.0b4pre Build Identifier: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9b4pre) Gecko/2008020613 Minefield/3.0b4pre Right now, after toggling Match case with a key binding, it is focused, which makes the user focus the text box again to edit the search. This does not make any sense, since once you have toggled Match case, you don't have much else to do with it, it makes more sense to focus the text box. Reproducible: Always
Version: unspecified → Trunk
Severity: normal → enhancement
Flags: blocking-firefox3?
This will not block the final release of Firefox 3.
Flags: blocking-firefox3? → blocking-firefox3-
Seems like a nice to have and all, but does that mess with screen readers?
Keywords: polish, ue
(In reply to comment #2) > Seems like a nice to have and all, but does that mess with screen readers? > No idea :/
I don't like too much this idea... let the focus jumping in this way cold be a bit confusing.
I think the problem here is that we give the checkbox focus in the first place. For a checkbox inside a toolbar, accesskey should activate but not focus (similar to <toolbarbutton>). Compare the "Highlight all" button, which also toggles. This has the advantage of not messing with the caret position and selection of the text input at all and you can still TAB to the checkbox and activate it using SPACE and it will stay focused.
Assignee: nobody → mats.palmgren
Severity: enhancement → minor
Attached patch Patch rev. 1 — — Splinter Review
Attachment #325181 - Flags: superreview?(enndeakin)
Attachment #325181 - Flags: review?(enndeakin)
(In reply to comment #5) > accesskey should activate but not focus [...] This has the advantage of not > messing with the caret position and selection of the text input at all and you > can still TAB to the checkbox and activate it using SPACE and it will stay > focused. I agree, this is the ideal solution.
Status: UNCONFIRMED → NEW
Ever confirmed: true
Product: Firefox → Toolkit
Comment on attachment 325181 [details] [diff] [review] Patch rev. 1 I don't like this hard-coded binding url. I think it would be better here to add display="xul:toolbar" to the findbar and use ResolveTag to check for toolbars. (And add toolbar to the whitelist in nsXBLService::CheckTagNameWhiteList) Why check specifically just for checkboxes? Minusing for now.
Attachment #325181 - Flags: superreview?(enndeakin)
Attachment #325181 - Flags: review?(enndeakin)
Attachment #325181 - Flags: review-
Assignee: mats → nobody
Priority: -- → P5
Severity: minor → S4
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: