[PR #650] [MERGED] Keep the language search hint clear of the caret #2697

Closed
opened 2026-11-02 15:58:21 +07:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/horizon-rust/horizon/pull/650
Author: @Online5277
Created: 10/17/2026
Status: ✅ Merged
Merged: 10/17/2026
Merged by: @ludovic111

Base: main ← Head: fix/language-search-hint


📝 Commits (1)

  • 8f4eda4 Hide the language search hint while the field has focus

📊 Changes

1 file changed (+30 additions, -1 deletions)

View changed files

📝 crates/horizon-client/src/options_ui.rs (+30 -1)

📄 Description

The language search field drew its empty-field hint over the focused caret. Show the hint only while the field is empty and unfocused, matching the pinned EditBox behavior.

Validation: a draw-batch regression checks the hint while empty/unfocused, empty/focused, populated and cleared; client all-target Clippy passes. Manual check: open Language, focus the search field, type and clear a query, then move focus away from the empty field. Kept as a draft for in-game verification.

Fixes #645.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/horizon-rust/horizon/pull/650 **Author:** [@Online5277](https://github.com/Online5277) **Created:** 10/17/2026 **Status:** ✅ Merged **Merged:** 10/17/2026 **Merged by:** [@ludovic111](https://github.com/ludovic111) **Base:** `main` ← **Head:** `fix/language-search-hint` --- ### 📝 Commits (1) - [`8f4eda4`](https://github.com/horizon-rust/horizon/commit/8f4eda4d12a49230040f5b1e60188a95b013069a) Hide the language search hint while the field has focus ### 📊 Changes **1 file changed** (+30 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `crates/horizon-client/src/options_ui.rs` (+30 -1) </details> ### 📄 Description The language search field drew its empty-field hint over the focused caret. Show the hint only while the field is empty and unfocused, matching the pinned EditBox behavior. Validation: a draw-batch regression checks the hint while empty/unfocused, empty/focused, populated and cleared; client all-target Clippy passes. Manual check: open Language, focus the search field, type and clear a query, then move focus away from the empty field. Kept as a draft for in-game verification. Fixes #645. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-11-02 15:58:21 +07:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
horizon-rust/horizon#2697
No description provided.