Search found 78 matches

by TrianguloY
Wed Jun 26, 2019 7:13 pm
Forum: Get Help
Topic: Persistence of lightning launcher!
Replies: 19
Views: 194

Re: Persistence of lightning launcher!

Wasn't the changes for the persistence of the floating desktop? I can be wrong, but I think the persistence of the floating desktop is independent from the persistence of lightning itself (and the notification is only present when it is enabled). Still no other changes should affect the killing. If ...
by TrianguloY
Fri May 24, 2019 8:54 am
Forum: Get Help
Topic: Switch Phones - Rebuild or Restore
Replies: 9
Views: 163

Re: Switch Phones - Rebuild or Restore

Better to wait for confirmation, but what I think they means is that when you open the image picker and choose 'application', some apps display the icon as an image, but some others don't (Google for example). I think we discussed this in the past, currently you have no scriptless way to choose an a...
by TrianguloY
Thu May 23, 2019 7:40 am
Forum: Get Help
Topic: Switch Phones - Rebuild or Restore
Replies: 9
Views: 163

Re: Switch Phones - Rebuild or Restore

Restoring a backup should restoring everything to the exact same state, so everything should 'work' as before. However if the devices have different screen sizes/resolutions the position and size of some items can change. I think templates try to fix this a bit when importing, but they are not full ...
by TrianguloY
Mon Apr 29, 2019 7:11 am
Forum: Feature Suggestion
Topic: Search in Script editor
Replies: 14
Views: 358

Re: Search in Script editor

Searching inside the editor (opened script only) is already implemented using a normal alert dialog instead of an action bar. About bars: I agree they are hard to include, but probably for the compatibility with previous android versions which didn't include them. If you want to use bars in an andro...
by TrianguloY
Sun Apr 14, 2019 7:32 am
Forum: Bug Report
Topic: Floating desktop
Replies: 10
Views: 283

Re: Floating desktop

... It appears there is a special notification that can be shown to keep services active (this is the notification a lot of background apps show) but there isn't any for normal apps. This can be used to keep the floating desktop though, perhaps it is worth checking. ... https://community.lightningl...
by TrianguloY
Thu Apr 11, 2019 8:19 am
Forum: Feature Suggestion
Topic: Custom layouters (element positions + size)
Replies: 8
Views: 239

Re: Custom layouters (element positions + size)

You are right on the 'it is easier with the editor'. In fact some of the latter suggestions have a common element: a way to have some sort of 'linked elements'. Think of them as points in the grid joined by a line (initially two points, but with an option to add/remove vertices) where you can move f...
by TrianguloY
Wed Apr 10, 2019 8:50 pm
Forum: Feature Suggestion
Topic: Custom layouters (element positions + size)
Replies: 8
Views: 239

Re: Custom layouters (element positions + size)

A script can respect anything you want ;) you just need to program it. I see what you mean. Basically you want to 'fix' the position of the element to another object (in this case a cell in a grid or a position in a path) while having the rest of parameters (scaling and rotation) independent. This i...
by TrianguloY
Wed Apr 10, 2019 6:03 pm
Forum: Feature Suggestion
Topic: Template classes for user defined complex item instances (re-usable)
Replies: 10
Views: 266

Re: Template classes for user defined complex item instances (re-usable)

So, you mean expanding the current hierarchical properties (each container has default properties for their items, that can use them or override) to a sort of hierarchical templating system similar to classes where every 'style' is derived from an existing one (or even more that one with order). Thi...
by TrianguloY
Wed Apr 10, 2019 5:53 pm
Forum: Feature Suggestion
Topic: Custom layouters (element positions + size)
Replies: 8
Views: 239

Re: Custom layouters (element positions + size)

Seems interesting, although I'm having difficulty understanding it. About the custom grid: what will be the difference with a panel? What you describe is very similar to what a panel allows. About the polyline: some of the earlier scripts that were made allowed some items to be placed in a 'circle' ...
by TrianguloY
Mon Apr 08, 2019 3:31 pm
Forum: Bug Report
Topic: Uninstall Not working
Replies: 8
Views: 280

Re: Uninstall Not working

Works for me :/ both the 'Uninstall' and the 'X'
by TrianguloY
Mon Apr 08, 2019 3:30 pm
Forum: Bug Report
Topic: Lighting Launcher not taking the whole screen on Xiaomi Pocophone F1 with hidden navigation buttons
Replies: 4
Views: 153

Re: Lighting Launcher not taking the whole screen on Xiaomi Pocophone F1 with hidden navigation buttons

What if you check the 'content overlap' and set a transparent color? (from the settings-desktop-systemaBar settings)
by TrianguloY
Mon Apr 08, 2019 6:49 am
Forum: Feature Suggestion
Topic: Unified selection for apps AND widgets
Replies: 4
Views: 115

Re: Unified selection for apps AND widgets

Perhaps in this case a temporal cache is enough. Maybe...5 minutes since the last open? The idea is to speed up when you want to add multiple widgets, normally in this case you open the widget list multiple times in a short time. And while I was writing this...I think this is not possible currently ...
by TrianguloY
Mon Apr 08, 2019 6:45 am
Forum: App Updates
Topic: V14.3 beta5
Replies: 12
Views: 554

Re: V14.3 beta5

Do you talk about: A) A folder with the setting disabled is opened, then a folder with the setting enabled is opened, so clicking outside closes both (should only close the latest. Or B) A folder with the setting enabled is opened, then from inside of that one a folder with the setting disabled is o...
by TrianguloY
Sun Apr 07, 2019 10:05 pm
Forum: Feature Suggestion
Topic: Unified selection for apps AND widgets
Replies: 4
Views: 115

Re: Unified selection for apps AND widgets

