AppStore: prioritize visible icons and simplify lazy icon queue - #206
Merged
Merged
Conversation
ThomasFarstrike
commented
Jul 20, 2026
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)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.