The 1Password Community forums are in read-only mode from Jan 28th - Feb 4th, 2025. Find out more.

1Password Mini doesn't fire UI Event

nhat
nhat
Community Member

I'm using Karabiner to customize my keyboard and it relies on UI Events in OS X to determine which application is in the foreground. Unfortunately, it seems that 1Password Mini doesn't fire any UI Events when activated via menu bar or shortcut. For this reason, sometime I can't enter my password to unlock it, because some keys are still mapped with different functions.

I made a quick search in this forum, but couldn't find any earlier topic related to this. Is it possible to change this behavior in one of the future releases to make 1Password Mini play nice with Karabiner?


1Password Version: 5.3.2
Extension Version: Not Provided
OS Version: OS X 10.10.5
Sync Type: Not Provided

Comments

  • littlebobbytables
    littlebobbytables
    1Password Alumni

    Hi @nhat,

    I'll have to ask the developers about this one, I don't know if there are specific reasons that we aren't or if it's connected to some specific framework we're using. It sounds like for the moment though that you will need to launch the main 1Password application to unlock as I assume the main window behaves in the desired way.

    I would suspect you're correct, I don't think you would find an earlier topic as this is the first time I've seen a request like this but also the first time I'm hearing about Karabiner. One bit that surprises me though is when we ask for your Master Password we use the Secure Event Input. I know that stops other processes from listening to the keyboard so I'm wondering what level Karabiner works at if it's still active.

    Please do let us know if Karabiner does behave as you'd expect with the main window as I'm curious.

  • nhat
    nhat
    Community Member

    I just checked with the main 1Password window and it behaves as expected. Karabiner can verify app via their bundle identifier, e.g. com.apple.finder and then it does the key mapping.

    This is from the Karabiner Log, if I'm switching to a Finder window:
    BundleIdentifier: com.apple.finder
    WindowName: Downloads
    UIElementRole: AXOutline

    For the 1Password main window, it shows these values:
    BundleIdentifier: com.agilebits.onepassword4
    WindowName: 1Password
    UIElementRole: AXTextField

  • littlebobbytables
    littlebobbytables
    1Password Alumni

    Hi @nhat,

    I've spoken to the developers and the bad news is the current 1Password mini behaviour is intended and unlikely to change. Sorry for not being able to bring better news to your query. It would seem the best option going forward might be to create a global shortcut for launching 1Password - even if it's just for unlocking, could that possibly work?

  • nhat
    nhat
    Community Member

    Hi @littlebobbytables,

    I've tested your suggestion and it didn't work. Unfortunately, this seems more like a bug, than intended behavior. Because if I open 1Password Mini and navigate to one of the entries, then it does fire the correct event as expected:

    BundleIdentifier: 2BUA8C4S2C.com.agilebits.onepassword4-helper
    WindowName:
    UIElementRole: AXWindow

    So this behavior seems a bit weird. I'd also expected 1Password Mini to fire this event when it launched.

  • Drew_AG
    Drew_AG
    1Password Alumni

    Hi @nhat,

    Thanks for the additional information. We'll be happy to take a closer look at this if you'd like, to make sure whether or not this behavior is intended or a bug. In case it helps our developers, I'd like to ask you to create a Diagnostics Report from your Mac: https://support.1password.com/diagnostics/mac.html

    Attach the Diagnostics Report to an email message addressed to support+forum@agilebits.com.

    Please do not post your Diagnostics Report in the forums, but please do include a link to this thread in your email, along with your forum username so that we can "connect the dots" when we see your Diagnostics Report in our inbox. You should receive an automated reply from our BitBot assistant with a Support ID number. Please post that number here so we can track down the report. Thanks in advance! :)

  • nhat
    nhat
    Community Member
    edited August 2015

    Hi @Drew_AG,

    thanks for your quick reply. I've sent the diagnostic report to the email address you gave me, hope it's useful.

    ref: MME-31937-246

  • Drew_AG
    Drew_AG
    1Password Alumni

    Thanks @nhat! I see that Lars has replied to your email. If you have more questions about that, we'll keep the conversation going directly via email to avoid complicating things between here and there.

    ref: MME-31937-246

This discussion has been closed.