Suppress warning message "No metadata file in the package..." when using desktop slideshow
Needs ReviewPublic

Authored by marten on Jan 18 2017, 2:11 PM.

Details

Reviewers
None
Group Reviewers
Frameworks
Plasma
Summary

As described in https://bugs.kde.org/show_bug.cgi?id=350148, this message appears three times every time the slideshow plugin changes the background image. It cannot be disabled via Qt logging rules. Apart from possible interest to package developers this message serves no useful purpose, so suppressing it would avoid clutter in the user's session log.

Test Plan

Built KPackage with this change, all autotests pass.
Observed correct operation of Plasma desktop and slideshow background, with no log messages.

Diff Detail

Repository
R290 KPackage
Lint
Lint Skipped
Unit
Unit Tests Skipped
marten updated this revision to Diff 10321.Jan 18 2017, 2:11 PM
marten retitled this revision from to Suppress warning message "No metadata file in the package..." when using desktop slideshow.
marten updated this object.
marten edited the test plan for this revision. (Show Details)
marten added reviewers: Frameworks, Plasma.
marten set the repository for this revision to R290 KPackage.
Restricted Application added projects: Plasma, Frameworks. · View Herald TranscriptJan 18 2017, 2:11 PM
Restricted Application added a subscriber: plasma-devel. · View Herald Transcript

A commented out warning doesn't make much sense.
Either it's a valid warning at which point the root cause needs fixing not hiding, or it's wrong and should be removed.

The hard part of doing this change is working out which of those is correct.

Agreed that a decision needs to be made, but I'm not an expert on the KPackage system and so wasn't sure whether the warning may be useful to package developers in some cases - in which case leaving it commented out would make it easier to reinstate than removing it entirely.

mart added a subscriber: mart.Jan 19 2017, 11:05 AM

-1 on this..
wallpaper packagestructure is indeed very weird (it makes it so that a simple jpg is considered as a valid package.. is how the model for thumbnails works, which would be a good idea to change a little) , and that's why those warnings

bruns added a subscriber: bruns.Apr 17 2018, 3:46 PM