Closed Bug 640425 Opened 14 years ago Closed 14 years ago

Clicking on the searchbar engine dropdown makes the field lose focus

Categories

(SeaMonkey :: Search, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: kairo, Assigned: neil)

References

Details

Attachments

(1 file, 2 obsolete files)

Bug 401417 comment #45 by Neil: I did notice one issue and that is that clicking on the button causes the search field to lose focus. One workaround for that is to use a toolbarbutton instead of a button.
Interestingly, it doesn't lose focus on Mac.
Attached patch WIP (obsolete) — Splinter Review
This also contains all the adjustments needed to get the search bar the same height as the URL bar in Modern and Classic (Windows/Linux). I notice the dropmarker doesn't look so good in Linux though, so this may not be final.
Assignee: nobody → neil
Attachment #519046 - Flags: feedback?(iann_bugzilla)
Attached patch Possible patch (obsolete) — Splinter Review
Attachment #519060 - Flags: review?(iann_bugzilla)
Attachment #519060 - Flags: feedback?(kairo)
Attachment #519060 - Flags: review?(iann_bugzilla) → review+
(In reply to comment #1) > Interestingly, it doesn't lose focus on Mac. Not that I haven't even tested, only filed a bug because Neil noted it.
Oh, and I hope you tested a11y with this patch, as I highly fear that not making it any kind of button makes it inaccessible.
Probably because Mac's focus rules are weird. You would probably lose focus if you had turned on full keyboard access, or something.
It becomes accessible once you've used it, which is a bit useless.
Attached patch Hybrid approachSplinter Review
Attachment #519046 - Attachment is obsolete: true
Attachment #519060 - Attachment is obsolete: true
Attachment #519046 - Flags: feedback?(iann_bugzilla)
Attachment #519060 - Flags: feedback?(kairo)
Attachment #519126 - Flags: review?(iann_bugzilla)
Attachment #519126 - Flags: feedback?(kairo)
Comment on attachment 519126 [details] [diff] [review] Hybrid approach r=me
Attachment #519126 - Flags: review?(iann_bugzilla) → review+
Status: NEW → ASSIGNED
(In reply to comment #1) > Interestingly, it doesn't lose focus on Mac. Ah, on Mac the problem is not that it doesn't lose focus when you click the drop-down, instead the problem is that if the field doesn't have focus, clicking the drop-down doesn't give the field focus (which it does in native Mac apps). The patch here doesn't change anything for me, though. When clicking the urlbar history drop-down, the urlbar gets focused though.
Blocks: 640514
Pushed changeset 0129d8e79d1c to comm-central.
Status: ASSIGNED → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
Attachment #519126 - Flags: feedback?(kairo)
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: