WebExtensionWallet icon indicating copy to clipboard operation
WebExtensionWallet copied to clipboard

Ubuntu closes popup on file prompt

Open chucklam opened this issue 6 years ago • 2 comments

Problem:

I want to import a wallet in the Send-TX tab. This is what I initially see when I have the extension opened. screenshot from 2018-05-21 00-19-03

When I click on the 'SELECT WALLET FILE' button, a file dialog shows up, but the extension popup goes away. screenshot from 2018-05-21 00-19-44 Selecting a file doesn't do anything. I believe it's because Chrome has closed the extension app already so there's nothing for the call to return to.

This is a bug with Ubuntu Chrome. This affects MetaMask too, and right now they use a hack around it. https://github.com/MetaMask/metamask-extension/issues/1136

Versions:

  • Ubuntu 16.04
  • Chrome Version 66.0.3359.181 (Official Build) (64-bit)
  • WebExtensionWallet 0.1.0

chucklam avatar May 21 '18 07:05 chucklam

Thanks for your feedback. We have noticed this problem before, and there is a tricky solution https://github.com/ChengOrangeJu/WebExtensionWallet/issues/4

I'll try to detect system info, and if it's Ubuntu, then extension will pop up a new tab for user to import their wallet file.

yupnano avatar May 21 '18 07:05 yupnano

Quick workaround:

  1. Open chrome-extension://bcohmciamomnpioaljnpiaglaepibjke/html/sendNas.html
  2. Import your wallet
  3. Now it also loaded in popup

hostgame avatar May 24 '18 11:05 hostgame