Search found 109 matches

by TrianguloY
Mon Apr 01, 2019 10:18 pm
Forum: Bug Report
Topic: Icon packs not showing
Replies: 7
Views: 13723

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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: 6
Views: 41563

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: 25
Views: 38802

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: 25
Views: 38802

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: 6
Views: 41563

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

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

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

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

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

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

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

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

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. ...
by TrianguloY
Sat Feb 16, 2019 8:07 pm
Forum: Bug Report
Topic: Events Bug/Issue
Replies: 2
Views: 9305

Re: Events Bug/Issue

The events and other settings are set 'hierarchically' between containers and items. This means that an event defined in a container will be the default for all items inside that container. This seems probably this case, that item is inside a container with that 'swipe up' event set. If you want to ...
by TrianguloY
Thu Feb 14, 2019 10:03 am
Forum: Get Help
Topic: App Drawer Back to Top.
Replies: 2
Views: 3633

Re: App Drawer Back to Top.

Try this:
App drawer settings, events and actions, resumed, choose 'zoom 100p'.
by TrianguloY
Mon Feb 11, 2019 1:59 pm
Forum: Get Help
Topic: Dark icons on status bar
Replies: 10
Views: 14637

Re: Dark icons on status bar

It seems there is a way to tell android to draw dark icons, either from a theme attribute or programmatically, with this script: bindClass("android.view.View"); getHomeScreen().getContext().getWindow().getDecorView().setSystemUiVisibility(View.SYSTEM_UI_FLAG_LIGHT_STATUS_BAR); However it doesn't wor...
by TrianguloY
Fri Feb 08, 2019 4:18 pm
Forum: News
Topic: A new place for the Lightning Launcher Community
Replies: 10
Views: 34162

Re: A new place for the Lightning Launcher Community

Indeed, that discourse seems a nice option, I didn't know that either. And as you said, the sooner the better. But I understand that after the effort to setup all this you prefer to take a rest. About other users, I personally wouldn't mind switching, even if that requires a new setup. About other u...
by TrianguloY
Sun Feb 03, 2019 12:48 pm
Forum: Bug Report
Topic: Hidden Nav Bar !
Replies: 7
Views: 12544

Re: Hidden Nav Bar !

Unfortunately that's a known bug. For some reason what lightning uses to measure the size of the screen doesn't return the navigation bar when it is hidden. Some people have said that you can place items there (below the main page) and they are shown. Others have tried to set the navigation bar to t...
by TrianguloY
Wed Jan 30, 2019 10:53 pm
Forum: Feature Suggestion
Topic: Templating within texts
Replies: 11
Views: 12735

Re: Templating within texts

Because with html tags, newlines are ignored. Use <br> instead
"<p>blabla<br>blabla</p>"
Also make sure you change the maximum number of lines as needed.
For other questions, just search about html (keep in mind not everything works)
by TrianguloY
Wed Jan 30, 2019 10:20 pm
Forum: Feature Suggestion
Topic: Templating within texts
Replies: 11
Views: 12735

Re: Templating within texts

brunoisa10 wrote:
Wed Jan 30, 2019 10:14 pm
Yes fine like that but not with a variable
AlrmFr = '<p style="color:blue">' + Jour + JourN + MoisF + Heure + '</p>';

return AlrmFr;
That works for me (when I set that code as the binding label of an item, and with those Jour/Mois/Heure variables defined).
by TrianguloY
Wed Jan 30, 2019 9:50 pm
Forum: Feature Suggestion
Topic: Templating within texts
Replies: 11
Views: 12735

Re: Templating within texts

But a binding for an item label?
'<p style="color:blue">'+$ll_second+'</p>'
by TrianguloY
Wed Jan 30, 2019 9:09 pm
Forum: Feature Suggestion
Topic: LL Lockscreen
Replies: 3
Views: 9805

Re: LL Lockscreen

The only good way to lock the status bar is with root. Apps aren't allowed to modify parts of the standard android ui.
I'm not saying it can't be done, but if there is a strange (and probably 'risky') way to do it...I don't know that.
by TrianguloY
Wed Jan 30, 2019 9:05 pm
Forum: Feature Suggestion
Topic: Templating within texts
Replies: 11
Views: 12735

