Search found 92 matches

by TrianguloY
Wed Oct 09, 2019 11:06 pm
Forum: Get Help
Topic: Navigation Drawer
Replies: 2
Views: 275

Re: Navigation Drawer

Let's see. First of all you don't need stop points for that, although they can help here. In order to have that behaviour you just need a clever placement of pinned panels. Check this screenshot. Screenshot_20191010-004529.png With just two panels and an invisible item (that can also be removed by m...
by TrianguloY
Wed Oct 09, 2019 10:55 pm
Forum: Other discussions
Topic: Stop points
Replies: 4
Views: 124

Re: Stop points

Hmm, you don't need stop points for that, let me reply on that thread.

I don't remember when you asked, but I guess that I couldn't see the video at the time...and totally forgot. I recommend adding screenshots instead of videos like you did here, they are easier to see.
by TrianguloY
Mon Oct 07, 2019 12:47 pm
Forum: Scripts
Topic: Restart/Refresh Lightning
Replies: 1
Views: 103

Re: Restart/Refresh Lightning

Yup.
Just for the sake of completeness, the updated and without magic numbers script (longer, but non-deprecated and easier to understand) is:

Code: Select all

getEvent().getScreen().runAction(EventHandler.RESTART);
Both do exactly the same thing.
by TrianguloY
Mon Oct 07, 2019 12:27 pm
Forum: Other discussions
Topic: Stop points
Replies: 4
Views: 124

Re: Stop points

It's been a long time since I used them actively, but I think I remember them pretty well. For the general details I think the help pages are more or less detailed as you say, so I don't think I can give a better 'general' explanation. But if you have a specific question (like what a setting does, o...
by TrianguloY
Tue Oct 01, 2019 6:42 pm
Forum: Get Help
Topic: Setting home page
Replies: 4
Views: 104

Re: Setting home page

You mean it changed by itself? Or that you moved the icons and want to change it? Currently there is no launcher-way of changing the home page. But guess what, there is a script to do exactly that: https://www.lightninglauncher.com/wiki/doku.php?id=script_change_home_page Just tried it, it still wor...
by TrianguloY
Sun Sep 29, 2019 10:17 pm
Forum: Get Help
Topic: Icon mask/shape
Replies: 6
Views: 122

Re: Icon mask/shape

It seems the process has changed in android 10 (as usual...). Now you need to go to the developer settings.
Google 'android Q change icon shape' and follow the instructions.
Does it work now?
by TrianguloY
Sun Sep 29, 2019 10:13 pm
Forum: Get Help
Topic: Panel label
Replies: 2
Views: 62

Re: Panel label

You mean displaying a text inside a panel? Panels don't have labels, they are simply a movable container inside other containers. You can just add a text object (long tap, add, text) and place it wherever you want, either inside the panel or outside. (If this don't work for you, please explain what ...
by TrianguloY
Sat Sep 28, 2019 3:25 pm
Forum: Bug Report
Topic: Folder not closing
Replies: 2
Views: 83

Re: Folder not closing

When tapping outside both the close event and the tap event of whatever you clicked are fired. You can test this by clicking any other icon instead.
In your case the folder is closed and then opened again (because you tapped it).

I remember some discussion about this, but can't remember sorry.
by TrianguloY
Sat Sep 28, 2019 3:19 pm
Forum: Get Help
Topic: Icon mask/shape
Replies: 6
Views: 122

Re: Icon mask/shape

If you are using android 8.0+ (if I remember correctly) you can change the setting from the default launcher.
Search 'change adaptive icon shape'.
If not, that script is the only current option.
by TrianguloY
Wed Sep 11, 2019 1:59 pm
Forum: Get Help
Topic: Click animation
Replies: 2
Views: 87

Re: Click animation

I guess you mean the selection effect.
To remove it just go to the box tab, select the content area, and change its selected color to transparent (in the color dialog move the bottom slider to the right).
Note: in some devices it is also required to set the selection effect to 'plain'.
by TrianguloY
Sun Sep 08, 2019 1:30 pm
Forum: Users, groups and permissions
Topic: Setup
Replies: 24
Views: 1100

Re: Setup

Ok, I enabled the manual approving for new members. From now on, posts from new members will not be show publicly, and will need to be manually approved (not sure if admins only or moderators too). Also, once the user has one post approved, it should automatically be able to post without approval......
by TrianguloY
Sat Sep 07, 2019 9:43 pm
Forum: Users, groups and permissions
Topic: Setup
Replies: 24
Views: 1100

Re: Setup

@Pierrot New measures are needed, almost everyday there is a spam post now.
I checked and it doesn't seem the bots are using the social connection, just the normal registration.
by TrianguloY
Thu Aug 15, 2019 4:45 pm
Forum: Users, groups and permissions
Topic: Setup
Replies: 24
Views: 1100

Re: Setup

Same here (although some are clever!). Perhaps it is time for manual approving? We seem active enough to activate real users in less than a day or so when asking.

I'll try to check how the banned users were connecting, but I'm a bit new with this moderation panel.
by TrianguloY
Sat Aug 10, 2019 11:18 am
Forum: Get Help
Topic: Create folder under "My Drawer"
Replies: 1
Views: 114

Re: Create folder under "My Drawer"

To move items into folders you must drag-and-drop them to the folder icon (not the folder container) and keep them above for a few seconds before releasing. The animation should help. - Open the my drawer, where the icon you want to move and the icon to open the folder are (don't open the folder). -...
by TrianguloY
Wed Jun 26, 2019 7:13 pm
Forum: Get Help
Topic: Persistence of lightning launcher!
Replies: 21
Views: 768

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: 512

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: 512

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: 795

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: 567

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: 566

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: 566

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: 665

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: 566

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: 533

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: 487

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: 284

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: 976

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: 284

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: 976

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: 341

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: 484

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: 245

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: 227

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: 376

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: 795

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: 795

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: 371

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: 369

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: 608

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: 269

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: 204

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: 356

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: 289

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: 289

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: 993

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: 993

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: 993

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: 993

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: 993

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: 993

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...