[chromium-dev] Re: Why is the Mac Omnibox stealing focus?

2009-05-13 Thread Avi Drissman
OK, so this was r15790. The code already exists to set the focus to the location bar if it already had it, though. Avi On Wed, May 13, 2009 at 2:24 PM, Avi Drissman wrote: > I'm implementing save/restore focus when switching tabs, a

[chromium-dev] Re: Why is the Mac Omnibox stealing focus?

2009-05-13 Thread Avi Drissman
OK. Will update my bug with that blocker info. Avi On Wed, May 13, 2009 at 2:34 PM, Scott Hess wrote: > The "why" is probably because I misunderstood something. With an > NSTextField there, we can't set the selection without having focus, > which may have confused me into grabbing focus in cas

[chromium-dev] Re: Why is the Mac Omnibox stealing focus?

2009-05-13 Thread Scott Hess
The "why" is probably because I misunderstood something. With an NSTextField there, we can't set the selection without having focus, which may have confused me into grabbing focus in cases where it isn't needed (or requested). I've been spending some time figuring out where all that code can get