Safari (Tech Preview) Extension Bug: Invoke Hotkey and *Safari* is launched.

leoofborgleoofborg Junior Member
edited May 2018 in Mac Beta

New bug in b10. Was happily using Safari Tech Preview in b9, not having (that many) problems with auto fill.

Updated to b10;

0 Launch Safari TP current version: Release 54 (Safari 11.2, WebKit 13606.1.13.2)
1 Go to website login page (like gab.ai/login)
2 Invoke hotkey to show 1P in browser....

RESULT

1p7b10 now launches Safari. This is problematic because now I have 2 copies of Safari fighting over my keychain.

EXPECTED

Same behavior as in b9, 1p UI coming up, me putting in master pass, then filling a login.

What do?

--Leo


1Password Version: 7.0 b10
Extension Version: 7.0 BETA 10
OS Version: 10.13.4
Sync Type: Dropbox

Comments

  • rudyrudy

    Team Member

    @leoofborg,

    At this time you must set STP as the default browser in order for that set of actions to work. This is an unfortunate (hopefully temporary) side effect of how the new Safari App Extension works.

    Rudy

  • joeworkmanjoeworkman Junior Member

    Is this fixable? I do actually use both browsers, depending on the task that I am doing.

  • brentybrenty

    Team Member

    @joeworkman: I don't believe this is something we can "fix", given that macOS only supports a single default browser, and Safari app extensions don't have a facility for this. Using the default browser setting is currently the only way to ensure that URLs open in a particular browser, but we'll see if Apple has anything new for us to play with next month. Cheers! :)

  • Hmm, something is fishy here. Why does the 1Password extension open Safari anytime the default browser is not STP? If the default is Chrome, it still opens Safari.

  • brentybrenty

    Team Member

    @DaveWoodX: Fishy? Anyway, I think you may have meant to comment in a different discussion, as this one is from May and is not related to the current state of things in Safari 12. What you're describing is just how Safari App Extensions work currently. Perhaps Apple will change that in the future. But currently if you want to use 1Password's Safari App Extension with Safari Technology Preview, you'll need to set Safari Technology Preview as the default browser.

  • @brenty Sorry if this was the wrong conversation, this was where the 1Password team sent me:

    I say fishy because something doesn't feel right. If I have STP as the default browser, everything works as expected. If Safari is the default browser, Safari opens but then the 1P extension does work in STP. If Chrome is the default, Safari still opens. If Safari still opens when it's not the default browser, how does changing the default browser to STP help? Why doesn't the 1P extension open Chrome?

    Oddly enough, if you just leave a Safari window open and minimized, the 1P extension works just fine in STP.

    Anyway, looks like people are saying the same basic thing in the other thread.

  • rudyrudy

    Team Member
    edited October 2018

    @DaveWoodX,

    • if Safari is the default browser then the extension should work normally
    • if Chrome/Firefox/something that isn't a variant of Safari is the default browser then attempts to use SAE will only succeed in Safari
    • if STP is the default browser then the extension will work in STP but not Safari; generally.
  • brentybrenty

    Team Member

    Yep. Prerelease software can be weird. Hopefully Apple will address this, but I can't imagine it's a high priority as there probably aren't a lot of people using Safari Technology Preview day to day, at least relatively speaking.

  • This seems to still be an issue, any updates here?

  • Jon_BJon_B
    edited December 2018

    Whoops - double post and now the other comments show up. Anyway, I use Choosy as my default browser and have Safari and STP installed for different logins. Looks like the behavior still follows the same pattern as described by @rudy

  • AGKyleAGKyle AgileSupport

    Team Member

    @Jon_B

    Unfortunately Safari and Safari Tech Preview will behave in strange ways if you are trying to use them both and use Choosy. If you wish to use Safari Tech Preview you will have to have Safari Tech Preview set as your default browser, rather than Choosy. Otherwise expect odd things to happen.

  • davidolrikdavidolrik Junior Member

    That kinda defeats the purpose of Choosy.

  • rudyrudy

    Team Member

    @davidolrik,

    Yup, unfortunately its a limitation of the API that allows us to wake up the Safari App Extension. The Apple team is aware of our request to improve that API and allow us to direct it to a specific Safari independent of the default browser.

  • davidolrikdavidolrik Junior Member

    Could we have the possibility of a hotkey that only shows 1Password?

    As it is right now if I activate 1Password with Safari Tech Preview as the frontmost application, Safari will launch.
    If I activate 1Password with any other application as the frontmost application, Safari will not launch.

    In my opinion "Show 1Password" should only bring 1Password to the front not launch Safari.

  • brentybrenty

    Team Member

    We don't have control over the default browser behaviour, as that's all handled by the OS. But ⌘ ⌥ \ shows 1Password. Or you can change the keyboard shortcut in 1Password Preferences > General. Cheers! :)

  • davidolrikdavidolrik Junior Member

    That keyboard shortcut also launches Safari when I have Safari Tech Preview as the front most application.

  • brentybrenty

    Team Member
    edited January 15

    @davidolrik: Are you saying that pressing Option and \ together opens Safari on your Mac? I've never seen or heard of that before, so I think maybe I'm misunderstanding. Here the only thing that happens is that 1Password mini displays. Please clarify.

  • davidolrikdavidolrik Junior Member

    Nope you got it right.

    I have Safari Tech preview running as the only browser, and when pressing the "show 1Password" hotkey, it shows 1Password and launches Safari.

  • brentybrenty

    Team Member

    @davidolrik: Hmm. Okay, that's weird. What is your default browser setting in System Preferences?

  • davidolrikdavidolrik Junior Member

    @brenty: Choosy.

  • davidolrikdavidolrik Junior Member

    I think I found a bug/misfeature in Choosy - If I change my default browser to Safari Tech preview, Safari is no longer launched when showing 1Password.

  • rudyrudy

    Team Member
    edited January 15

    @davidolrik,

    This is correct. The way the Safari App Extension API works it will only operate with Safari if something other than a Safari is selected as the default browser.

    So choosing Choosy or Chrome or Firefox means that you can only use the extension interface with Safari.

    If STP is selected then it will only work with STP and not production Safari.

Leave a Comment

BoldItalicStrikethroughOrdered listUnordered list
Emoji
Image
Align leftAlign centerAlign rightToggle HTML viewToggle full pageToggle lights
Drop image/file