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

            Bug ID: 402970
           Summary: D-Bus /org/mpris/MediaPlayer2 interface fails on
                    specific paths hanging media control apps
           Product: gwenview
           Version: 18.12.0
          Platform: Other
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: gwenview-bugs-n...@kde.org
          Reporter: alexander....@gmail.com
  Target Milestone: ---

SUMMARY
Gwenview MPRIS interface fails when Gwenview opens files from specific
locations.

STEPS TO REPRODUCE
mkdir /tmp/азо
cd /tmp/азо
wget https://upload.wikimedia.org/wikipedia/commons/8/8d/KDE_logo.svg # It
seems any image would work on this step
gwenview *

OBSERVED RESULT
Gwenview prints on launch in console output
```
QDBusConnection: error: could not send signal to service "" path
"/org/mpris/MediaPlayer2" interface "org.freedesktop.DBus.Properties" member
"PropertiesChanged": Marshalling failed: Invalid object path passed in
arguments
QDBusConnection: error: could not send reply message to service "": Marshalling
failed: Invalid object path passed in arguments
Invalid url QUrl("")
```

And various stuff is broken:
1. Normally on gwenview window thumbnail there are media control buttons that
control slideshow, but not in this case
2. https://github.com/acrisci/playerctl (CLI tool to control media players,
probably present in your repository) hangs when issuing commands because does
not get response from Gwenview mpris interface.

EXPECTED RESULT
Media interface should work reliably regardless of file path.

SOFTWARE/OS VERSIONS
Operating System: Arch Linux 
KDE Plasma Version: 5.14.4
Qt Version: 5.12.0
KDE Frameworks Version: 5.53.0
Kernel Version: 4.19.8-arch1-1-ARCH
OS Type: 64-bit
Processors: 4 × Intel® Core™ i5-4690 CPU @ 3.50GHz
Memory: 31,3 GiB of RAM


ADDITIONAL INFORMATION
Could not reproduce on Ubuntu 18.04, but on ubuntu 18.10 Live CD this is
reproducible.

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

Reply via email to