now browsing by category
Question: Are bindings constantly being evaluated if the screen is off or if LL is in the background?
Use case: I have a clock widget setup to change item properties every second. If I use a script to do this, I can clear timeout on desktop pause and resume on desktop resume. If I use bindings to achieve the same effect, do the bindings continue to get evaluated when LL is in the background or when screen is off, thereby draining more battery than the script solution?
]]>[Sorry for the long post. When I wrote the list I didn’t know it will grow so much]
—
I’ve been playing around with the menu event and I have some suggestions and bugs (some unrelated to the menu event, but interesting specially #4 about frozen widgets)
Bugs:
1)With the sample script (the ‘hello goodbye’ one) occurs a bug that I think could happen in other places too: when clicking a menu (and the alert is shown) if an item in the container with a binding updates at the same time more or less, the alert will have as title the name of the binding script, instead of the menu one. I can repeatedly trigger this using the binding animate(“$ll_second”,1000)
2) In the script editor, while editing the name/path of a script from the dialog, clicking accept or cancel doesn’t hide the keyboard, it is still shown and active on the script code, that is possibly hidden by the side menu (the keyboard should close).
3) If you are on the script editor and you multitask to other apps, a script editor app is shown on the recent list. However clicking it shows the desktop instead of the editor.
4) I found a reliable way to freeze widgets, but first two related bugs:
4a) On general settings there is an ‘auto edit mode’ option that says ‘enter edit mode when adding an item’. I do remember that previously it said ‘when moving’, but now I’m not sure. Anyway that’s exactly what the setting does, not what it says. To be more clear: no matter what you choose, edit mode will be entered always after adding an item (except when adding a widget that opens an activity to configure).
4b) Add a panel, and then a widget. From 4a), if the widget doesn’t open an activity to configure, the panel will be in edit mode with the widget correctly displayed, but when you exit edit mode the widget is instead a ‘zombie widget’ (not sure how to call it). They will appear as if its internal ‘initialize event’ never run. Some I tried were shown as opaque rectangles, other even invisible. Best to try a few and check. To fix it restart the launcher.
4c) If you followed the steps in 4b) (add a panel, add a widget, restart launcher) now the widget works correctly…until you edit that panel. When doing so it will appear as normal while in edit mode, but from now on it won’t never update in normal mode (you can even interact, but it won’t update, and you can see the result of your clicking in edit mode). I’m highly sure the edit mode of a panel is a duplicated of the original panel, and the widget is a copy. There seem to be an issue with this, the widget on the original panel becomes a zombie and the one in the edit panel gets the updating events (or whatever).
Wow, so long. Now they come the suggestions:
5)Add a menu event in general settings. It will be nice to have an extra button in all menus of the launcher for example, or to change them to dark. Note that if you set a custom menu event of an item it will need to run both scripts (first the general one, then the custom). Not sure how difficult this is to implement, so don’t worry if you leave it on the todo list.
6) The menu event is only for scripts, and even choosing another action does nothing. So why not directly open the run a script dialog?
7) Talking about the run script dialog, now that they can be in folders what about the same ‘folder/name chooser with the ‘include sub directories’ checkbox?
Again sorry for the long post 😛
]]>Is there a Lightning equivalent of LL.getAllDesktops() ? Maybe I’m just blind but I can’t find anything.
does lightning launcher now support fingerprint lock? if yes, can someone teach me how to? thanks!
I believe Nougat just arrived on my phone but I haven’t upgraded yet.
What has changed in this new beta I installed yesterday have not noticed anything.
Any idea what’s happening here I’m playing with video and as you can see its working great but the video goes…
Any idea what’s happening here I’m playing with video and as you can see its working great but the video goes outside of the custom view when in edit mode.
VideoView is set to match parent and so is the frame layout I also tried with a LinearLayout but same thing happened.
]]>Suggestion :
Would it be better to rename ‘Restart app’ Lightning Launcher Action to something like ‘Restart Launcher’?
Current name looks confusing IMO.
]]>Screw Google I don’t need no live wallpaper support. I just need to find some better gifs :)
Screw Google I don’t need no live wallpaper support. I just need to find some better gifs 🙂
]]>