Skip to content

Fix library freeze if first item's title starts with a character not in the alphabet string#1740

Merged
damontecres merged 1 commit into
mainfrom
fix/1361
Jul 23, 2026
Merged

Fix library freeze if first item's title starts with a character not in the alphabet string#1740
damontecres merged 1 commit into
mainfrom
fix/1361

Conversation

@damontecres

Copy link
Copy Markdown
Owner

Description

A library's grid page tries to highlight the first letter of the focused item. But if the first letter was a not in the alphabet string (which varies by language), a exception was thrown on the main thread causing a freeze.

This PR ensures only a non-negative index is highlighted on the letter buttons.

Related issues

Fixes #1361
Need to create an issue to improve alphabet letter button handling for non-English alphabets

Testing

Emulator, I manually passed a non-[0-9A-Z] character to replicate the freeze

Screenshots

N/A

AI or LLM usage

None

@damontecres damontecres added the bug Something isn't working label Jul 23, 2026
@damontecres damontecres mentioned this pull request Jul 23, 2026
@damontecres
damontecres merged commit d2bf5cd into main Jul 23, 2026
2 checks passed
@damontecres
damontecres deleted the fix/1361 branch July 23, 2026 19:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Library freezing

1 participant