rs / SafariOmnibar

Safari plugin to add Chrome like omnibar in Safari
http://hackemist.com/SafariOmnibar/
417 stars 30 forks source link

Focus the OmniBar after a new tab was created #16

Closed AlexanderWillner closed 13 years ago

AlexanderWillner commented 13 years ago

See title.

ratberryjam commented 13 years ago

When I open a new tab, the Ominbar has focus (I'm using version 1.2 in Safari 5.1). It may be that something else is stealing focus. For example, I have Glims installed, and if I set 'Focus "Search Field" when opening new window' to on, the the Omnibar doesn't get focus when creating a new tab or window.

rs commented 13 years ago

Just tested on pristine safari 5.1 with omnibar plugin, the omnibar is focused by default. If you instruct Glims to focus the search field, it's must be your issue as Omnibar use the location bar and hide the default search bar.

AlexanderWillner commented 13 years ago

It's a bit hard to reproduce it:

  1. Open Safari (not in full screen mode, empty page)
  2. Open a web site
  3. Switch to full screen mode
  4. Create a new tab using cmd+t
indirect commented 13 years ago

I'm seeing this too, following those instructions. I'm not using Glims.

rs commented 13 years ago

I can only reproduce this on the second tab. Do you confirm?

rs commented 13 years ago

Note that I can reproduce the issue only on the second tab, and with or without SafariOmnibar installed. Looks like a Safari bug to me. Can someone confirm?

indirect commented 13 years ago

I can no longer reproduce this, with or without SafariOmnibar. Wot.

AlexanderWillner commented 13 years ago

Seems that Safari steals the focus when fading in the tab bar. Therefore, it only occurs on the second tab and only if the option "Hide Tab Bar" is enabled.

jmlacroix commented 13 years ago

I confirm @AlexanderWillner's comment on a fresh OSX Lion install: Safari Version 5.1 (7534.48.3)

It seems like a Safari bug since I removed Omnibar for the test.

rs commented 13 years ago

I close this issue as it's a Safari bug