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

            Bug ID: 451112
           Summary: sending multiple files from Android fails
           Product: kdeconnect
           Version: unspecified
          Platform: Android
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: android-application
          Assignee: albertv...@gmail.com
          Reporter: skierp...@gmail.com
  Target Milestone: ---

SUMMARY
Using Android Share > Share to Apps > (KDE Connect) Send to Device > Share
to... > my Fedora laptop running KDE works pretty well for a single file, but
hangs transferring multiple files.

STEPS TO REPRODUCE
1. Open Google Photos.
2. Press and hold on multiple pictures to select them.
3. Tap the bent o-o-o "Share" icon.
4. Under Share to Apps, tap KDE Connect's "Send to Device"
5. Under KDE Connect's Share To..., tap username@laptopname

OBSERVED RESULT
On the laptop, a notification pops up
   Receiving files
   1 of 5 files to Downloads
with a progress bar. But it almost immediately stops progressing. There's still
a black square "Cancel" icon next to the progress bar.
Show Details reveals
  Destination: /home/spage/Downloads/filenameblahblah.jpg
  2.1 MiB of 7.6 MiB
  1 of 5 files

My Downloads directory contains one file from the transfer, so this filename
may be the 2nd file that I asked KDE Connect to transfer.

EXPECTED RESULT
I would like sending multiple files to work.
I would like both sender and receiver to report the stalled progress and
apparent failure.

SOFTWARE/OS VERSIONS
Android: KDE Connect 1.19.1 from Google Play Store, on Pixel 3 running Android
12

Linux/KDE Plasma: 
KDE Plasma Version: 5.24.2
KDE Frameworks Version: 5.91.0
Qt Version: 5.15.2 on Wayland
kdeconnectd on Linux version 21.12.2

ADDITIONAL INFORMATION
journalctl contains the following log lines with the string "connect":
kdeconnectd[1680]: [15::56:43.226] unknown: TCP connection done (i'm the
existing device)
kdeconnectd[1680]: [15::56:43.227] unknown: Starting server ssl (I'm the client
TCP socket)
kdeconnectd[1680]: [15::56:43.319] unknown: Socket successfully established an
SSL connection
kdeconnectd[1680]: [15::56:43.320] unknown: It is a known device "Pixel 3"
kdeconnectd[1680]: [15::58:17.682] unknown: TCP connection done (i'm the
existing device)
kdeconnectd[1680]: [15::58:17.683] unknown: Starting server ssl (I'm the client
TCP socket)
kdeconnectd[1680]: [15::58:17.734] unknown: Socket successfully established an
SSL connection
kdeconnectd[1680]: [15::58:17.734] unknown: It is a known device "Pixel 3"
kdeconnectd[1680]: [15::58:18.113] unknown: TCP connection done (i'm the
existing device)
kdeconnectd[1680]: [15::58:18.115] unknown: Starting server ssl (I'm the client
TCP socket)
kdeconnectd[1680]: [15::58:18.144] unknown: Socket successfully established an
SSL connection
kdeconnectd[1680]: [15::58:18.145] unknown: It is a known device "Pixel 3"
kdeconnectd[1680]: [15::58:19.918] unknown: File transfer
kdeconnectd[1680]: [15::58:19.928] unknown: FileTransferJob Downloading payload
to QUrl("file:///home/spage/Downloads/PXL_20220303_032059275.jpg") size:
2191007
     ^^^^ this file is present and seems to be fine
unknown: JobView requested by "org.kde.kdeconnect.daemon"
plasmashell[1485]: [15::58:19.944] unknown:
"/usr/lib64/qt5/plugins/kf5/kio/kdeconnect.so" supports protocols
("kdeconnect")
kdeconnectd[1680]: [15::58:19.988] unknown: QMetaObject::invokeMethod: No such
method KIO::StoredTransferJob::slotDataReqFromDevice()
...
kdeconnectd[1680]: [15::58:21.312] unknown: File transfer
kdeconnectd[1680]: [15::58:21.314] unknown: FileTransferJob Downloading payload
to QUrl("file:///home/spage/Downloads/PXL_20220228_232833628~2.jpg") size:
537394
    ^^^^ no sign of this file. This is the file in the Destination in the
"Receiving files" notification details.
kdeconnectd[1680]: [15::58:22.816] unknown: Ignoring event role sink input.
kdeconnectd[1680]: [15::58:22.818] unknown: Ignoring event role sink input.
kdeconnectd[1680]: [15::58:22.820] unknown: Ignoring event role sink input.
kdeconnectd[1680]: [15::58:22.823] unknown: Ignoring event role sink input.
kdeconnectd[1680]: [15::58:22.878] unknown: Ignoring event role sink input.
...
kdeconnectd[1680]: [15::58:23.084] unknown: File transfer
kdeconnectd[1680]: [15::58:23.085] unknown: FileTransferJob Downloading payload
to QUrl("file:///home/spage/Downloads/PXL_20220228_214239782.jpg") size:
2160366
kdeconnectd[1680]: [15::58:24.343] unknown: Finished transfer
QUrl("file:///home/spage/Downloads/PXL_20220303_032059275.jpg")
kdeconnectd[1680]: [15::58:24.345] unknown: File transfer finished.
QUrl("file:///home/spage/Downloads/PXL_20220303_032059275.jpg")
    ^^^^ yes, this file is the only one that transferred
kdeconnectd[1680]: [15::58:24.345] unknown:
QUrl("file:///home/spage/Downloads/PXL_20220303_032059275.jpg.part") ->
QUrl("file:///home/spage/Downloads/PXL_20220303_032059275.jpg")
kdeconnectd[1680]: [15::58:24.345] unknown: Item not found:
QUrl("file:///home/spage/Downloads/PXL_20220303_032059275.jpg.part")
kdeconnectd[1680]: [15::58:24.348] unknown: QMetaObject::invokeMethod: No such
method KIO::StoredTransferJob::slotDataReqFromDevice()
etc.

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

Reply via email to