metamask-extension icon indicating copy to clipboard operation
metamask-extension copied to clipboard

Users on Vivaldi are unable to download state logs in popup

Open jacobc-eth opened this issue 6 years ago • 3 comments

Describe the bug The download state logs button in the MetaMask popup does nothing. The button does work properly in the full screen view.

To Reproduce (REQUIRED) Steps to reproduce the behavior, libraries used with version number, and/or any setup information to easily reproduce:

  1. Go to Settings
  2. Click on Advanced
  3. Select Download State Logs
  4. See nothing happens

Expected behavior State logs should download.

Browser details (please complete the following information):

OS: Manjaro Linux MetaMask Version 8.0.6 Browser Vivaldi | 3.2.1967.41 (Stable channel) (64-bit)

jacobc-eth avatar Aug 12 '20 18:08 jacobc-eth

Looks like there's something wrong with the way Vivaldi handles file download in the extension popup. I tried many different alternative ways of exporting the file, but the only thing that worked is using window.open(), which creates new, empty tab. I even tried adding file-saver, but it doesn't work as well.

Using window.open() might be a good option, but some time ago Vivaldi stopped to being recognisable using User Agent. There even is a question asked in their official forum - how to detect Vivaldi browser after these changes, but there is no answer so far.

While dealing with other bug I found that there is an unofficial way to determine this, using extData property of extension.tabs object in background script, but it adds another level of complexity by requiring to communicate with background script on every download button click, so I'm not sure if it sounds like a good workaround.

Leaving these thoughts for further discussion.

PatrykLucka avatar Aug 20 '20 14:08 PatrykLucka

This issue has been automatically marked as stale because it has not had recent activity in the last 90 days. It will be closed in 45 days if there is no further activity. The MetaMask team intends on reviewing this issue before close, and removing the stale label if it is still a bug. We welcome new comments on this issue. We do not intend on closing issues if they report bugs that are still reproducible. Thank you for your contributions.

github-actions[bot] avatar Jul 24 '23 10:07 github-actions[bot]

This issue was closed because there has been no follow up activity in the last 45 days. If you feel this was closed in error, please reopen and provide evidence on the latest release of the extension. Thank you for your contributions.

github-actions[bot] avatar Sep 07 '23 12:09 github-actions[bot]