passman-webextension
passman-webextension copied to clipboard
extension frame closes when entering password fields [$10]
Steps to reproduce
- install passman extension
- open frame by clicking on passman icon
- click into password field (e.g. server credentials, master password)
Expected behaviour
The cursor should move into the field so you can enter your password
Actual behaviour
The whole frame disappears
Configuration
Operating system: Ubuntu 18.04 (upgraded from 16.04)
Browser: Firefox 59.0.2
Extensions that might cause interference: None
Passman version: 2.1.4
Extension version: 2.1.1
Nextcloud version: 13.0.1
Browser console log
[Passman extension] Stopping, vault key not set inject.js:400:21
There is a $10 open bounty on this issue. Add to the bounty at Bountysource.
Same behavior observed on Firefox 59.0.3
Confirm this behavior on Ubuntu only after Updating to 18.04 on FF 59.0.2 and 61.0b2. Works on Ubuntu 17.10 and Win 10 for current and dev FF Version.
Same behavior for me.
Same
Same here. On a fresh install of Ubuntu 18.04 (FF 59.0.2).
The problem comes directly from the type="password" of the field, so for my own user I've replaced it, which is bad :P
Fresh install of Ubuntu 18.04, I have the same problem
This bug isn't a passman bug https://bugzilla.mozilla.org/show_bug.cgi?id=1461591
It seems that there was a regression in ibus possibly caused by the removal of a patch. Anyhoo, here are the steps for a near-fix* on a standard Ubuntu Desktop 18.04 setup:
- Go to the
Settings
page. - Select
Region & Language
on the left. - Click the
Manage Installed Languages
button. - (If a dialog titled
The language support is not installed completely
appears, handle it as desired and get back to the underlyingLanguage Support
window.) - Select
XIM
forKeyboard input method system
in theLanguage Support
window. - (Close windows if desired.)
- Restart. (not sure whether there's a less obtrusive way to apply the change)
There are other ways to effectively make the same change, some of which can make it apply to Firefox only, which you might want if changing the setting account-wide affects your ability to use compose keys in other apps. https://help.ubuntu.com/community/ComposeKey#XIM
* Although the above caveat was not a concern to me, this was, alas, not an otherwise perfect fix, as the Ctrl
key still caused the browser extension dialog to close, but it made it a lot easier than hacking something in the browser's developer tools. I just have to remember to right-click
+Paste
instead of Ctrl
+V
when I'm not typing the password.
This won't help when using the extension to edit credentials, but if you want to add an account then I found a work-around.
Running Firefox from the command-line using GTK_IM_MODULE=xim firefox
lets me input a password in the "Accounts" section. Once I'd created the account then I could close Firefox and re-open it to return to normal ibus input.
This is the real problem. I downloaded the attached deb file from this bugzilla and installed it. It's a recompiled version of the ibus package with an old patch applied that was removed for 18.04. They will find a better solution, but for now you can use that version. Worked perfectly for me. Here is the link: https://bugzilla.mozilla.org/attachment.cgi?id=8974077