Hi, today my KLWP suddenly lost it’s ability to render image. Yesterday it’s working just fine. I realized it cannot read file outside of kustom working folder anymore, and if i use kustom working folder the image location is showed up, but the image still turns black.
Try the following:
$tu(rndimg, gv(wp), "/Kustom/images/")$
Having the same issue
Hello guys,
I’m having the same issue and it started to happens after update to version 3.77b432414.
In my case, the solution proposed is not working and I cannot see the wallpapper in the edito neither in the launcher, also in the test preview, I cannot see the information about my pathe where pictures are.
My code has the following:
$tu(rndimg, gv(time), “/storage/emulated/0/Kustom/downloads/”)$
time, is a gloval numeric global variable.
Anyone can help me with this please?
Id you tried
$tu(rndimg, gv(time), “/Kustom/downloads/”)$
Thanks for your reply.
Your recommendation is not working for me, using the short path, happens the behaviour is the same.
Regards
$tu(rndimg, 15, "/Pictures/Pics of the Week/")$
Ace’s solution does not work, at least not for me.
The $tu(rndimg) function has abruptly stopped working, whether the path is full (/storage/emulated/0…) or shortened, and whether file:/// is pre-pended or not.
I would speculate that targeting Android API 34 has broken some necessary permission to access non-Kustom folders.
Hello,
Like you say is like I had previously configured and I think the same than, you, something happened with this new version that now is not working properly with access to folders.
Regards
Im having the same issue. Wallpaper stopped working unless i specify a static image.
Now klwp is telling me $tu is invalid
Not sure what happened. Set my phone down and about an hour later i noticed my bg was a gray screen and found the formula stopped working again
The solution requires that you move the files inside the Kustom folder due to an access issue in newer Android APIs.
I tried this and still not working. The editor successfully sees and assigns an image file, but it doesn’t render on the actual desktop
Edit: text was split by image, fixed
And even this…
$tu(rndimg, 15, "/Kustom/images/")$
…doesn’t work for me at all. The editor doesn’t even see and produce an image file (i.e. the Text Preview box shows the default grayed “Text Preview”).
(I also tried with the full path, and with file:/// pre-pended)
moved Images into the Kustom folder instead of Kustom/Wallpapers and editor can’t load them
I can load static images no problem
fairly confirmed bug. i can also get the file path to show, but with no image actually displayed. i also have color globals set to pull from the current wallpaper, and they’re unresponsive despite the filename being filled.
should append, statically set images will still pull from any folder regardless of location.
I’m expiercing the same problem with KGWT. It was working fine but then stopped. The image file is being picked up in the Text Preview but the image won’t render in the widget.
Not in my case. I have a overlay box with an image to match the phase of the moon. It has stopped working. I have simplified it as much as possible to a simple box on the base/root layer with a shape (cyan square) and an image on top of the shape.
So in spite of moving files to Kustom folder and removing any reference to global variables the moon images shows in preview but not in active screen.
It DOES work if I remove my extremely simplified bitmap formula (which is active in the first screenshot)
$if(ai(mphasec)=“FIRST_QUARTER”,“/Kustom/images/2 FQ.png”,“/Kustom/images/8 NM.png”)$
and choosing the image file manually. This has to be a bug and not the intended action?
I actually got it to work. I didn’t believe the code I used would work but yet here it is. The widget randomly cycles an image successfully every minute as intended.
The solution does not work for me because I don’t use $tu() to select an image: I pass in an image’s absolute path (Business logic and triggers are handled in Tasker)
Since there is no permission to grant file read to a directory anymore, and single files need to be granted through tu or the file picker, even freetyping to a file in the /Kustom home directory is not possible.
No solutions have worked for me either, I restored a previous version, uninstalled re-installed KLWP and moved all the images into the Kustom folder - still unable to reference a bitmap through formula and have it show. Weirdly it does sometimes ‘appear’ to work the first time I create the BMP then when I reload KLWP and save again it will stop working!? From that point on it will show the white box in editor and nothing on home screen.
Static works fine