Bug 408834

Summary: okular (file name) gives error pointing to KDE connect although that is not in use
Product: [Applications] okular Reporter: rkeating <rqkeating>
Component: generalAssignee: Okular developers <okular-devel>
Status: RESOLVED FIXED    
Severity: minor    
Priority: NOR    
Version: 1.7.2   
Target Milestone: ---   
Platform: Kubuntu   
OS: Linux   
Latest Commit: Version Fixed In:

Description rkeating 2019-06-17 15:15:13 UTC
SUMMARY
Running okular on the command line followed by an image name gives an error about KDE connect.  I don't even use KDE connect.  This started when I updated to Plasma 5.16 via the Kubuntu backports.

STEPS TO REPRODUCE
1. On the command line run: "okular myfile.jpg" 

OBSERVED RESULT
The following error comes out:

org.kde.kcoreaddons: Expected JSON property "X-Purpose-PluginTypes" to be a single string. but it is a stringlist
discarding "Send SMS via KDE Connect..." "ShareUrl"

Then the picture is displayed on screen.

EXPECTED RESULT
No error message.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Ubuntu 19.04 with KDE Plasma desktop
(available in About System)
KDE Plasma Version: 5.16.0
KDE Frameworks Version: 5.59.0
Qt Version: 5.12.2

ADDITIONAL INFORMATION

This started when I updated to Plasma 5.16 from the Kubuntu backports.
Comment 1 Albert Astals Cid 2019-06-22 08:58:29 UTC
Git commit 3d3af03052d03274dc0940b2607ab15e8dccba96 by Albert Astals Cid, on behalf of Nicolas Fella.
Committed on 22/06/2019 at 08:58.
Pushed by aacid into branch 'master'.

Fix warning when reading plugin metadata

Summary: X-Purpose-PluginTypes is a StringList, not a String. Use an appropriate way of reading it.

Test Plan: Share file in Dolphin. Don't get org.kde.kcoreaddons: Expected JSON property "X-Purpose-PluginTypes" to be a single string. but it is a stringlist anymore.

Reviewers: apol, aacid

Reviewed By: apol

Subscribers: kde-frameworks-devel

Tags: #frameworks

Differential Revision: https://phabricator.kde.org/D21967

M  +1    -1    src/alternativesmodel.cpp

https://commits.kde.org/purpose/3d3af03052d03274dc0940b2607ab15e8dccba96