marius-wieschollek / passwords-webextension

The official browser extension for the Passwords app for Nextcloud.
GNU General Public License v3.0
106 stars 33 forks source link

Edge login bug "access denied", but after a couple clicks it is actually logged in. But only after the clicks. #213

Closed FernandoMarques-Santos closed 2 years ago

FernandoMarques-Santos commented 2 years ago

System Information

Windows 10 x64 Version and log Nextcloud edge app

Steps to reproduce

  1. Enter password. Extension asks to click the button.
  2. Click button: access denied.
  3. Click out of the extension. Then Click on it again.
  4. Surprisingly logged in. But only after these clicks.

See the bug in video: https://youtu.be/zMdU7P83yUk

Expected result

Smooth login

Actual result

Gets the user annoyed

Browser log

background.js:2 Could not establish connection. Receiving end does not exist. Error: Could not establish connection. Receiving end does not exist. at I (background.js:2:760819) Objectdetails: {data: n, message: 'Could not establish connection. Receiving end does not exist.', file: undefined, line: undefined, stack: 'Error: Could not establish connection. Receiving e…hgdfpkngjcmeepdpcgpffk/js/background.js:2:760819)', …}data: n {_id: '827d11ed-1e6f-4fc1-88c5-6c311eee9426', _tab: null, _type: 'queue.items', _reply: null, _sender: 'background', …}file: undefinedline: undefinedmessage: "Could not establish connection. Receiving end does not exist."stack: "Error: Could not establish connection. Receiving end does not exist.\n at I (chrome-extension://cjmlcljdpphgdfpkngjcmeepdpcgpffk/js/background.js:2:760819)"time: 1644422993012[[Prototype]]: Objecterror: {name: 'Error', stack: 'Error: Could not establish connection. Receiving e…hgdfpkngjcmeepdpcgpffk/js/background.js:2:760819)', string: 'Error: Could not establish connection. Receiving end does not exist.', message: 'Could not establish connection. Receiving end does not exist.'}[[Prototype]]: Object Error: Could not establish connection. Receiving end does not exist. at I (chrome-extension://cjmlcljdpphgdfpkngjcmeepdpcgpffk/js/background.js:2:760819) _addError @ background.js:2 background.js:2 Uncaught (in promise) Error: Could not establish connection. Receiving end does not exist. at I (background.js:2:760819) background.js:2 Could not establish connection. Receiving end does not exist. Error: Could not establish connection. Receiving end does not exist. at I (background.js:2:760819) Object Error: Could not establish connection. Receiving end does not exist. at I (chrome-extension://cjmlcljdpphgdfpkngjcmeepdpcgpffk/js/background.js:2:760819) _addError @ background.js:2 background.js:2 Uncaught (in promise) Error: Could not establish connection. Receiving end does not exist. at I (background.js:2:760819) background.js:2 Could not establish connection. Receiving end does not exist. Error: Could not establish connection. Receiving end does not exist. at I (background.js:2:760819) Object Error: Could not establish connection. Receiving end does not exist. at I (chrome-extension://cjmlcljdpphgdfpkngjcmeepdpcgpffk/js/background.js:2:760819) _addError @ background.js:2 background.js:2 Uncaught (in promise) Error: Could not establish connection. Receiving end does not exist. at I (background.js:2:760819)
marius-wieschollek commented 2 years ago

might be possible that his bug only exists because i didn't update the edge extension. I have uploaded the latest version and you should see an update sometime in the next month.

FernandoMarques-Santos commented 2 years ago

thank you Marius. The extension is now a little more bugged as you can see from the print below.

image

A quick fix for me was to install the chrome version on edge, which has a more recent version if anyone is having the same problem.

My suggestion is that, if they are exactly the same (i.e, edge version has no customization), maybe you can drop the edge version, so people don't feel that they really need to stick to that version.

marius-wieschollek commented 2 years ago

this looks like you have the "show language tags" setting enabled in the debug settings. disabling it should fix the issue