Skip to content

Fix search auto-selecting wrong item before programs finish loading (…#5

Merged
zcomputerwiz merged 1 commit into
zcomputerwiz:masterfrom
Open-Shell:master
May 9, 2026
Merged

Fix search auto-selecting wrong item before programs finish loading (…#5
zcomputerwiz merged 1 commit into
zcomputerwiz:masterfrom
Open-Shell:master

Conversation

@zcomputerwiz
Copy link
Copy Markdown
Owner

Open-Shell#2451)

fix: defer auto-select until programs loaded to prevent wrong search result selection

When search results refresh mid-collection, OnRefresh auto-selects the first result item. If programs haven't loaded yet, Settings category appears first and gets selected. If user hits Enter in that window, wrong item launches.

Skip auto-select when search is still in progress and no programs have been found yet. Next refresh after programs load will select correctly.

Fixes Open-Shell#456
Fixes Open-Shell#1982
Fixes Open-Shell#4

🤖 Generated with Claude Code

…2451)

fix: defer auto-select until programs loaded to prevent wrong search result selection

When search results refresh mid-collection, OnRefresh auto-selects the
first result item. If programs haven't loaded yet, Settings category
appears first and gets selected. If user hits Enter in that window,
wrong item launches.

Skip auto-select when search is still in progress and no programs
have been found yet. Next refresh after programs load will select
correctly.

Fixes #456
Fixes #1982
Fixes #4

> 🤖 Generated with [Claude Code](https://claude.ai/code)

Co-authored-by: Claude <noreply@anthropic.com>
@zcomputerwiz zcomputerwiz merged commit 9e84f03 into zcomputerwiz:master May 9, 2026
2 of 3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

2 participants