Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Metamask does not show popups after 6.2.2 #6299

Closed
wmsouza opened this issue Mar 13, 2019 · 10 comments
Closed

Metamask does not show popups after 6.2.2 #6299

wmsouza opened this issue Mar 13, 2019 · 10 comments

Comments

@wmsouza
Copy link
Contributor

wmsouza commented Mar 13, 2019

Since the 6.2.2 update today, MetaMask stopped showing popups, it shows the number of pending requests on the plugin icon, but no popups are shown.

I'm using Chrome and Brave on Windows 10.

Seems to be a regression of issue #4006

@tmashuang
Copy link
Contributor

Is there already a MetaMask Notification/Popup up already?

@wmsouza
Copy link
Contributor Author

wmsouza commented Mar 13, 2019

I tried with and without pending notifications, I also tried restarting the browsers.
And still all notifications get queued.

@bdresser
Copy link
Contributor

@wmsouza I can't reproduce with 6.2.2 on Chrome. What dapp are you using? And you're certain there's no MetaMask popup already open and hidden behind another window? Any errors in the extension console?

@wmsouza
Copy link
Contributor Author

wmsouza commented Mar 13, 2019

Several different dapps: cryptokitties, axie, opensea.

I will try to see if I find anything wrong.

@wmsouza
Copy link
Contributor Author

wmsouza commented Mar 13, 2019

Only thing wrong on the logs is 404 trying to get the conversion rate:

exchanges.balanc3.net/pie?pairs[]=0x06012c8cf97bead5deae237070f9587f8e7a266d/ETH&autoConversion=false:1 Failed to load resource: the server responded with a status of 404 ()

Looks like it is not sending any pairs to it

I tried with different accounts too, same result

@dpazdan
Copy link

dpazdan commented Mar 14, 2019

Are you using multiple monitors? My guess is it "is" popping up, but on another screen, maybe even behind other windows.

@tmashuang
Copy link
Contributor

Hmm it is possible Chrome didn't update the extension properly, try resetting the extension in the extension list by toggling.

@dpazdan
Copy link

dpazdan commented Mar 14, 2019

opened this issue, possibly related #6306

@wmsouza
Copy link
Contributor Author

wmsouza commented Mar 16, 2019

I got the error, it goes to the console once if I restart the browser:

Error handling response: TypeError: Error in invocation of windows.create(optional object createData, optional function callback): Error at parameter 'createData': Error at property 'top': Invalid type: expected integer, found number.
at chrome-extension://nkbihfbeogaeaoehlefnkodbefgpgknn/background.js:1:131480
at chrome-extension://nkbihfbeogaeaoehlefnkodbefgpgknn/background.js:1:131824
at chrome-extension://nkbihfbeogaeaoehlefnkodbefgpgknn/background.js:1:131947

I was trying to install the dev environment so I could debug it and submit a PR but couldn't make it run on windows yet, but I suspect is related to #6271 :
top: Math.max(notificationTop, 0),
left: Math.max(notificationLeft, 0),

I tested on:
Brave Version 0.60.47 Chromium: 72.0.3626.119 (Official Build) (64-bit)
and
Chrome Version 72.0.3626.121 (Official Build) (64-bit)

Somehow that is returning a number and not an integer.

@wmsouza
Copy link
Contributor Author

wmsouza commented Mar 16, 2019

Ok, it happens when notificationTop is decimal and not integer, i will make a PR for that

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants