| Summary: | Could use a way of aborting a transfer | ||
|---|---|---|---|
| Product: | [Applications] kdeconnect | Reporter: | Alan Prescott <alanjprescott> |
| Component: | common | Assignee: | Erik Duisters <e.duisters1> |
| Status: | RESOLVED FIXED | ||
| Severity: | wishlist | CC: | breversa, e.duisters1 |
| Priority: | NOR | ||
| Version First Reported In: | unspecified | ||
| Target Milestone: | --- | ||
| Platform: | openSUSE | ||
| OS: | Linux | ||
| Latest Commit: | https://invent.kde.org/kde/kdeconnect-android/commit/f2e505b8af2e5d45ba81154b48b76cf90b8750de | Version Fixed/Implemented In: | |
| Sentry Crash Report: | |||
|
Description
Alan Prescott
2015-07-06 10:38:20 UTC
For future reference: When the inputstream is closed on Android the SslSocket is not closed (https://issuetracker.google.com/issues/37018094). Because of this the desktop side will not be able to detect a disconnect and the UploadJob will stall until the connection to android is severed by for some other reason I'm not looking for an automatic close of the stream just a Cancel button to manually interrupt and stop the ongoing transfer without having to actually kill the process. (In reply to Alan Prescott from comment #2) > I'm not looking for an automatic close of the stream just a Cancel button to > manually interrupt and stop the ongoing transfer without having to actually > kill the process. I'm working towards implementing this and I just added the comment so I will remember this issue when the time comes Git commit f2e505b8af2e5d45ba81154b48b76cf90b8750de by Erik Duisters.
Committed on 08/03/2019 at 18:08.
Pushed by eduisters into branch 'master'.
Allow shares from desktop to be canceled
Summary:
Allow in progress file transfers to be canceled
{F6373048}
{F6373050}
{F6373051}
Test Plan:
Send a large file from desktop to android
Press cancel in the progress notification
Result: the file transfer is cancelled and the cancelled file is deleted from storage
Reviewers: #kde_connect, nicolasfella, albertvaka
Reviewed By: #kde_connect, albertvaka
Subscribers: albertvaka, nicolasfella, kdeconnect
Tags: #kde_connect
Differential Revision: https://phabricator.kde.org/D16491
M +6 -0 AndroidManifest.xml
R +41 -39 src/org/kde/kdeconnect/Plugins/SharePlugin/CompositeReceiveFileJob.java [from: src/org/kde/kdeconnect/Plugins/SharePlugin/CompositeReceiveFileRunnable.java - 079% similarity]
M +0 -1 src/org/kde/kdeconnect/Plugins/SharePlugin/ShareActivity.java
A +57 -0 src/org/kde/kdeconnect/Plugins/SharePlugin/ShareBroadcastReceiver.java
M +18 -1 src/org/kde/kdeconnect/Plugins/SharePlugin/ShareNotification.java
M +44 -28 src/org/kde/kdeconnect/Plugins/SharePlugin/SharePlugin.java
A +76 -0 src/org/kde/kdeconnect/async/BackgroundJob.java
A +170 -0 src/org/kde/kdeconnect/async/BackgroundJobHandler.java
https://invent.kde.org/kde/kdeconnect-android/commit/f2e505b8af2e5d45ba81154b48b76cf90b8750de
|