Rayquaza01 / authenticator

Firefox addon that generates TOTPs for 2 factor authentication
https://addons.mozilla.org/en-US/firefox/addon/two-factor-authenticator/
MIT License
34 stars 7 forks source link

Popup disappears immediately #16

Closed sirfz closed 5 years ago

sirfz commented 6 years ago

Bug Report

Please fill out this information:


What is happening? When I click the extension icon, the pop-up appears briefly and immediately disappears so I can't interact with it at all.


What are the steps to reproduce the bug? Click icon


Open the browser console (Hamburger menu > Web Developer > Browser Console) and include anything that is logged when the bug occurs.
This step is not always necessary.

I see Invalid chrome URI: / after clicking the icon.


Any screenshots or videos of the bug would be helpful.

Rayquaza01 commented 6 years ago

Sorry for the late reply. This should be a simple fix. extension.getURL seems to work differently on Linux than it does on Windows. There should be a fix out today or tomorrw.

Also this may be the same problem as #14.

Edit: Didn't mean to close that just yet...

Rayquaza01 commented 6 years ago

@sirfz Does the new version fix the problem?

sirfz commented 6 years ago

Hi @Rayquaza01, still the same issue and error message with v1.2.1.

Rayquaza01 commented 6 years ago

@sirfz OK, I think I figured out what is happening. For some reason, focusing a password input in the popup seem to make it close instantly. Changing it to a normal text input makes it work as normal. This doesn't happen in Windows, but for some reason it does in Ubuntu.

Could you try this test version to see if it works before I publish it to AMO?

Thanks!

sirfz commented 6 years ago

Yes, the version you linked to fixed the problem!