Closed
Bug 892384
Opened 12 years ago
Closed 12 years ago
When switching to a tab with an open find bar, focus it
Categories
(Firefox :: Tabbed Browser, defect)
Firefox
Tabbed Browser
Tracking
()
VERIFIED
FIXED
Firefox 25
People
(Reporter: dao, Assigned: unusualtears)
References
Details
Attachments
(1 file, 1 obsolete file)
|
2.50 KB,
patch
|
Details | Diff | Splinter Review |
There's code in tabbrowser.xml to keep the global find bar focused when switching tabs, but it stopped working with the landing of bug 537013. I think we should simply replace it with focusing the tab-specific find bar when switching to a tab.
Also added a test.
| Reporter | ||
Comment 2•12 years ago
|
||
Comment on attachment 774269 [details] [diff] [review]
Change code to set focus instead of check it
>+ // If the find bar is visible, focus it.
>+ if (gFindBarInitialized && !gFindBar.hidden) {
>+ gFindBar._findField.focus();
> break;
>+ }
s/visible/open/
Thanks!
Attachment #774269 -
Flags: review?(dao) → review+
Pushed to try (atop the patch of bug 891638 because it isn't on m-c yet): https://tbpl.mozilla.org/?tree=Try&rev=8f57f4f9a9f8
Attachment #774269 -
Attachment is obsolete: true
Keywords: checkin-needed
| Reporter | ||
Comment 4•12 years ago
|
||
Keywords: checkin-needed
Comment 5•12 years ago
|
||
Status: ASSIGNED → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 25
Comment 6•12 years ago
|
||
While testing for the pre-beta sign-off of the Find Bar Redesign feature, I tried to verify this bug with the latest Aurora (build ID: 20130903004001), and this works as expected on Win 7 32-bit, Mac OS X 10.7.5 and Ubuntu 13.04 32-bit.
Status: RESOLVED → VERIFIED
QA Contact: manuela.muntean
You need to log in
before you can comment on or make changes to this bug.
Description
•