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

1Password & Safari 5.1 (Lion) problem with Http Access logins

<div class="IPBDescription">1Password button grayed out when accessing protected directories</div>This is perhaps the biggest usability problem I've found with 1Password running under Lion. Whenever I try to access files in a protected directory, I am asked to enter my login data. But in those cases, all the Safari buttons to the left of the address field become grayed out and I cannot access them. Try it yourself here:



http://install.kiramek.com/install/download/100916visioncompat.pdf



You of course don't know the login, but that is irrelevant. What I want you to see is the grayed out icons. If there was a contextual menu command that would allow me to insert my login data, that would be a workaround. But for now, I cannot conveniently enter my login data. Yes, I know I can open the 1Password app, search for the site, and then copy/paste the data. But that is too much trouble and defeats the purpose of having a Safari extension in the first place.



I know this is largely the fault of Apple's new Safari 5.1 code. But as an end user, I would certainly appreciate a clever workaround for Apple's ineptness!



Thank you.

Comments

  • dteare
    dteare Agile Founder
    [quote name='RobJ' timestamp='1311858884' post='34648']

    You of course don't know the login, but that is irrelevant. What I want you to see is the grayed out icons.

    [/quote]



    I see what you mean. This site is using Http Access for their authentication, and you're right, at the moment Apple does not provide any hooks into these windows. Ideally they would leave our toolbar icon active so you could open it and copy the password, but for the moment this is not possible. Google Chrome allows this, however, so maybe Apple will become jealous and change their minds <img src='http://forum.agile.ws/public/style_emoticons/<#EMO_DIR#>/smile.gif' class='bbc_emoticon' alt=':)' />



    [quote name='RobJ' timestamp='1311858884' post='34648']

    If there was a contextual menu command that would allow me to insert my login data, that would be a workaround. But for now, I cannot conveniently enter my login data. Yes, I know I can open the 1Password app, search for the site, and then copy/paste the data. But that is too much trouble and defeats the purpose of having a Safari extension in the first place.

    [/quote]



    Technically we're not able to write to that window, so even with a context menu, we'd have troubles here. The best work around I can offer at the moment is to open the 1Password popover [i]before[/i] going to the site, find your login, copy the password, click the URL to be taken there, and then paste the password. It is certainly not ideal but it would be more convenient than opening the main 1Password application.



    [quote name='RobJ' timestamp='1311858884' post='34648']

    I know this is largely the fault of Apple's new Safari 5.1 code. But as an end user, I would certainly appreciate a clever workaround for Apple's ineptness!

    [/quote]



    I'd love a clever workaround, too! I'm an end user as well <img src='http://forum.agile.ws/public/style_emoticons/<#EMO_DIR#>/smile.gif' class='bbc_emoticon' alt=':)' />
  • Examinus
    Examinus Junior Member
    edited July 2011
    [quote name='dteare' timestamp='1311867523' post='34675']I'd love a clever workaround, too! I'm an end user as well <img src='http://forum.agile.ws/public/style_emoticons/<#EMO_DIR#>/smile.gif' class='bbc_emoticon' alt=':)' />

    [/quote]



    Doesn't the Services menu still have access at that point? Would it be possible to somehow hook into it using that via an Apple script or something?



    Just a thought I've had and one I'm sure you've explored!



    EDIT:



    Here's something interesting:



    [img]http://imgf.tw/522310193.png[/img]



    That's the window for Click2Flash's preferences (the 5.1 version) loaded after the modal window came up by right clicking on the page. So it looks like it is kind of possible to load Extensions even though there's an auth window there...
  • dteare
    dteare Agile Founder
    [quote name='Examinus' timestamp='1311868742' post='34678']

    That's the window for Click2Flash's preferences (the 5.1 version) loaded after the modal window came up by right clicking on the page. So it looks like it is kind of possible to load Extensions even though there's an auth window there...

    [/quote]



    Ah, yes, I see what you mean. I just learned you can do the same with 1Password, too. Try using the CMD-\ keyboard shortcut when the auth window is displayed: the popover will appear even though the toolbar button is inactive. So, you should be able to copy your password from there afterwards, instead of remembering to copy it first. Note that your milage may vary, however, as I managed to crash Safari by opening the window a few times in a row.



    Even with the window open, however, it doesn't provide us a [i]supported[/i] way to fill the data using the Safari Extension API. We'll have to find a clever workaround.
  • RobJ
    edited July 2011
    [quote name='dteare' timestamp='1311869725' post='34681']Try using the CMD-\ keyboard shortcut when the auth window is displayed: the popover will appear even though the toolbar button is inactive.

    [/quote]



    Wow, it does work to bring up the 1Password popover! However, when I do that in this particular case, 1Password doesn't know what site it's on so it lists all my registered sites. And since a search operation is not supported in the popover, it's actually harder and takes more time to scroll through my enormous list of registrations in the popover than it would to just open the 1Password app.



    [b]Since it appears that your hands are tied by Apple, would it help if I wrote Apple? If so, would you consider this a "bug" that I should file, or should I just file my remarks as a Safari feature request? And what specifically should I tell them about this problem such that they would consider fixing it in a future Safari revision?

    [/b]

    I ask this because I am no stranger to filing bug reports and writing Apple a piece of my mind. I love 1Password and I loath the fact that Apple took it upon themselves to "improve" Safari to such an extreme as to break your excellent software in a number of places. I'm quite steamed at Apple at the moment!



    Thank you for your great support. Keep up the excellent work.
  • khad
    khad Social Choreographer
    Thanks for the kind words (toward 1Password) and support, Rob! Apple is aware of the limitation, so I don't know that it would do much good to write to them about it. We are working on a clever solution that resides within the limitations, though. <img src='http://forum.agile.ws/public/style_emoticons/<#EMO_DIR#>/skype_smile.png' class='bbc_emoticon' alt=':-)' />



    I don't have a time frame, but this is definitely on our radar.



    That said, if you feel compelled to write to Apple we certainly won't stop you. <img src='http://forum.agile.ws/public/style_emoticons/<#EMO_DIR#>/skype_wink.png' class='bbc_emoticon' alt=';-)' />



    Cheers,
  • alphi
    alphi Junior Member
    edited August 2011
    I also have a problem with a login for a specific URL ... https://www.123-reg.co.uk/secure/

    The login needs to go into a drop-down box, but 1password fails to fill.

    Safari - 3.7.b15 - 3.7.5.BETA-4 (build 31104)

    Thanks
  • khad
    khad Social Choreographer
    Hey alphi, I merged you post with this other thread since it pertains to all HTTP Auth prompts. Please see above and the [url="http://help.agilebits.com/1Password3/http_auth.html"]related section in the User Guide[/url] and let me know if there is anything else I can help with.



    We are always here to help!