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

            Bug ID: 513594
           Summary: kdeconnect-cli exits before file transfer is done
    Classification: Applications
           Product: kdeconnect
      Version First 25.04.2
       Reported In:
          Platform: Debian stable
                OS: Linux
            Status: REPORTED
          Severity: wishlist
          Priority: NOR
         Component: common
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected]
  Target Milestone: ---

SUMMARY

`kdeconnect-cli` exits before the file transfer is done. This makes it hard to
use programmatically, since we can never reliably know when KDE Connect is
finished transferring the file. Is it possible to add a simple `--wait`
argument that makes the process wait until the file transfer is done before it
returns?

STEPS TO REPRODUCE
Run `kdeconnect-cli -n "$deviceName" --share "./$filename"`, where `$filename`
is a large file

OBSERVED RESULT
`kdeconnect-cli` returns near-instantly while the system notification UI
indicates the file is still being sent.

EXPECTED RESULT
An argument to implement blocking behavior. In a script, if any logic after the
`kdeconnect-cli` invocation relies on the file transfer being finished, it will
fail.

SOFTWARE/OS VERSIONS
Operating System: Debian GNU/Linux 13
KDE Plasma Version: 6.3.6
KDE Frameworks Version: 6.13.0
Qt Version: 6.8.2
Kernel Version: 6.12.57+deb13-amd64 (64-bit)
Graphics Platform: X11
Processors: 12 × AMD Ryzen 5 3600 6-Core Processor
Memory: 32 GiB of RAM (31.3 GiB usable)
Graphics Processor: AMD Radeon RX 580 Series

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

Reply via email to