[PR #522] [MERGED] Show translated hover tooltips in Classic options #2622

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

📋 Pull Request Information

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

Base: main ← Head: fix/classic-option-tooltips


📝 Commits (1)

  • 4c3b2b7 Draw translated hover tooltips for Classic options

📊 Changes

1 file changed (+112 additions, -0 deletions)

View changed files

📝 crates/horizon-client/src/options_ui.rs (+112 -0)

📄 Description

Classic option buttons and sliders currently ignore their tooltip descriptions, so hovering settings such as Reduce fps when: AFK shows no help. Resolve the translated tooltip for hovered options, wrap it to 170 GUI pixels, and draw it through the existing deferred screen-tooltip path after list clipping.

Use value-dependent descriptions for the AFK/minimized frame limit and all three chunk-update priorities. Other controls use their caption's .tooltip translation when present. Main Options' Language and Accessibility buttons also show their translated hints; key-conflict tooltips retain their existing handling.

Fixes #498.

Validation:

  • All 17 regular Options UI tests pass, including value-dependent tooltip-key selection.
  • The data-backed hover regression passes with prepared 26.3 language data: both AFK and minimized controls emit the expected wrapped tooltip geometry at the end of the actual Options UI draw.
  • Formatting, diff checks and client Clippy with all targets pass.

Draft for visual testing: in Classic Video Settings hover Reduce fps when: AFK, switch to Minimized and compare the text, then check Chunk Builder descriptions and a static description such as Menu Background Blur. Check wrapping near screen edges, other Classic Options pages, and key-conflict hints. No game window or native pixel comparison was run.

Kira's write rate limit prevented claiming the issue; GitHub showed no owner or covering 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/522 **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/classic-option-tooltips` --- ### 📝 Commits (1) - [`4c3b2b7`](https://github.com/horizon-rust/horizon/commit/4c3b2b789f687a3613cdff015f659c39798f04f6) Draw translated hover tooltips for Classic options ### 📊 Changes **1 file changed** (+112 additions, -0 deletions) <details> <summary>View changed files</summary> 📝 `crates/horizon-client/src/options_ui.rs` (+112 -0) </details> ### 📄 Description Classic option buttons and sliders currently ignore their tooltip descriptions, so hovering settings such as Reduce fps when: AFK shows no help. Resolve the translated tooltip for hovered options, wrap it to 170 GUI pixels, and draw it through the existing deferred screen-tooltip path after list clipping. Use value-dependent descriptions for the AFK/minimized frame limit and all three chunk-update priorities. Other controls use their caption's `.tooltip` translation when present. Main Options' Language and Accessibility buttons also show their translated hints; key-conflict tooltips retain their existing handling. Fixes #498. Validation: - All 17 regular Options UI tests pass, including value-dependent tooltip-key selection. - The data-backed hover regression passes with prepared 26.3 language data: both AFK and minimized controls emit the expected wrapped tooltip geometry at the end of the actual Options UI draw. - Formatting, diff checks and client Clippy with all targets pass. Draft for visual testing: in Classic Video Settings hover Reduce fps when: AFK, switch to Minimized and compare the text, then check Chunk Builder descriptions and a static description such as Menu Background Blur. Check wrapping near screen edges, other Classic Options pages, and key-conflict hints. No game window or native pixel comparison was run. Kira's write rate limit prevented claiming the issue; GitHub showed no owner or covering 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:43 +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#2622
No description provided.