Re: Templating within texts

You mean on item labels? Basic html is allowed, you can write
<p style="color:blue">toto</p>
and the label will be blue.
by TrianguloY
Wed Jan 30, 2019 5:01 pm
Forum: Appearance, styles
Topic: Things to do
Replies: 6
Views: 11592

Re: Things to do

Pierrot wrote:
Wed Jan 30, 2019 4:19 am
Fixed, thanks.
Well... :? ...it is fixed on the default 'Absolution' theme. However on 'Blackfog' (the one I use) it is still looking for 'favicon.ico', and on the other themes it is looking for 'http://example.com/image.png'.
by TrianguloY
Wed Jan 30, 2019 11:44 am
Forum: Feature Suggestion
Topic: Auto Refresh app drawer.
Replies: 3
Views: 9593

Re: Auto Refresh app drawer.

Cueball666uk wrote:
Wed Jan 30, 2019 11:41 am
Should have posted in "Feature Request"

Sorry peeps!
Topic moved :)
by TrianguloY
Wed Jan 30, 2019 11:41 am
Forum: Scripts
Topic: Open an url
Replies: 1
Views: 10740

Open an url

A script to open an url from a shortcut can be made with 3 lines of code. This script does that but also allows for multiple features regarding the creation of those shortcuts. To be precise the script allows you to: 1) If you run the script with an url as data (via lightning action->run script) tha...
by TrianguloY
Tue Jan 29, 2019 3:00 pm
Forum: Feature Suggestion
Topic: Gestures on Panel
Replies: 6
Views: 10224

Re: Gestures on Panel

I tested it too. A soon as two fingers are on the screen, the desktop handles them. Either for events or for zoom. Maybe that's the reason they were disabled, because if the panel handles them, zoom on the desktop won't work. (Note that zoom doesn't work on panels). The behaviour could be defined so...
by TrianguloY
Tue Jan 29, 2019 11:01 am
Forum: Appearance, styles
Topic: Things to do
Replies: 6
Views: 11592

Re: Things to do

I'm afraid the favicon icon is still missing:
favicon.ico -> 404
by TrianguloY
Tue Jan 29, 2019 9:28 am
Forum: Users, groups and permissions
Topic: Setup
Replies: 25
Views: 38802

Re: Setup

I updated the permissions of the 'support' subforum to 'standard access' for users. (they still had the default) This will disable the manual approval of posts. Currently the permissions should be so that all forums have standard access except subforums in 'general', which have 'read only access' wi...
by TrianguloY
Tue Jan 29, 2019 8:40 am
Forum: Bug Report
Topic: Unable to add shortcuts to desktop from 3rd party apps
Replies: 14
Views: 9170

Re: Unable to add shortcuts to desktop from 3rd party apps

After the bad news, I have good news. Lightning is not conforming to the newest API, and some apps (like Chrome) detect this and behave in old mode when creating shortcuts (which is quite strange since it can't work anyway). I patched LL to use the newest Oreo API and was able to add Chrome shortcu...
by TrianguloY
Mon Jan 28, 2019 1:01 pm
Forum: Bug Report
Topic: Unable to add shortcuts to desktop from 3rd party apps
Replies: 14
Views: 9170

Re: Unable to add shortcuts to desktop from 3rd party apps

All the information I could find is about creating the shortcuts from the apps, not about receiving them from the launcher (I'm sure the information is somewhere, but no luck yet). Based on my experience, when you use WhatsApp 'add chat to home screen' feature while Lighting is the default launcher,...
by TrianguloY
Mon Jan 28, 2019 12:43 pm
Forum: Feature Suggestion
Topic: Gestures on Panel
Replies: 6
Views: 10224

Re: Gestures on Panel

Indeed. One finger scroll on panels can be problematic. What if the parent can scroll? What if the parent can't scroll but have a different event set? Maybe with the new propagation of scrolling to parents this can be better defined. Still on folders that shouldn't be a problem (but you can use a fo...