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

Cmd-\ shortcut impossible to type on Finnish keyboard

I'm running Safari 5.1 dev preview on Snow Leopard, and just installed the latest version of 1Password. The old 1Password plugin was working fine even in 5.1 with the second-newest version (3.6.0 or some earlier build of 3.6.1, don't know which), but apparently was removed in favor of a Safari Extension in the newest version.



What I'm missing is the old way of defining a keyboard shortcut. 1Password used to have menu items, which could easily be mapped to arbitrary keyboard shortcuts through System Preferences. This is no longer possible. Now, I've seen it mentioned that Cmd-\ is the way to invoke 1Password. This, however, fails on Finnish and other keyboards where typing "\" requires the use of a modifier key. In my situation, the \ character is typed by pressing Opt-+ (where + is next to the 0 key). Thus, to produce Cmd-\, you'd actually have to press Cmd-Opt-+, which doesn't invoke 1Password. This is probably the case with some other non-US layouts, too.



Either the shortcut needs to become customizable, or it needs to change to something that takes into account non-US keyboards with modifier combos.



This single regression has made 1Password about 80% more laborious for me to use. I practically never used the toolbar button before the new version came out, now I am forced to. This is aggravated by the lack of contextual menu functionality.



The addition of contextual menu items in Safari extensions should be simple enough, as described here: [url="http://developer.apple.com/library/safari/#documentation/Tools/Conceptual/SafariExtensionGuide/AddingContextualMenuItems/AddingContextualMenuItems.html"]Adding Contextual Menu Items[/url] (Apple developer docs). It would be great to get the old shortcuts (password generator, identity and CC filling, etc.) back.



Is there really *no* way of 1Password working as a proper Safari Plug-In from 5.1 onwards? Like Flash does? Seems that the plug-in way would be a lot more powerful and better integrated into the Safari experience.

Comments

  • [Deleted User]
    edited July 2011
    [quote name='JK Laiho' timestamp='1310156263' post='31511']

    What I'm missing is the old way of defining a keyboard shortcut. 1Password used to have menu items, which could easily be mapped to arbitrary keyboard shortcuts through System Preferences. This is no longer possible.

    [/quote]



    Hello JK and welcome to the Forums!



    I'm running Safari 5.1 and 1Password 3.6.1, and I still have the ability to customize my 1P keyboard shortcuts.



    Following is a screen shot of the location in 1Password > Preferences > Logins:



    [img]https://img.skitch.com/20110706-qhmc3u27nr3n1gir2df2qu6saj.jpg[/img]



    Do you have access to this tab? If so, you can click the [size="5"]⊗ [/size]next to the current shortcut keystrokes and type a new combination.



    Please let me know if you are able to create a new sequence. I want to resolve this issue for you as soon as possible.



    Cheers!



    Brandt



    P.S. You may also like to review the following thread discussing an issue involving a Danish member having a similar problem while using Firefox: [url="http://forum.agile.ws/index.php?/topic/5451-keyboard-shortcut-not-working-in-firefox-5/page__p__31353__hl__danish__fromsearch__1#entry31353"]Keyboard shortcut not working in Firefox 5[/url]
  • khad
    khad Social Choreographer
    [quote]Is there really *no* way of 1Password working as a proper Safari Plug-In from 5.1 onwards? Like Flash does? Seems that the plug-in way would be a lot more powerful and better integrated into the Safari experience.

    [/quote]

    1Password was never a "plugin" like Flash but used to use Scripting Additions which Apple has removed from Mac OS X going forward.



    A contextual menu is on our radar for the extension, but I don't have a time frame just yet for when or if it will be available.
  • [quote name='bswins' timestamp='1310160433' post='31520']

    I'm running Safari 5.1 and 1Password 3.6.1, and I still have the ability to customize my 1P keyboard shortcuts.

    [/quote]



    Ohhh, it's on the 1Password.app side. Never thought to look there with the older version since the top menu items were already accessible, and I didn't make the connection for the Safari extension either. Thank you. This did what I wanted.



    [quote name='khad' timestamp='1310173996' post='31539']

    1Password was never a "plugin" like Flash but used to use Scripting Additions which Apple has removed from Mac OS X going forward.

    [/quote]



    All right, well, couldn't it be a plugin for the first time then? <img src='http://forum.agile.ws/public/style_emoticons/<#EMO_DIR#>/skype_smile.png' class='bbc_emoticon' alt=':-)' /> I realize this increases the development workload compared to an extension, but I do firmly believe (and judge from the comments of other users around this forum) that this would be a superior user experience.
  • khad
    khad Social Choreographer
    [quote]Ohhh, it's on the 1Password.app side. Never thought to look there with the older version since the top menu items were already accessible, and I didn't make the connection for the Safari extension either. Thank you. This did what I wanted.[/quote]

    Awesome! Glad to hear it. <img src='http://forum.agile.ws/public/style_emoticons/<#EMO_DIR#>/skype_smile.png' class='bbc_emoticon' alt=':-)' />



    [quote]All right, well, couldn't it be a plugin for the first time then? I realize this increases the development workload compared to an extension, but I do firmly believe (and judge from the comments of other users around this forum) that this would be a superior user experience.[/quote]

    I don't believe this is possible on a technical level. Plugins (like Flash) can only be activated when explicitly loaded by the page you are visiting, so every website for which you have a saved login would need to be recoded to specifically load the 1Password plugin. <img src='http://forum.agile.ws/public/style_emoticons/<#EMO_DIR#>/skype_worried.png' class='bbc_emoticon' alt=':S' />



    This is not a practical solution, unfortunately, since we don't control every site on the Internet.
  • [quote name='khad' timestamp='1310209558' post='31578']

    I don't believe this is possible on a technical level. Plugins (like Flash) can only be activated when explicitly loaded by the page you are visiting, so every website for which you have a saved login would need to be recoded to specifically load the 1Password plugin. <img src='http://forum.agile.ws/public/style_emoticons/<#EMO_DIR#>/skype_worried.png' class='bbc_emoticon' alt=':S' /> This is not a practical solution, unfortunately, since we don't control every site on the Internet.

    [/quote]



    If that is indeed the case, then obviously not.



    However... I don't know if this is possible, but I've just had an idea. What about a combination of a plugin and a small extension that does nothing more than "activates" 1Password (whatever that activation actually entails with plugins) for each site you visit? Extensions can be configured to run on every site you go to, after all. And I wouldn't be surprised if it was possible to have that extension somehow hook into the plugin. If there's no explicit API way of interacting with Safari plugins from extensions, then in a roundabout way: have the extension create an invisible element in each page. This invisible element would contain some type of specialized content which is registered to be handled by the 1Password plugin, which would then activate no matter where you are.



    Just a random idea, but it [b]might[/b] work. Or?
  • khad
    khad Social Choreographer
    edited July 2011
    I think that an NPAPI plugin would not add any benefit to just using a native extension. It would just be another layer of complexity and point of failure. There are also additional security issues to consider. It would not be a better experience for our users but a step backwards, unfortunately. There is still a lot of room for improvement working within the native extension APIs. There are limitations but they are slight. Most of the issues people have with the Safari 5.1 extension will be resolved in the future. We pay careful attention to feedback and are working hard on some great updates.



    I don't think you will be disappointed. <img src='http://forum.agile.ws/public/style_emoticons/<#EMO_DIR#>/skype_bigsmile.png' class='bbc_emoticon' alt=':-D' />