Bug 453451 - On Android, when receive operation failed due to lack of storage permission, notification should indicate that reason
Summary: On Android, when receive operation failed due to lack of storage permission, ...
Status: REPORTED
Alias: None
Product: kdeconnect
Classification: Applications
Component: android-application (other bugs)
Version First Reported In: unspecified
Platform: Android Android 11.x
: NOR normal
Target Milestone: ---
Assignee: Albert Vaca Cintora
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-05-06 04:19 UTC by jejoxe6725
Modified: 2023-11-03 22:17 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description jejoxe6725 2022-05-06 04:19:36 UTC
SUMMARY
If a file is being sent to an Android KDE Connect device which does not have storage permission, then the app only tells that the file receiving failed, no information regarding why it failed is display.

STEPS TO REPRODUCE
1. Send a file to Android KDE Connect device which does not have storage permission

OBSERVED RESULT
Only a notification saying "Failed receiving file from DEVICE_NAME".

EXPECTED RESULT
If operation failed due to lack of storage permission, then the notification should say so (i.e. convey that storage permission is unavailable and it has to be granted from Device > Plugin Settings > Share and Receive > Customise destination directory & Destination Directory).

Possible place to add new code to fix this: https://invent.kde.org/network/kdeconnect-android/-/blob/master/src/org/kde/kdeconnect/Plugins/SharePlugin/CompositeReceiveFileJob.java#L234
Comment 1 Andrew Shark 2023-08-08 10:44:54 UTC
See also Bug 473141 - The same problem on desktop part (no notification at all).