Bug 397251 - Unable change desktop or lockscreen wallpapers
Summary: Unable change desktop or lockscreen wallpapers
Status: RESOLVED NOT A BUG
Alias: None
Product: plasmashell
Classification: Plasma
Component: Image & Slideshow wallpaper plugins (show other bugs)
Version: 5.13.3
Platform: Gentoo Packages Linux
: NOR normal
Target Milestone: 1.0
Assignee: Marco Martin
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-08-07 21:24 UTC by acidrums4
Modified: 2018-08-07 22:34 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
Screenshot from right-click->Desktop settings->Desktop wallpaper (41.33 KB, image/png)
2018-08-07 21:48 UTC, acidrums4
Details
Screenshot from Settings->Desktop behavior->Lockscreen->Visual (90.82 KB, image/png)
2018-08-07 21:49 UTC, acidrums4
Details

Note You need to log in before you can comment on or make changes to this bug.
Description acidrums4 2018-08-07 21:24:41 UTC
(Reporting as a bug as I got no help on forums).

From 5.12 onwards, every time I right-click on the desktop or try to change lockscreen wallpaper, the"Wallpaper type" (or what is says in english) selection widget has no options.

I tried creating a whole new user on my system, but from there the thing is the same.

Expected results: Being able to select "static image", "color" and etc (and being able to select an image when selecting "static image") when changing lockscreen and desktop wallpapers.

Still I can change desktop wallpaper by dragging an image file from Dolphin. Alas I don't know if there's a similar workaround for changing the lock screen wallpaper.

The output of plasmashell can be found here (there are some weird things there, but I don't know if they're relevant to this): https://pastebin.com/w2rcTadT

OS: Gentoo amd64
Plasma 5.13 & Frameworks 5.48 from the KDE overlay.
Comment 1 David Edmundson 2018-08-07 21:40:37 UTC
Please include:
 - a screenshot
 - ls of /usr/share/plasma/wallpapers
Comment 2 acidrums4 2018-08-07 21:48:32 UTC
Created attachment 114366 [details]
Screenshot from right-click->Desktop settings->Desktop wallpaper
Comment 3 acidrums4 2018-08-07 21:49:42 UTC
Created attachment 114367 [details]
Screenshot from Settings->Desktop behavior->Lockscreen->Visual
Comment 4 acidrums4 2018-08-07 21:51:04 UTC
(In reply to David Edmundson from comment #1)
> Please include:
>  - a screenshot
>  - ls of /usr/share/plasma/wallpapers

Thank you so much for your quick answer. Here's the ls output:

ls -alLh /usr/share/plasma/wallpapers
total 40K
drwxr-xr-x  6 root root  124 ago  7 16:46 .
drwxr-xr-x 11 root root 4,0K may 12  2017 ..
-rw-r--r--  1 root root  33K nov  4  2017 kpluginindex.json
drwxr-xr-x  3 root root  101 ago  7 07:02 org.kde.color
drwxr-xr-x  4 root root   87 ago  7 07:02 org.kde.image
drwxr-xr-x  3 root root   64 jul 14 07:02 org.kde.plasma.worldmap
drwxr-xr-x  3 root root   64 ago  7 07:02 org.kde.slideshow
Comment 5 David Edmundson 2018-08-07 22:16:02 UTC
> kpluginindex.json

try either deleting this


or running 

sudo kpackagetool5 --generate-index -g



And if you can read gentoo packaging to see if the emerge is calling something like that last line explicitly that would be much appreciated. It's not from any KDE code.
Comment 6 acidrums4 2018-08-07 22:34:10 UTC
(In reply to David Edmundson from comment #5)
> > kpluginindex.json
> 
> try either deleting this or running sudo kpackagetool5 --generate-index -g

It did it! Thank you so much :)

> And if you can read gentoo packaging to see if the emerge is calling
> something like that last line explicitly that would be much appreciated.
> It's not from any KDE code.

Well, I just did:

grep -r kpackagetools5 /usr/portage
grep -r kpackagetools5 /var/lib/layman/kde
grep -r kpluginindex.json /usr/portage
grep -r kpluginindex.json /var/lib/layman/kde

and all of them returned nothing. Not sure if that's what you meant but I guess it didn't came from any KDE ebuild but rather from an plasma widget I got from the store quite time ago.

However, than you so much for your help. Leaving this as invalid, as I could finally confirm this wasn't related to upstream.