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

clicking on "Save Torrent File" attempts to download the file twice #1399

Closed
kjozwiak opened this issue Oct 2, 2018 · 2 comments
Closed

Comments

@kjozwiak
Copy link
Member

kjozwiak commented Oct 2, 2018

Description

Clicking on Save Torrent File under the webtorrent page when clicking/loading .torrent links attempts to download the .torrent file twice which triggers website is attempting to download multiple files notification. Clicking on Save Torrent File should only download the .torrent file once. This wasn't happening under muon.

Steps to Reproduce

  1. install & run either beta or dev
  2. in a new tab, load https://webtorrent.io/torrents/big-buck-bunny.torrent
  3. click on Save Torrent File
  4. you'll receive the [websites domain] wants to Download multiple files
  5. click on Allow
  6. click on Save Torrent File again and you'll notice Brave attempting to download two .torrent

If you click on Block, you'll only download a single file, however, we shouldn't be triggering the multiple downloads notification when someone decides they want to download the .torrent file.

Actual result:

torrentissue

Expected result:

Brave shouldn't trigger the [websites domain] wants to Download multiple files notification. Clicking on Save Torrent File should only save one .torrent file.

Reproduces how often:

100% reproducible using the above STR.

Brave version (chrome://version info)

Brave 0.55.10 Chromium: 70.0.3538.22 (Official Build) beta(64-bit)
Revision ac9418ba9c3bd7f6baaffa0b055dfe147e0f8364-refs/branch-heads/3538@{#468}
OS Mac OS X

Reproducible on current release:

  • Does it reproduce on brave-browser dev/beta builds?

Not reproducible under 0.24.x which is the latest muon live release.

  • Does it reproduce on browser-laptop?

Reproducible on both dev and beta

Brave 0.56.1 Chromium: 70.0.3538.22 (Official Build) dev (64-bit)
Revision ac9418ba9c3bd7f6baaffa0b055dfe147e0f8364-refs/branch-heads/3538@{#468}
OS Mac OS X

Additional Information

@kjozwiak kjozwiak added bug feature/webtorrent Label for webtorrent related issues labels Oct 2, 2018
@kjozwiak kjozwiak added this to the 1.0 (0.56.x) milestone Oct 2, 2018
@kjozwiak kjozwiak added the QA/Yes label Oct 2, 2018
@rebron rebron modified the milestones: 1.0, 0.56.x - Beta Oct 16, 2018
@yrliou
Copy link
Member

yrliou commented Oct 17, 2018

I think it was an issue of Button component in brave-ui which was fixed by @petemill recently.
brave/brave-ui#197
I just tried with 0.55.16 and cannot reproduce it, @LaurenWags also got the same result as me on 0.55.16.
Please give it a try again with 0.55.16, and feel free to reopen it if it is still an issue, thanks.

@yrliou yrliou closed this as completed Oct 17, 2018
@kjozwiak
Copy link
Member Author

kjozwiak commented Oct 17, 2018

@yrliou yup, seems to be working! 🎉Used the following build:

Brave 0.55.16 Chromium: 70.0.3538.54 (Official Build) (64-bit)
Revision 4f8e578b6680574714e9ed3bb9f02922b4dde40d-refs/branch-heads/3538@{#937}

Platforms checked:

  • macOS 10.13.6 x64 - PASSED
  • Win 10 x64 - PASSED

Verification Passed on

Brave 0.55.16 Chromium: 70.0.3538.54 (Official Build) (64-bit)
Revision 4f8e578b6680574714e9ed3bb9f02922b4dde40d-refs/branch-heads/3538@{#937}
OS Linux

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