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

            Bug ID: 523547
           Summary: FileTransferJob rejects files when received size
                    exceeds the advertised payload size
    Classification: Applications
           Product: kdeconnect
      Version First 26.04.3
       Reported In:
          Platform: Arch Linux
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: desktop-application
          Assignee: [email protected]
          Reporter: [email protected]
  Target Milestone: ---

DESCRIPTION
FileTransferJob rejects files when received size exceeds the advertised payload
size

STEPS TO REPRODUCE
1. On Android, share a photo to KDE Connect (Samsung Galaxy A73 5G, One UI).
2. Accept the transfer on the desktop.
3. Progress bar reaches 100%, then the transfer is reported as failed and the
file is deleted.

OBSERVED RESULT
The transfer fails with "Received incomplete file". The log shows that the
desktop received more bytes than the sender advertised
kdeconnect.plugin.share: File transfer
kdeconnect.core: FileTransferJob Downloading payload to
QUrl("file:///home/keqwerty/Downloads/Cmr720260726_230031273.jpg") size:
4485633
kdeconnect.core: BluetoothLinkProvider::onStartDiscovery executed
kdeconnect.core: Received incomplete file ( 4486812 / 4485633 bytes ), deleting
kdeconnect.plugin.share: File transfer failed.
QUrl("file:///home/keqwerty/Downloads/Cmr720260726_230031273.jpg")

EXPECTED RESULT
A file that arrives complete should be kept

SOFTWARE/OS VERSIONS
Operating System: Arch Linux 
KDE Plasma Version: 6.7.3
KDE Frameworks Version: 6.28.0
Qt Version: 6.11.1

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

Reply via email to