Skip to content

AppStore: prioritize visible icons and simplify lazy icon queue - #206

Merged
ThomasFarstrike merged 9 commits into
mainfrom
appstore-prioritize-visible-icons
Jul 20, 2026
Merged

ThomasFarstrike merged 9 commits into
mainfrom
appstore-prioritize-visible-icons

Conversation

@ThomasFarstrike

Copy link
Copy Markdown
Contributor
  • Removed dual-queue system (_blurhash_queue, _blurhash_timer) — merged into single _process_icon_queue
  • Icons now use best available data immediately: icon_data → blurhash → SHA1 placeholder
  • Simplified _set_icon_widget in both appstore.py and app_detail.py — single exit point instead of multiple returns

- Removed dual-queue system (_blurhash_queue, _blurhash_timer) — merged into single _process_icon_queue
- Icons now use best available data immediately: icon_data → blurhash → SHA1 placeholder
- Simplified _set_icon_widget in both appstore.py and app_detail.py — single exit point instead of multiple returns
- Restored two-phase icon rendering: SHA1 placeholder first (fast, 11ms),
  then lazy blurhash upgrade (76ms) — fixes white-icon gap
- Single timer with state machine (_icon_state: raw/blurhash) and
  dynamic period switching (77ms/532ms) via timer.set_period()
- _find_visible_app_index: scans queue for first app whose list
  position overlaps the visible scrollport, processes that one first
- New apps arriving during blurhash phase switch back to raw phase
  with fast interval (handled in _insert_app_list_item)
@ThomasFarstrike
ThomasFarstrike merged commit 4b106d6 into main Jul 20, 2026
7 checks passed
@ThomasFarstrike
ThomasFarstrike deleted the appstore-prioritize-visible-icons branch July 20, 2026 07:06
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

Successfully merging this pull request may close these issues.

1 participant