Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Custom file search / textlist doesn't work on large lists #32

Open
carderne opened this issue Jun 30, 2022 · 1 comment
Open

Custom file search / textlist doesn't work on large lists #32

carderne opened this issue Jun 30, 2022 · 1 comment

Comments

@carderne
Copy link

Expected behaviour

I used to use rofi with a keyboard shortcut that launched this:

xdg-open "$(fdfind . $HOME | rofi -dmenu -i -p find)"

This finds everything (interesting) in my home directory, passes it to rofi, I do some typing to filter, and then xdg-open launches whatever I settle on.

Attempt

I tried running:

fdfind $HOME | ilia -p textlist

but it takes several seconds to launch and is then too slow to use.

Workaround

I would try ilia's default file search but it's not working #23

@kgilmer
Copy link
Member

kgilmer commented Jul 8, 2022

I've done some testing and also found the UI to be sluggish with around 200K items. I wasn't able to find a solution that resulted in a definitively better experience. This is the function that's performing the filtration:

https://github.com/regolith-linux/ilia/blob/main/src/textlist/TextListPage.vala#L140

Not sure about the best approach to optimize for large lists at this time.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants