subdavis / Tusk

🐘 🔒 KeePass-compatible browser extension for filling passwords.
https://subdavis.com/Tusk
Other
476 stars 73 forks source link

Tusk menu won't open after adding a database on Firefox 62 on Linux #240

Closed ticpu closed 5 years ago

ticpu commented 5 years ago

This issue is a

bug

Steps to reproduce - current behaviour

  1. Start a new instance of a fresh Firefox 62 on Linux.
  2. Install Tusk.
  3. Click Tusk menu to add a database.
  4. Open a local, link or gdrive database.
  5. Click Tusk menu.
  6. The menu appears and instantly disappear.

Additional remarks

  1. I can see the correct menu for the 50 or so milliseconds it appears.
  2. It works fine on Chromium.

Environment

Operating System: Ubuntu Bionic

Browser: Mozilla Firefox 62 and 63

Storage: Local / DAV / Link / Google Drive.

ticpu commented 5 years ago

OK so this was absolutely unexpected. I had been searching for a bit and after trying on a VM and another computer it worked so I guessed it was an issue on mine. Tried:

  1. Deleting $HOME/.mozilla
  2. Disabling AppArmor.
  3. Uninstalling Firefox and running from fresh .tar.bz2 from Mozilla.
  4. Starting with env -i and only setting $DISPLAY, this worked.

At this moment I tried isolating each environment variables and found out the culprit was: GTK_IM_MODULE="ibus"

After running unset GTK_IM_MODULES, everything works as expected. I also had an issue which I thought was caused by another add-on I was looking to replace that caused right clicking on password fields to not show the context menu.

In the end, this was good since it caused me to try Tusk which seems to work really well and be much more modern than my older password manager.

Edit: Found a reference here: https://github.com/ibus/ibus/issues/2002

subdavis commented 5 years ago

This is a duplicate of #146 - I'm glad you found the source yourself though =P