Unified selection for apps AND widgets

Something is missing? Have an idea? Ask for new stuff here.
Post Reply
dew
Posts: 35
Joined: Wed Apr 03, 2019 7:09 pm

Unified selection for apps AND widgets

Post by dew » Sun Apr 07, 2019 7:38 pm

Currently when adding a widget the displayed list is loaded every time I tap [+] to add a widget.
There is no search box and the loading time is enormous for my 700+ apps / widgets.

The app selection on the other hand caches apps nicely, allows me to search and zoom, offers custom rearranging of favorites etc. and has everything I like the widget selection dialog to have, too.

Could you eventually combine the two selections to use the same kind of dialog so that selecting widgets has the same convenience as selecting an app? So that searching, zooming, caching, ... for widgets becomes possible and speedy.

Thanks :D

User avatar
TrianguloY
Posts: 107
Joined: Thu Jan 24, 2019 9:46 am

Re: Unified selection for apps AND widgets

Post by TrianguloY » Sun Apr 07, 2019 10:05 pm

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! ). Perhaps the widget list can be cached too...Pierre?

User avatar
Pierrot
Site Admin
Posts: 181
Joined: Wed Jan 23, 2019 12:18 pm
Location: French Alps

Re: Unified selection for apps AND widgets

Post by Pierrot » Mon Apr 08, 2019 6:01 am

It can be kept in memory but there's no way to know something changed. Keeping the list up to date is an issue because keeping track of modified is currently another issue.

User avatar
TrianguloY
Posts: 107
Joined: Thu Jan 24, 2019 9:46 am

Re: Unified selection for apps AND widgets

Post by TrianguloY » Mon Apr 08, 2019 6:49 am

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 but the ability to add multiple widgets at once is something that could be useful too...maybe.

dew
Posts: 35
Joined: Wed Apr 03, 2019 7:09 pm

Re: Unified selection for apps AND widgets

Post by dew » Mon Apr 08, 2019 10:35 am

Pierrot wrote:
Mon Apr 08, 2019 6:01 am
It can be kept in memory but there's no way to know something changed. Keeping the list up to date is an issue because keeping track of modified is currently another issue.
Maybe it should only be cached for as long as LL is the foreground app. When it looses and regains focus then you could flag the cache dirty and it needs to be reloaded when required. This would speed up adding multiple widgets one after the other using that cache.

Also a search function in the list of widgets would be nice because its annoying to scroll through it while I know the name of the app which widget I need. I believe using the same appraoch as for apps would be the best idea here UI-wise.

Post Reply