Open Bug 306520 Opened 20 years ago Updated 3 years ago

Closing Find Bar should properly restore focus if it didn't change

Categories

(Toolkit :: Find Toolbar, enhancement, P3)

enhancement

Tracking

()

mozilla1.9alpha7

People

(Reporter: ispiked, Unassigned)

References

(Blocks 1 open bug)

Details

(Keywords: access)

Attachments

(1 file)

Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9a1) Gecko/20050830 Firefox/1.6a1 ID:2005083010 When you are typing in a form, or <input>, etc. and hit Ctrl+F to bring up FAYT, when you close FAYT focus (the cursor) is not returned to that element. The element is focused (with respect to the tab index) but you can't resume typing in it. 1. Focus cursor in input. 2. Ctrl+F to bring up FAYT. 3. ESC or press the close button. The cursor is not brought back to focus in the form element.
OS: Linux → All
Hardware: PC → All
taking.
Assignee: nobody → masayuki
Target Milestone: --- → Firefox1.6-
So, there are cases where this behavior makes sense and some where it doesn't. The cases where I think we should be doing this are when: * the user invokes find and immediately dismisses it or * the user invokes find and types in a search term that's not found. In other cases, a link will have focus or the search term will be selected. I don't think we want to kill that selection or focus on the link! Thoughts?
Severity: normal → minor
Keywords: access
Target Milestone: Firefox 2 → Firefox 3 alpha1
I can further refine comment 2 to note that the user would have to type in a search term where _not even one character is found_. If anything at all is found, the bar will change "focus" (well, its faked up version of focus), and I don't think we can blow that away when the bar is dismissed. It's hard to convert that into a short summary, but I gave it a shot.
Summary: Closing FAYT does not return focus to forms → Closing Find Bar should properly restore focus if it didn't change
Assignee: masayuki → mano
Severity: minor → enhancement
Priority: -- → P3
Target Milestone: Firefox 3 alpha1 → Firefox 3 alpha2
Attached patch v1Splinter Review
Blocks: focusnav
Target Milestone: Firefox 3 alpha2 → Firefox 3 beta1
Assignee: mano → nobody
Product: Firefox → Toolkit
I think this is fixed with latest trunk build. Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2a1pre) Gecko/20090701 Minefield/3.6a1pre
Cannot reproduce with Nightly(20160409030219)/Windows7(x64)
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: