zhanghai / zhanghai/MaterialFiles

Unable to stop transfers in progress

Open
#1,297 0 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Kotlin
Stars
9k
Forks
736
PR merge metrics
No merged PRs in 30d

Description

I accidentally copy & pasted a bit over 4,000 files to a SMB share. The problem is, I need some way to stop the transfer, rather than wait out several days with my phone plugged in. I've looked through all of the menus and options, and I am unable to find such a command. I can kill MaterialFiles manually, but as soon as it starts up, it continues the transfer.

I did see the cancel button in the shade, but all I managed to do is throw an I/O error that I couldn't dismiss :)

Is it possible to stop a paste transfer, or, could some such option be added?

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by tracing the paste transfer entry point and the cancel button in the notification shade. Reproduce a large transfer to an SMB share, then check how cancellation and app restart affect the transfer; done means a user can stop it without an undismissable I/O error or automatic resumption.

Written by the indexing model from the issue text.

Assessment

Tech stack
android, kotlin
Domain
mobile
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.