Is there any way to do the foggy glass background that KLWP can do?
Is there any way to do the foggy glass background that KLWP can do? I really love the look of it for backgrounds of folders. Is this something that would be remotely possible to develop or do with scripting?
« My new home… (Previous Post)
i use Kustom and have no idea what you mean by foggy glass back grounds.
Where the background of a single element (folder, sidebar, whatever) is to blur whatever is behind it.
Sorta like the clock, here
https://lh3.googleusercontent.com/p_fKT7npfEwpx0V9c-4DYtXixgvWf5ngRFUjkvtqlXYvFGFLkiwwDuu2MbiwsODxB2Tfc9C0Yw
i think Lucas wrote a script to do that check the wiki
I checked here, didn’t find one. http://www.lightninglauncher.com/wiki/doku.php?id=script_repository
He might not have posted it there then maybe it was just in the community
Which Lucas am I searching for? There’s no search feature for Google plus on mobile.
thats cuz it sucks, Lukas Morawietz just noticed this in the public community try the private community.
https://plus.google.com/+LukasMorawietz/posts/gPuDyJkRmN6
There’s no blur function in Lightning because it cannot work in most situations. The reason is that Lightning (and other apps) don’t have access to the background (the wallpaper). Only the live wallpaper can access it’s own background, obviously.
“Seeing” the background is a requirement to compute the blur, and doing this in an efficient way is another requirement. Android prevents both as a security measure, so that app A (i.e. the launcher) cannot extract user data from app B (i.e. the live wallpaper)
That makes sense. And that’s why Lukas’s script involves placing an object that simply acts as a background.
Lightning Launcher already has the feature to draw your own wallpaper instead of using the system wallpaper, on a per-desktop basis. Is it possible to adapt a script to access that image? Could that one be blurred?
Nowadays, the per desktop wallpaper feature isn’t really required anymore. In previous versions of Android it was implemented using special native code that provided a real boost in terms of performance. Nowadays, changes in the Android graphics subsystem make that using any large item or shortcut will not make any difference (in terms of performance, not memory).
That means that it is easy to access the image from script: this can be either the background of an item, or the icon of a shortcut. It is possible to load the per desktop wallpaper too, but it’s not documented and not very efficient.
Blurring an image is also possible through script but might not be very efficient.
But even if the background can be read, and the blur can be computed, there’s one more step: objects in the middle have to be drawn over the background image, and that’s one more inefficient operation.
In the end the feature is hard to implement and not efficient in the best case, this is mostly why it hasn’t been implemented yet, although I spent quite a lot of time thinking at it.
Ok, cool! I had no idea this was all so involved, but I knew it would be pretty intense. I’m going to keep my setup with pre-blurred objects for now.
Thank you for the detailed response!