[PR #403] [MERGED] Show ping tooltips over multiplayer network bars #2536

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

📋 Pull Request Information

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

Base: main ← Head: fix/server-ping-tooltip


📝 Commits (1)

  • d675918 Show server latency when hovering network bars

📊 Changes

2 files changed (+119 additions, -0 deletions)

View changed files

📝 crates/horizon-client/src/multiplayer.rs (+116 -0)
📝 crates/horizon-client/src/title.rs (+3 -0)

📄 Description

Hovering the network bars in the Classic multiplayer server list now shows the latest latency using the localized multiplayer.status.ping text. Pending and failed pings show their localized status instead.

The hit area follows the existing 10×8 bar sprite and the list's clamped scroll position. Header/footer clipping and LAN rows cannot trigger a saved-server tooltip. The existing tooltip renderer runs after the list and footer, so the tooltip is not clipped or covered.

Fixes #379.

Validation:

  • Multiplayer tests cover latency and changing ping state, icon hit-area boundaries, scrolling to a different server, a partially clipped row, header/footer exclusion and the LAN header.
  • Existing title-screen tests and client all-target Clippy with warnings denied.
  • Formatting, diff and public-tree checks; independent focused review of coordinates, scrolling and layering.

No game window or live-server check was run. Manual check: open Classic Multiplayer, hover a saved server's network bars after its ping completes, then scroll and hover another server. The tooltip should show that server's milliseconds and disappear when leaving the bars. Check an unreachable entry and a partially clipped row too.


🔄 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/403 **Author:** [@Online5277](https://github.com/Online5277) **Created:** 10/15/2026 **Status:** ✅ Merged **Merged:** 10/15/2026 **Merged by:** [@ludovic111](https://github.com/ludovic111) **Base:** `main` ← **Head:** `fix/server-ping-tooltip` --- ### 📝 Commits (1) - [`d675918`](https://github.com/horizon-rust/horizon/commit/d675918db9d9c3f49f10d76ba665209e54502c90) Show server latency when hovering network bars ### 📊 Changes **2 files changed** (+119 additions, -0 deletions) <details> <summary>View changed files</summary> 📝 `crates/horizon-client/src/multiplayer.rs` (+116 -0) 📝 `crates/horizon-client/src/title.rs` (+3 -0) </details> ### 📄 Description Hovering the network bars in the Classic multiplayer server list now shows the latest latency using the localized `multiplayer.status.ping` text. Pending and failed pings show their localized status instead. The hit area follows the existing 10×8 bar sprite and the list's clamped scroll position. Header/footer clipping and LAN rows cannot trigger a saved-server tooltip. The existing tooltip renderer runs after the list and footer, so the tooltip is not clipped or covered. Fixes #379. Validation: - Multiplayer tests cover latency and changing ping state, icon hit-area boundaries, scrolling to a different server, a partially clipped row, header/footer exclusion and the LAN header. - Existing title-screen tests and client all-target Clippy with warnings denied. - Formatting, diff and public-tree checks; independent focused review of coordinates, scrolling and layering. No game window or live-server check was run. Manual check: open Classic Multiplayer, hover a saved server's network bars after its ping completes, then scroll and hover another server. The tooltip should show that server's milliseconds and disappear when leaving the bars. Check an unreachable entry and a partially clipped row too. --- <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:01 +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#2536
No description provided.