[PR #6983] [MERGED] Clear stale client2-020.tsv rows main already implements #7250

Closed
opened 2026-11-03 06:36:25 +07:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/horizon-rust/horizon/pull/6983
Author: @MSedgeMC
Created: 11/2/2026
Status: ✅ Merged
Merged: 11/2/2026
Merged by: @ludovic111

Base: main ← Head: chore/ledger-client2-020


📝 Commits (1)

  • 7c92630 port_map: clear stale client2-020 rows

📊 Changes

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

View changed files

📝 tools/port_map/client2-020.tsv (+2 -2)

📄 Description

Rows in tools/port_map/client2-020.tsv whose verdict was missing but whose behaviour main already has.

row verdict citation
WorldSelectionList.WorldListEntry.keyPressed port crates/horizon-client/src/title.rs::Title::join_selected
WorldSelectionList.WorldListEntry.canInteract port crates/horizon-client/src/title.rs::WorldEntry::can_play
  • keyPressed: the selection key joins the selected world as a click does. game/startup_menu.rs sends Enter to Title::confirm_key_size, and Space when the list has focus, which reaches join_selected.
  • canInteract: can_play is LevelSummary.primaryActionActive (corrupted || !disabled(), with disabled = locked || !compatible), so a locked or incompatible world does not join from a click or a key, and its row draws the error icon instead of the join arrow.

Validation, both jars so the client classes are indexed:

python3 tools/port_ledger.py build --jar /data/home/horizon/.local/minecraft/26.3/jars/client.jar --jar /data/home/horizon/.local/minecraft/26.3/jars/server.jar >/dev/null && python3 tools/port_ledger.py map-check tools/port_map/client2-020.tsv
32 rows, no problems.

Proven: both rows exist on main with the cited functions, read in the tree; javap -p -c -constants on WorldSelectionList$WorldListEntry shows canInteract is LevelSummary.primaryActionActive() and keyPressed is the selection key plus canInteract calling onEntryInteract.

Not proven: nothing outstanding for these two rows; the file's other rows are unchanged.


🔄 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/6983 **Author:** [@MSedgeMC](https://github.com/MSedgeMC) **Created:** 11/2/2026 **Status:** ✅ Merged **Merged:** 11/2/2026 **Merged by:** [@ludovic111](https://github.com/ludovic111) **Base:** `main` ← **Head:** `chore/ledger-client2-020` --- ### 📝 Commits (1) - [`7c92630`](https://github.com/horizon-rust/horizon/commit/7c926302eb48d1e6ad4aa90b5f38e8736c1734b0) port_map: clear stale client2-020 rows ### 📊 Changes **1 file changed** (+2 additions, -2 deletions) <details> <summary>View changed files</summary> 📝 `tools/port_map/client2-020.tsv` (+2 -2) </details> ### 📄 Description Rows in `tools/port_map/client2-020.tsv` whose verdict was `missing` but whose behaviour `main` already has. | row | verdict | citation | | --- | --- | --- | | `WorldSelectionList.WorldListEntry.keyPressed` | `port` | `crates/horizon-client/src/title.rs::Title::join_selected` | | `WorldSelectionList.WorldListEntry.canInteract` | `port` | `crates/horizon-client/src/title.rs::WorldEntry::can_play` | - `keyPressed`: the selection key joins the selected world as a click does. `game/startup_menu.rs` sends Enter to `Title::confirm_key_size`, and Space when the list has focus, which reaches `join_selected`. - `canInteract`: `can_play` is `LevelSummary.primaryActionActive` (`corrupted || !disabled()`, with `disabled` = `locked || !compatible`), so a locked or incompatible world does not join from a click or a key, and its row draws the `error` icon instead of the join arrow. Validation, both jars so the client classes are indexed: ``` python3 tools/port_ledger.py build --jar /data/home/horizon/.local/minecraft/26.3/jars/client.jar --jar /data/home/horizon/.local/minecraft/26.3/jars/server.jar >/dev/null && python3 tools/port_ledger.py map-check tools/port_map/client2-020.tsv 32 rows, no problems. ``` **Proven:** both rows exist on `main` with the cited functions, read in the tree; `javap -p -c -constants` on `WorldSelectionList$WorldListEntry` shows `canInteract` is `LevelSummary.primaryActionActive()` and `keyPressed` is the selection key plus `canInteract` calling `onEntryInteract`. **Not proven:** nothing outstanding for these two rows; the file's other rows are unchanged. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-11-03 06:36:25 +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#7250
No description provided.