https://bugs.kde.org/show_bug.cgi?id=432749

            Bug ID: 432749
           Summary: Transfer file from android to pc restarts file at
                    32KiB, skips last 32 KiB in 1.16.0
           Product: kdeconnect
           Version: unspecified
          Platform: Other
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: android-application
          Assignee: albertv...@gmail.com
          Reporter: i...@iivq.net
  Target Milestone: ---

Created attachment 135565
  --> https://bugs.kde.org/attachment.cgi?id=135565&action=edit
A GPX file copied over KDE Connect

SUMMARY
Files copied from Android device to PC using Dolphin → devices → <devicename> →
place in directory tree, have their file contents mashed up.
The file starts normal, then after 32KiB restarts, and the last 32KiB is
missing.
This seems to be highly reproducible.

STEPS TO REPRODUCE
I have KDE Connect set up on my pc, phone, and tablet.
1. On my pc, I open Dolphin, and under "Devices" go to "IIVQphone", or
"kdeconnect://6148fde336752e14/". 
2. I then navigate to the appropriate folder, in this case
"/run/user/1000/6148fde336752e14/SD
card/Android/data/net.osmand.plus/files/tracks/rec/"
3. I copy a GPX file over to my PC

OBSERVED RESULT
4. Any GPX-accepting application complains GPX is malformed
5. Upon opening, I see the GPX looks like attached
"2021-01-26_14-06_Tue_copied_over_KDE_Connect.gpx". The file content is exactly
the same size as on device, but "restarts" after 32KiB. The last 32KiB of the
source file are missing.
6. This happens with other files copied too, both on SD card and on device
itself.

EXPECTED RESULT
Files copied are copied byte-for-byte as on device

SOFTWARE/OS VERSIONS

Computer
Linux/KDE Plasma: Kubuntu 20.04
KDE Plasma Version: 5.18.5
KDE Frameworks Version: 5.68.0
Qt Version: 5.12.8
KDEconnect-app: v1.0
KDEconnect-cli: v1.4.0
KDEconnect-handler: v1.4.0

Phone:
Moto G5 Plus (XT1685)
Android 8.1.0
Kernel 3.18.71-perf-g7b625a0
KDE connect 1.16.0

Tablet:
Lenovo TB-8504X
Android 8.1.0
Kernel 3.18.71
KDE connect 1.14.2 (originally)

ADDITIONAL INFORMATION
I tried the same, copying files from my tablet which had KDE connect 1.14.2.
Here the files did not restart.
When I updated this to KDE connect 1.16.0, it had the same bug. It seems to
have appeared between 1.14.2 and 1.16.0.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to