700...what? Wow, you sure have a lot of apps :shock: It's interesting you talk about the list of apps as a ...list. You aren't using the MyDrawer I guess. You are right, the app drawer is a cached list of the installed apps (wich sometimes can lead to some issues, but being faster is something good!...
by TrianguloY
Sun Apr 07, 2019 9:54 pm
Forum: App Updates
Topic: V14.3 beta5
Replies: 12
Views: 554

Re: V14.3 beta5

If you just wanted to close the folders when opening another outside app you could just set the resumed event of the desktop to 'close all folders', and enable the 'close other folders'. Closing it when swiping is a bit more difficult but should be possible with the position changed event I think. A...
by TrianguloY
Sun Apr 07, 2019 9:34 pm
Forum: Bug Report
Topic: Copying widget items doesn't work as intended
Replies: 4
Views: 118

Re: Copying widget items doesn't work as intended

I was going to say that coping a widget properties is not possible because Android saves the information internally. However restoring a backup does restore the widgets properties (not always) so maybe there is a chance this is just a bug that can be fixed...not sure though.
by TrianguloY
Sat Apr 06, 2019 4:45 pm
Forum: Feature Suggestion
Topic: Clipping and alpha masks for objects
Replies: 7
Views: 206

Re: Clipping and alpha masks for objects

This is available for icons, not sure how easy/difficult will be to adapt it to items in general. One thing that is available to all items even widgets is the ability to 'cut' them (in a rectangle only). Just change the margin or content size to a negative value (in pixels, remember you can write an...
by TrianguloY
Tue Apr 02, 2019 9:00 am
Forum: Get Help
Topic: Not seeing all widget options
Replies: 3
Views: 112

Re: Not seeing all widget options

I'm not sure what you mean with that trigger widget. Is it a specific widget of the stock launcher? If not which widget and launcher? Perhaps a screenshot helps. And yes, there are ways to set android settings from scripts (not everything, but almost). This requires java knowledge, but shouldn't be ...
by TrianguloY
Tue Apr 02, 2019 8:56 am
Forum: Get Help
Topic: Android Pie - no phone app
Replies: 2
Views: 101

Re: Android Pie - no phone app

From the app drawer press the three dots menu and then 'refresh'.
by TrianguloY
Mon Apr 01, 2019 10:18 pm
Forum: Bug Report
Topic: Icon packs not showing
Replies: 4
Views: 162

Re: Icon packs not showing

Instead of using the 'Icon pack' option use the 'Application' one. That should display the icons in a more consistent way.
by TrianguloY
Mon Apr 01, 2019 10:15 pm
Forum: Feature Suggestion
Topic: Search in Script editor
Replies: 14
Views: 358

Re: Search in Script editor

brunoisa10 wrote:
Mon Apr 01, 2019 8:28 pm
So I want inside a script and not on all
And being able to update the script
Then just open the left menu and "Edit..." the script to open it in any text editor with a search/replace feature.
by TrianguloY
Mon Apr 01, 2019 2:58 pm
Forum: Feature Suggestion
Topic: Search in Script editor
Replies: 14
Views: 358

Re: Search in Script editor

I think lukas implemented that on their multitool (can't check now)
by TrianguloY
Fri Mar 22, 2019 10:52 pm
Forum: Bug Report
Topic: Google Maps shortcuts revert on Maps app update
Replies: 6
Views: 191

Re: Google Maps shortcuts revert on Maps app update

Interesting. There is no current map update for me so I can't test it properly (although I could download an old apk...perhaps I try on an emulator later). For now I created a shortcut and I'll test it as soon as maps is updated. For the record, this is the intent the shortcut currently has: google....
by TrianguloY
Thu Mar 21, 2019 9:58 am
Forum: Get Help
Topic: How would I create a text "button" that will play a sound?
Replies: 6
Views: 194

Re: How would I create a text "button" that will play a sound?

https://www.lightninglauncher.com/scripting/reference/api/reference/net/pierrox/lightning_launcher/script/api/Item.html#getMy() (note that with this javascript almost any 'X.getY().Z' can be replaced with 'X.Y.Z'). A Scriptable object is a javascript object, like a '{}', but it is stored on the item...
by TrianguloY
Mon Mar 18, 2019 5:57 pm
Forum: Get Help
Topic: Dark icons on status bar
Replies: 10
Views: 284

Re: Dark icons on status bar

As I said I can't test it, but perhaps the issue is that the script needs to be run after some other code.
What if you write it inside a setTimeout?

setTimeout(function(){
bind...
get...
},0);//or try with 1, 50, 100...
by TrianguloY
Mon Mar 11, 2019 10:34 pm
Forum: Bug Report
Topic: App drawer doesn't respect portrait mode
Replies: 2
Views: 120

Re: App drawer doesn't respect portrait mode

From the app drawer:
Three dots
Settings
App drawer
Miscellaneous
Desktop orientation
(Choose sensor or something else)

That should work
by TrianguloY
Sat Mar 09, 2019 3:41 pm
Forum: Get Help
Topic: Is it possible to remove/delete entries on the item menu
Replies: 3
Views: 99

Re: Is it possible to remove/delete entries on the item menu

There isn't, no. However if you don't want an entry, just don't add it.

Unless you want to remove the lightning existing entries.

You can use this to remove all of them:
menu.getMainItemsView().removeAllViews();

But removing only a specific one...that's harder.
by TrianguloY
Wed Mar 06, 2019 2:30 pm
Forum: Feature Suggestion
Topic: New permission apk
Replies: 6
Views: 192

Re: New permission apk

On Oreo the location should be turned on too (and granted coarse permission from settings) for that code. There seem to be another way which doesn't require the location (it does require the apk permission). var cntx = getBackgroundScreen().getContext(); var manager = cntx.getSystemService (cntx.WIF...
by TrianguloY
Tue Mar 05, 2019 2:20 pm
Forum: Get Help
Topic: Lock page delete
Replies: 5
Views: 123

Re: Lock page delete

I'm on Oreo and it works for me :/
Device version? Does it says something when pressing back or just closes?
by TrianguloY
Tue Mar 05, 2019 8:46 am
Forum: Get Help
Topic: Lock page delete
Replies: 5
Views: 123

Re: Lock page delete

In the general settings, where you can choose the lock screen, press back instead.

Settings, general, lock screen, select or disable lock screen, press back.
by TrianguloY
Sat Mar 02, 2019 9:09 am
Forum: Bug Report
Topic: App drawer top bar not correct size
Replies: 19
Views: 491

Re: App drawer top bar not correct size

Arg, right, the 'status bar content overlap' does that. So better leave it unchecked, but that means that the status bar can't be colored (it can, but will be cut at the end). I'm sure there are other ways, but that isn't so easy as those changes. To recap: set the 'status bar content overlap' as un...
by TrianguloY
Fri Mar 01, 2019 11:03 pm
Forum: Bug Report
Topic: App drawer top bar not correct size
Replies: 19
Views: 491

Re: App drawer top bar not correct size

Couldn't resist fixing those ugly bars :P Ok, improved version. First, check both 'content overlap' and set the color to transparent (otherwise you will get duplicated colors). Then copy this new script (you can substitute the old one) and check the lightning category from the side bar. Set the scri...
by TrianguloY
Fri Mar 01, 2019 8:01 pm
Forum: Bug Report
Topic: App drawer top bar not correct size
Replies: 19
Views: 491

Re: App drawer top bar not correct size

When the script is active, the 3 dots menu works. Awesome. I put a screenshot so you can see how it looks with transparent navigation bar set in lightning. When I back out of the app drawer, the script stops working. Do you know any work around to keep it enabled? Thanks for helping. Aha, so it see...
by TrianguloY
Fri Mar 01, 2019 7:35 pm
Forum: Bug Report
Topic: App drawer top bar not correct size
Replies: 19
Views: 491

Re: App drawer top bar not correct size

Interesting. If you now click where the three dots should be, does it work? (You can change the 'navigation bar tint color' to transparent, perhaps it is better).
by TrianguloY
Fri Mar 01, 2019 7:09 pm
Forum: Bug Report
Topic: App drawer top bar not correct size
Replies: 19
Views: 491

Re: App drawer top bar not correct size

Finally time to try but where do I need to set this "; "? A little typo error in the script? Hmm, I tested the script myself and it should work fine. Did you copied it exactly as shown? (All characters, all line breaks, no extra characters). Anyway, I modified the script a bit, just in case, copy i...
by TrianguloY
Wed Feb 27, 2019 10:51 pm
Forum: Bug Report
Topic: App drawer top bar not correct size
Replies: 19
Views: 491

Re: App drawer top bar not correct size

Sorry for the testing, but if you want here is another thing to try! In the app drawer settings, set the settings to: Navigation bar and content overlap: checked Status bar and content overlap: unchecked Then, run this script from the app drawer bindClass("android.view.WindowManager"); var w=getAppD...
by TrianguloY
Wed Feb 27, 2019 10:24 pm
Forum: Bug Report
Topic: App drawer top bar not correct size
Replies: 19
Views: 491

Re: App drawer top bar not correct size

Thank you for the screenshots! It is not exactly what I was expecting, but still interesting. There are multiple things here: 1) the action bar is drawn behind the nav bar. I can understand it with the 'navigation bar and context overlap' (new screenshot) but it shouldn't happen without that setting...
by TrianguloY
Wed Feb 27, 2019 1:39 pm
Forum: Bug Report
Topic: App drawer top bar not correct size
Replies: 19
Views: 491

Re: App drawer top bar not correct size

Evelien Could you try this? (If you have time and want) I want to check something: In the app drawer, long tap the background, settings (top right button in the popup), system bars, check 'navigation bar and content overlap' and set the 'navigation bar tint color' to transparent. (Before making the...
by TrianguloY
Sun Feb 24, 2019 7:01 pm
Forum: Scripts
Topic: Tutorial: How to manually 'install' and run scripts
Replies: 5
Views: 386

Re: Tutorial: How to manually 'install' and run scripts

(fixed!) Thank for the comments, yes it took a bit (as you can see in the screenshots with the time/date lol, plus some days before thinking about the idea) but I was having fun so I don't mind. I wanted to make something like this to avoid having this information repeated in other scripts posts, so...
by TrianguloY
Sun Feb 24, 2019 10:39 am
Forum: Users, groups and permissions
Topic: Setup
Replies: 15
Views: 359

Re: Setup

I deleted some spam users via the inactive menu, which allows to mass delete multiple users (they were obviously spam accounts). But there are still a lot of other non-inactive users that need to be deleted manually one by one (or I couldn't find a better way other than doing a search query, which i...
by TrianguloY
Sun Feb 24, 2019 9:04 am
Forum: Users, groups and permissions
Topic: Setup
Replies: 15
Views: 359

Re: Setup

I'm afraid yes. There are currently 120 members, and almost half of them seem bots. (We should probably delete them now, I don't think there are doubts about normal or bot user, the usernames and emails seems randomized). So it seems that the captcha of the registration is not very effective, maybe ...
by TrianguloY
Sat Feb 23, 2019 11:14 am
Forum: Scripts
Topic: Tutorial: How to manually 'install' and run scripts
Replies: 5
Views: 386

Tutorial: How to manually 'install' and run scripts

This is a tutorial to explain how to 'install' and run an existing script (that you can copy in your clipboard) manually without external tools. It assumes you know nothing about the launcher (as if you just installed it) although some steps not related to scripts are not explained in detail. If you...
by TrianguloY
Wed Feb 20, 2019 7:36 pm
Forum: Bug Report
Topic: Can no longer save URL to a desktop
Replies: 16
Views: 341

Re: Can no longer save URL to a desktop

'Hitting the save button crashes LL' That's something that shouldn't happen (I can't reproduce it...wait are you on the beta or the stable). I later deleted that sentence, because the crash occurs when hitting then Edit button, not the Help button. Running Stable. Ah, that error is in fact a known ...
by TrianguloY
Wed Feb 20, 2019 7:31 pm
Forum: Bug Report
Topic: Can no longer save URL to a desktop
Replies: 16
Views: 341

Re: Can no longer save URL to a desktop

Oh, ok. I'm sorry but you misunderstood. The script is a ready-to-use script, you don't need to modify it (that error is because that modification is not a valid javascript syntax, but as I said you don't need to edit the script to use it). After pasting the script and checking the checkboxes, just ...
by TrianguloY
Wed Feb 20, 2019 7:11 pm
Forum: Bug Report
Topic: Can no longer save URL to a desktop
Replies: 16
Views: 341

Re: Can no longer save URL to a desktop

'Hitting the save button crashes LL' That's something that shouldn't happen (I can't reproduce it...wait are you on the beta or the stable). About running scripts, in the editor everything is saved automatically, no need for a save button. Just open it, create a new one if necessary, check the categ...
by TrianguloY
Wed Feb 20, 2019 6:03 pm
Forum: Bug Report
Topic: Can no longer save URL to a desktop
Replies: 16
Views: 341

Re: Can no longer save URL to a desktop

I'll leave this here...
viewtopic.php?f=14&t=24
by TrianguloY
Wed Feb 20, 2019 3:31 pm
Forum: Get Help
Topic: Make lightning persistent
Replies: 11
Views: 315

Re: Make lightning persistent

Not so good news. The idea I had was to use a notification to 'force' android to keep the launcher loaded. It appears there is a special notification that can be shown to keep services active (this is the notification a lot of background apps show) but there isn't any for normal apps. This can be us...
by TrianguloY
Tue Feb 19, 2019 3:01 pm
Forum: Get Help
Topic: Make lightning persistent
Replies: 11
Views: 315

Re: Make lightning persistent

I don't think it is OnePlus trying to use its launcher, but it is highly probable that the OnePlus launcher is set to 'not kill' internally by the modified system. And about having 8GB (wow) or 2, I don't think that is different. Yes, you can have more apps, but android loves having the ram full and...
by TrianguloY
Mon Feb 18, 2019 9:56 pm
Forum: Get Help
Topic: Make lightning persistent
Replies: 11
Views: 315

Re: Make lightning persistent

No, I'm afraid the issue is real and not a user wrong setting. It is a lot more noticeable on Oreo and above, where the system just loves to kill lighting (and other useful apps in general too) when in low ram. Android tries to reduce power consumption, but instead of focusing on optimizing the reso...
by TrianguloY
Mon Feb 18, 2019 8:15 pm
Forum: Feature Suggestion
Topic: Animated clock icon in the drawer
Replies: 7
Views: 210

Re: Animated clock icon in the drawer

Wait, I wanted to reply to this...I didn't? Oops, I forgot. This can be made with lighting's animated icons, and the script should not be too difficult. I wanted to try it, but I forgot. (Can't promise, but I'll try again to do it). Still, I think someone made one in the past, I remember something. ...