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

            Bug ID: 439675
           Summary: Bluedevil-sendfile not accepting relative paths
           Product: Bluedevil
           Version: 5.22.3
          Platform: Archlinux Packages
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: now...@gmail.com
          Reporter: xer...@pm.me
                CC: plasma-b...@kde.org
  Target Milestone: ---

When calling `bluedevil-sendfile`, I have to specify a full file path, relative
paths lead to "Unable to open file".

STEPS TO REPRODUCE
> $ echo something>test.txt && bluedevil-sendfile -f test.txt
> bluedevil.sendfile: Device ""
> bluedevil.sendfile: Files ("test.txt")
> bluedevil.sendfile: Manager initialized
> bluedevil.sendfile: SendFilesJob: ("test.txt")
> bluedevil.sendfile: Wizard done:  1
> bluedevil.sendfile: SendFilesJob-DoStart
> bluedevil.sendfile: SendFilesJob-NextJob
> kf.bluezqt: PendingCall Error: "Unable to open file"
> bluedevil.sendfile: Error sending file "Unable to open file"

In between I select a device, but then get the error.
Qualifying the path fully produces no issues:

> $ bluedevil-sendfile -f $PWD/test.txt

EXPECTED RESULT
bluedevil-sendfile resolves relative paths relative to pwd.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Arch with Plasma 5.22.3
(available in About System)
KDE Frameworks Version: 5.83.0
Qt Version: 5.15.2

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

Reply via email to