Skip to content

Very slow/laggy search after long use #431

Open

Description

@GmacSpm

Checklist

  • I can reproduce the bug with the latest version given here.
  • I made sure that there are no existing issues - open or closed - to which I could contribute my information.
  • I made sure that there are no existing discussions - open or closed - to which I could contribute my information.
  • I have read the FAQs inside the app (Menu -> About -> FAQs) and my problem isn't listed.
  • I have taken the time to fill in all the required details. I understand that the bug report will be dismissed otherwise.
  • This issue contains only one bug.
  • I have read and understood the contribution guidelines.

Affected app version

1.10.0

Affected Android/Custom ROM version

Android 11, MIUI 12.5.7

Affected device model

Xiaomi 21091116UG

How did you install the app?

GitHub releases

Steps to reproduce the bug

  1. Set the app as the default home screen.
  2. Use the app's search feature.
  3. After using the search feature for some time, the app becomes slow and unresponsive during subsequent searches.

Expected behavior

Search should not become slow and unresponsive.

Actual behavior

bug-slow-search-typing.mp4

Screenshots/Screen recordings

No response

Additional information

No response

Activity

  1. added
    bug
    needs triage
    on Aug 26, 2026
  2. Maxmystere commented on Oct 9, 2026

    @Maxmystere
    Contributor

    Not fully reviewed yet but I tested a fix and it seems to work as wanted
    main...Maxmystere:FossifyLauncher:copilot/investigate-search-lag-issue

  3. alexslk commented on Oct 12, 2026

    @alexslk

    On top of @Maxmystere fix — theres also a smaller thing: the app search renormalizes every app title on every filter iteration. Caching the normalized title avoids that.

    main...alexslk:Launcher:perf/search-normalize-cache

  4. fb64 commented on Oct 25, 2026

    @fb64
    Contributor

    I had the same problem on my phone: the launcher became very slow and I had to kill and restart it to fix it. I found a listener leak and a few performance issues, and pushed two branches on my fork:

    1. fix/listener-leak-on-resume: setupViews() runs on every onResume, so the scroll listener and the search TextWatcher were added again each time. They piled up and made search and scrolling slower the longer the launcher ran. They're now registered only once.
    2. perf/reload-launchers-on-change: less work when returning to the home screen and opening the drawer:
      • reload the app list only when installed apps actually change (LauncherApps callbacks), not on every onResume
      • make building the list cheaper (placeholder color computed from a downscaled icon, hash sets for lookups)
      • show the drawer icons directly instead of loading them through Glide

    Both have been running well on my phone, and I hope they help. I can open a new PR if needed.
    Thanks again for maintaining the project 🙏 !

  5. fb64 commented on Nov 10, 2026

    @fb64
    Contributor

    Any news on this one? I think these fixes could really improve the app’s overall efficiency...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugneeds triage

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions