Bug 342472

Summary: Discrepancy in metadata.desktop path between PackagePrivate::createPackageMetadata() and installed wallpapers
Product: [Frameworks and Libraries] libplasma Reporter: Elias Probst <mail>
Component: libplasmaAssignee: Marco Martin <notmart>
Status: CONFIRMED ---    
Severity: normal CC: ad1rie3, gcala, kdebugs, lacsilva, unsuspicious.fakename+kdebugs
Priority: NOR    
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Elias Probst 2015-01-04 01:43:52 UTC
When opening plasmashell's wallpaper configuration dialog, plasmashell logs these messages:
Jan 04 02:22:47 moria plasmashell[5093]: No metadata file in the package, expected it at: "/usr/share/wallpapers/Next/contents/images//metadata.desktop"
Jan 04 02:22:47 moria plasmashell[5093]: No metadata file in the package, expected it at: "/usr/share/wallpapers/Next/contents/images//metadata.desktop"
Jan 04 02:22:47 moria plasmashell[5093]: No metadata file in the package, expected it at: "/usr/share/wallpapers/Next/contents/images//metadata.desktop"

All wallpapers install their metadata.desktop to /usr/share/wallpapers/$WP/metadata.desktop while PackagePrivate::createPackageMetadata() expects it in the contents/images subdirectory.

Who's right? The wallpapers or PackagePrivate::createPackageMetadata()?
Comment 1 Marco Martin 2015-01-13 12:26:29 UTC
is the error message to be incorrect, it should be
/usr/share/wallpapers/Next/metadata.desktop
not
/usr/share/wallpapers/Next/contents/images//metadata.desktop

tough i would wait the merger of the branch that ports it to kpackage to indagate more
Comment 2 Marco Martin 2015-03-12 09:35:43 UTC
current master has quite different code in this department.

does the problem still happens?
Comment 3 Luis Silva 2015-08-18 22:40:50 UTC
This is still happening in the latest kubuntu packages (libplasma 4.14.6 in kubuntu Wily).
Comment 4 Luis Silva 2015-09-21 15:23:11 UTC
(In reply to Marco Martin from comment #2)
> current master has quite different code in this department.
> 
> does the problem still happens?

Yes, this still happens in plasmashell 5.4.1.
I can confirm that copying the metadata.desktopfile to contents/images subdirectory shuts the warning up.
What info would you need to help debug this?
Comment 5 Luis Silva 2015-10-14 22:23:41 UTC
Still present in 5.4.2.
Comment 6 Giuseppe CalĂ  2015-11-26 15:18:23 UTC
Still present in 5.4.3
Comment 7 Marco Martin 2016-02-17 10:24:55 UTC
still present?
Comment 8 Daniel Duris 2016-05-24 12:34:25 UTC
yes, still present

org.kde.plasma: unversioned plugin detected, may result in instability
org.kde.plasma: unversioned plugin detected, may result in instability
org.kde.plasma: unversioned plugin detected, may result in instability
org.kde.plasma: unversioned plugin detected, may result in instability
org.kde.plasma: unversioned plugin detected, may result in instability
org.kde.plasma: unversioned plugin detected, may result in instability
org.kde.plasma: unversioned plugin detected, may result in instability
org.kde.plasma: unversioned plugin detected, may result in instability
org.kde.plasma: unversioned plugin detected, may result in instability
org.kde.plasma: unversioned plugin detected, may result in instability
org.kde.plasma: unversioned plugin detected, may result in instability
org.kde.plasma: unversioned plugin detected, may result in instability
org.kde.plasma: unversioned plugin detected, may result in instability
org.kde.plasma: unversioned plugin detected, may result in instability

WARNING: This project is using the experimental QML API extensions for QtWebKit and is therefore tied to a specific QtWebKit release.
WARNING: The experimental API will change from version to version, or even be removed. You have been warned!

No metadata file in the package, expected it at: "/usr/share/wallpapers/Next/contents/images//metadata.desktop"
No metadata file in the package, expected it at: "/usr/share/wallpapers/Next/contents/images//metadata.desktop"
No metadata file in the package, expected it at: "/usr/share/wallpapers/Next/contents/images//metadata.desktop"
"No such interface 'org.freedesktop.DBus.Properties' on object at path /org/freedesktop/NetworkManager/ActiveConnection/4"
Comment 9 unsuspicious.fakename+kdebugs 2016-08-02 09:10:28 UTC
Still present in 5.7.2

Also, when using random wallpapers from a folder, a similar message ends up in the system journal every time the wallpaper changes (with normal debug settings). This makes up 90% of ALL my logs and is the main reason I usually deactivate logging for KDE:

No metadata file in the package, expected it at: "/home/user/my_photos/wallpaper_slideshow//metadata.desktop"
Comment 10 ad1rie3 2016-09-15 20:44:07 UTC
I have same issue, can you fix it ?