This is a staging forum for AgileBits, not an official support forum. Visit http://discussions.agilebits.com instead.

Command-\ shortcut breaks if 1Password app is opened first

Hi,



It seems that the command-\ shortcut and autofill breaks if you open and unlock the 1Password app first. If you open the app, manually click to choose and submit, the Safari shortcut will work as expected afterwards.



- Open 1Password app, UNLOCK. Launch Safari 5.1, open page, hit command-\. Nothing happens. You have to click the 1P button to see the entry and click the entry title. Autofill/submit won't work, so you have to hit enter to submit.



- Open 1Password app, DON'T UNLOCK. Launch Safari 5.1, open page, hit command-\. Nothing happens. You have to click the 1P button to see the entry and click the entry title. Autofill/submit won't work, so you have to hit enter to submit.



- Launch Safari 5.1, open page, hit command-\. Extension pop up opens. Enter master password. "Error: need to open app". Blue hyperlink to open app doesn't work.



-- Once you go through and successfully open and manually click the entry to submit, then the app/extension will work correctly. You can close the main app and the auto submit will still work.





Using: 3.7.1 and 3.7b9. Mac OSX 10.6.8, Safari 5.1

Comments

  • This is very strange, Glenn, I can't reproduce this here though I am on Lion rather than Snow Leopard.



    The first thing to ask is to have you go to Help > Troubleshooting > Restart Agent from within 1Password itself and then try again.



    Also, we've just released a new update to both the extension and 1Password itself to bring back some functionality to our Snow Leopard users as well as adding 'Never for this site' to the auto-save bar in Safari. To get this new update please go to 1Password > Preferences > Updates and check 'Include Beta Versions' and then click 'Check Now' to get the latest version.



    Once that's done, please update the Safari extension to the latest version by performing a manual update within Safari > Preferences > Extensions as we detail at the bottom of this guide:



    http://help.agilebits.com/1Password3/safari_5.1_install_update.html



    Please make sure you restart safari with Command-Option-Q to ensure the extension is properly reloaded.



    Hope that helps,





    [quote name='GlennM' timestamp='1312403536' post='36497']

    Hi,



    It seems that the command-\ shortcut and autofill breaks if you open and unlock the 1Password app first. If you open the app, manually click to choose and submit, the Safari shortcut will work as expected afterwards.



    - Open 1Password app, UNLOCK. Launch Safari 5.1, open page, hit command-\. Nothing happens. You have to click the 1P button to see the entry and click the entry title. Autofill/submit won't work, so you have to hit enter to submit.



    - Open 1Password app, DON'T UNLOCK. Launch Safari 5.1, open page, hit command-\. Nothing happens. You have to click the 1P button to see the entry and click the entry title. Autofill/submit won't work, so you have to hit enter to submit.



    - Launch Safari 5.1, open page, hit command-\. Extension pop up opens. Enter master password. "Error: need to open app". Blue hyperlink to open app doesn't work.



    -- Once you go through and successfully open and manually click the entry to submit, then the app/extension will work correctly. You can close the main app and the auto submit will still work.





    Using: 3.7.1 and 3.7b9. Mac OSX 10.6.8, Safari 5.1

    [/quote]
  • Hi,



    Thanks for the quick reply.



    I updated to the latest app/extension which helped briefly. I have been "restarting agent" and option quitting Safari after each upgrade.



    - On the plus side, choosing items from the extension list now auto fill/submit correctly.



    I was able to narrow down the extension breaking to:



    - Open 1Password app. Open Safari, open any log in page. Hit short cut command-\. Pops up extension. Enter master password. It either auto fills/submits or presents you with a list. Choose from list and it will auto fill/submit.



    - However, if you clear the cookies, quit Safari and relaunch Safari, the short cut will no longer pop up the extension. You have to click the 1P button to see a list.



    - If you quit Safari WITHOUT clearing the cookies, things seem to work after restarting.



    Hope this helps...
  • MikeT
    MikeT Agile Samurai
    Hi GlennM,



    I believe we have fixed this issue in the latest Beta version of 1Password and our extension, 3.7.2 βeta 2 and 3.7b10, respectively. Can you test them and see if that’ll work better for you? You can enable the beta updates by going to the 1Password > Preferences window, selecting the Update panel, enable the "Include Beta versions" checkbox, and then click Check Now. Once the update is installed, open Safari and [url="http://help.agilebits.com/1Password3/safari_install_update.html#how_to_update_1password"]update the extension[/url] if it hasn’t been auto-updated yet by Safari.



    I hope that helps, please let me know.
  • Hi,



    I'm afraid it's still the same. The previous post was after updating to the latest Beta version of 1Password (3.7.2 βeta 2) and the extension (3.7b10). If you clear the cookies before quitting Safari, the short cut (command-\) won't work upon relaunching Safari. The pop-up fails to appear unless you click on the 1P button.



    Thanks,



    Glenn
  • I too have exactly the same problem.

    Cmd + \ isn't working.



    Version: 3.7.b10 (Safari ext)

    Version 3.7.2 (BETA-2) Main App
  • Managed to fix this myself.

    I tried disabling extensions one by one and found Adblock was causing the problem



    Uninstall Adblock.

    Reinstall Adblock.



    I think if Adblock is installed before 1P, it causes a conflict? Now it works even after reinstalling Adblock.
  • Just tried the latest versions: 3.7.2 and 3.7 b10.



    Still has problems. It looks like if the initial connection between the app and the extension is broken, the short cut breaks.



    Install latest version, restart Agent, option quit Safari.



    - Open 1Password, unlock. Open Safari 5.1. Go to any log-in page. Hit command-\. Short cut doesn't work. Click 1P button, prompts for master password. Shows correct entry, hit enter key and it fills/submits correctly. The short cut will be broken for the remainder of the session. Opening or closing windows will have no effect.



    IF you restart Safari without clearing the cookies after successfully logging into a site, the short cut will work.



    However:



    - Open 1Password, unlock. Open Safari 5.1. Go to any log-in page. Hit command-\. Initial time will prompt for master password. Auto fill/submit works. CLEAR cookies, QUIT Safari, but leave 1Password open. Restart Safari. The short cut will no longer work. Choosing the 1P browser button will still pull up the correct account, but the short cut breaks.



    Once it breaks, the only way to get it back is to restart both 1Password and Safari.





    Mac 10.6.8, Safari 5.1

    1Password 3.7.2, extension 3.7 b10
  • brenty
    edited August 2011
    [quote name='GlennM' timestamp='1312495188' post='36828']

    Still has problems. It looks like if the initial connection between the app and the extension is broken, the short cut breaks.

    [/quote]



    Hey GlennM! You are more right than you realize: Removing all of Safari's cached data (including extension caches) has exactly this effect. Essentially you are running the extension for the first time in every session. [url="http://developer.apple.com/library/safari/#documentation/Tools/Conceptual/SafariExtensionGuide/Introduction/Introduction.html"]Safari extensions (not plugins, not SIMBL) are web apps[/url] with data cached locally. This is by design, and a big part of the reason that they are so secure. They run completely sandboxed, just like all other web content in WebKit2. So when you click this:

    [img]http://cdn.agilebits.com/by/Screen_shot_2011-08-06_at_07.16.09-20110806-072152.jpg[/img]



    You are removing not only saved cookies, but [u]all[/u] web caches from Safari. That's why it says "all". <img src='http://forum.agile.ws/public/style_emoticons/<#EMO_DIR#>/tongue.gif' class='bbc_emoticon' alt=':P' />



    This resulted in the loss of the data for the rest of my Safari extensions as well. There just isn't any way around it I don't think. If you delete the cached 1Password extension data, this will be the end result, just as if you clear cookies for a single site or remove Gmail's local web cache. In essence, you are using it again for the first time.



    I hope this helps clarify things. Now, if you will excuse me, [url="http://www.wowhead.com/quest=27779/gnomebliteration#screenshots:id=206986"]I am going to go kill some gnomes[/url]. <img src='http://forum.agile.ws/public/style_emoticons/<#EMO_DIR#>/smile.gif' class='bbc_emoticon' alt=':)' />
  • Hi,



    The last couple betas for the app (3.7.5 b4) and extension (3.7 b5) seemed to have cured things. Clearing cookies doesn't break the short cut anymore. Everything is working great.



    Thanks for all the hard work!



    Glenn
  • That's awesome, Glenn! Thanks for the update. I don't know how they do it, but things just keep getting better. <img src='http://forum.agilebits.com/public/style_emoticons/<#EMO_DIR#>/biggrin.png' class='bbc_emoticon' alt=':D' />
  • Do you have the "Block Pop-Up Windows" option checked? If so un-check it and try. See if that helps.





    New version of Safari is sooo full of $h!t.
  • khad
    khad Social Choreographer
    edited August 2011
    Welcome to the forums, Jaypal. I'm not sure that blocking pop-up windows has any affect on this issue, but please let me know if you have some additional information to report. I am always excited to learn something new. <img src='http://forum.agilebits.com/public/style_emoticons/<#EMO_DIR#>/skype_smile.png' class='bbc_emoticon' alt=':-)' />



    Since I think this particular topic has been resolved, I'm going to close it, but please start a new one if you have another issue that we can help with.



    Cheers,
This discussion has been closed.