[PR #517] [MERGED] Correct Classic world-list search hints and text placement #2616

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

📋 Pull Request Information

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

Base: main ← Head: fix/world-list-text-details


📝 Commits (1)

  • 5bc981e Match world-list search hints and detail placement

📊 Changes

2 files changed (+35 additions, -5 deletions)

View changed files

📝 crates/horizon-client/src/title.rs (+7 -5)
📝 crates/horizon-client/src/title/tests.rs (+28 -0)

📄 Description

The Classic world-list search hint currently overlaps the cursor while focused and uses plain, darker text. Show it only when empty and unfocused, using gray italics. Move the world mode/commands/version line from offset 22 to 21.

Fixes #499.

Reference: pinned 26.3 SelectWorldScreen uses EditBox.SEARCH_HINT_STYLE (GRAY and ITALIC); EditBox hides hints while focused; WorldListEntry places the info line at contentY + 9 + 9 + 3. Inspection was limited to these methods.

Validation: all 26 world-menu tests pass, including a draw regression for hint color, focus, and nonempty text. Formatting, diff checks, and client Clippy with all targets pass. The test atlas has fallback glyphs, so italic font shape and final pixel placement still need the visual check below.

Draft for manual testing: in Classic Singleplayer with an existing world, check gray italic Search while unfocused, no hint behind the focused cursor, and no hint after typing then leaving the field. Compare the mode/commands/version baseline with vanilla at the same GUI scale. No client window or native pixel comparison was run.

Kira's write rate limit prevented claiming the issue; it had no owner or linked PR when work started.


🔄 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/517 **Author:** [@Online5277](https://github.com/Online5277) **Created:** 10/16/2026 **Status:** ✅ Merged **Merged:** 10/16/2026 **Merged by:** [@ludovic111](https://github.com/ludovic111) **Base:** `main` ← **Head:** `fix/world-list-text-details` --- ### 📝 Commits (1) - [`5bc981e`](https://github.com/horizon-rust/horizon/commit/5bc981e577d1b088cc5c5c13b7003e09ebff24d0) Match world-list search hints and detail placement ### 📊 Changes **2 files changed** (+35 additions, -5 deletions) <details> <summary>View changed files</summary> 📝 `crates/horizon-client/src/title.rs` (+7 -5) 📝 `crates/horizon-client/src/title/tests.rs` (+28 -0) </details> ### 📄 Description The Classic world-list search hint currently overlaps the cursor while focused and uses plain, darker text. Show it only when empty and unfocused, using gray italics. Move the world mode/commands/version line from offset 22 to 21. Fixes #499. Reference: pinned 26.3 SelectWorldScreen uses EditBox.SEARCH_HINT_STYLE (GRAY and ITALIC); EditBox hides hints while focused; WorldListEntry places the info line at contentY + 9 + 9 + 3. Inspection was limited to these methods. Validation: all 26 world-menu tests pass, including a draw regression for hint color, focus, and nonempty text. Formatting, diff checks, and client Clippy with all targets pass. The test atlas has fallback glyphs, so italic font shape and final pixel placement still need the visual check below. Draft for manual testing: in Classic Singleplayer with an existing world, check gray italic Search while unfocused, no hint behind the focused cursor, and no hint after typing then leaving the field. Compare the mode/commands/version baseline with vanilla at the same GUI scale. No client window or native pixel comparison was run. Kira's write rate limit prevented claiming the issue; it had no owner or linked PR when work started. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-11-02 15:57:40 +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#2616
No description provided.