Forum Discussion

bootc's avatar
bootc
New Contributor
4 years ago

Clicking system tray applet (AppIndicator) opens Seahorse (Passwords and Keys) in Gnome

I'm running 1Password under Gnome (42) with an extension to enable AppIndicators. The tray icon shows up with the familiar 1Password icon and correct status, but when I left-click it I instead get Gnome's Seahorse (Passwords and Keys) password manager show up, rather than 1Password. I can right-click the icon and open 1Password that way, but I should be able to open 1Password by just clicking its icon, no?


1Password Version: 8.6.1
Extension Version: Not Provided
OS Version: Debian bookworm (testing)

8 Replies

  • AliH1P's avatar
    AliH1P
    Icon for 1Password Team rank1Password Team

    Hey @conradhaupt, thanks for reporting your findings here. I'll add your comment to the internal issue we have filed 👍

    Ali

    ref: dev/core/core#14435

  • Former Member's avatar
    Former Member

    I believe I've found out why the issue occurs. It appears that "Tray Icons: Reloaded" searches all applications for the Window Manager Class, which is reported as "Password" for 1password (see https://github.com/MartinPL/Tray-Icons-Reloaded/blob/5891310a217cd80416c057d87d4a25e4787afb92/AppManager.js#L92 in the extension source-code). The extension uses the function "lookup_app" https://github.com/MartinPL/Tray-Icons-Reloaded/blob/5891310a217cd80416c057d87d4a25e4787afb92/AppManager.js#L96, which returns a list containing all applications that match the term "Password". This includes Seahorse and even Gnome User Accounts Panel where users change their passwords. The extension takes the first match as correct, as "lookup_app" orders by some score, and thus Seahorse is launched. I believe this is an issue with the extension and not 1password.

  • Former Member's avatar
    Former Member

    Following as I experience the same issue

  • bootc's avatar
    bootc
    New Contributor

    Hi Mathieu_1P, some answers to your queries:
    * This is on an Xorg session. I tried a Wayland session a while back and I think I had the same issue, but tray icons are a bit dodgy with that anyway.
    * This indeed occurs on Debian Bookworm (testing). I haven't really tried this on Bullseye (stable).
    * This happens on amd64 with the 8.6.1 .deb from your repo, and on arm64 with beta 8.6.0-68 tarball.
    * I'm actually using https://extensions.gnome.org/extension/2890/tray-icons-reloaded/. I notice the Ubuntu AppIndicators extension just opens the menu when you click it, so that may be the significant difference here.
    * This happens with no other Gnome extensions enabled at all.

    1P_PeterG please let me know if you still need this, given the above info.

  • 1P_PeterG's avatar
    1P_PeterG
    Icon for Community Manager rankCommunity Manager

    Hi bootc, apologies for my earlier misunderstanding of the issue. We're looking to investigate this one proactively - would you be able to create a diagnostics report from the app and send it to us at support+linux@1Password.com? That way our team can dig into this in-depth for you. Thank you again for your reporting of the issue!

  • Mathieu_1P's avatar
    Mathieu_1P
    Icon for 1Password Team rank1Password Team

    Hi bootc. This is indeed surprising behaviour. I've been unable to reproduce this on my own Fedora machine, would you mind providing a little more information about your setup? A few points come to mind that may be relevant here:

    • Are you running a Wayland or X Gnome session?
    • Was this occurring on Debian testing as your message's footer suggests?
    • How did you install 1Password (ex. Flatpak, Snap, .deb, ...)?
    • What version of the Gnome appindicator extension do you have installed?
    • Do you have any other Gnome extensions installed?
  • bootc's avatar
    bootc
    New Contributor

    Hi 1P_PeterG the browser extension is irrelevant as the issue happens even when the browser is closed - it's the system-level AppIndicator / tray icon that opens the Gnome keyring app. The browser extension is fine, but I'm running 2.3.2 if you insist.

  • 1P_PeterG's avatar
    1P_PeterG
    Icon for Community Manager rankCommunity Manager

    Hi bootc, thank you for this report. Could you let us know what extension you're using? In the meantime, I'll be happy to follow up on this internally and see what we can reproduce. We appreciate you bringing this to our attention!

    ref: dev/core/core#14435