[PR #7051] [MERGED] Clear stale client2-018 rows main already implements #7297

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

📋 Pull Request Information

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

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


📝 Commits (1)

  • 02c2eb7 port_map: clear stale client2-018 rows main already implements

📊 Changes

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

View changed files

📝 tools/port_map/client2-018.tsv (+3 -3)

📄 Description

Three missing rows in tools/port_map/client2-018.tsv named no port for code the tree has; they now cite it. One stays as it is.

  • GhostSlots.extractTooltip -> port crates/horizon-client/src/game/recipe_book.rs::Game::draw_ghost: the ghost stack in a menu slot shows its tooltip at the slot, drawn after the ghosts themselves (GhostSlots.extractRenderState).
  • RecipeBookComponent.mouseDragged -> port crates/horizon-client/src/game/recipe_book.rs::Game::recipe_book_drag: a drag that started in the search box moves the selection end to the pointer (EditBox::drag_to), and letting go ends it.
  • RecipeBookComponent.preeditUpdated -> port crates/horizon-client/src/game/ime.rs::Game::ime_preedit: the composition is drawn under the caret and committed into the focused box by Game::ime_commit, and the recipe search is one of the fields Game::text_field_focused allows the input method for. The composition sits in the overlay rather than in the box's own text, which is the only difference from the read: javap -c shows the vanilla method just forwarding the PreeditEvent to searchBox.preeditUpdated.

Still missing: RecipeBookComponent.pirateSpeechForThePeople (nothing switches the language to pirate English from the book).

map-check: 65 rows, no problems.

Proven: PORT_LEDGER_OUT=/tmp/pledger-018 python3 tools/port_ledger.py build --jar /tmp/client-26.3.jar --jar /tmp/vanilla-sb/META-INF/versions/26.3/server-26.3.jar && PORT_LEDGER_OUT=/tmp/pledger-018 python3 tools/port_ledger.py map-check tools/port_map/client2-018.tsv -> 65 rows, no problems.
Not proven: no in-game check: the ghost tooltip, the search drag and the IME composition in the recipe book were read in the code, never tried in a running client.


🔄 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/7051 **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-018` --- ### 📝 Commits (1) - [`02c2eb7`](https://github.com/horizon-rust/horizon/commit/02c2eb7e580a3db2cdc15f403b10ab465438f1cc) port_map: clear stale client2-018 rows main already implements ### 📊 Changes **1 file changed** (+3 additions, -3 deletions) <details> <summary>View changed files</summary> 📝 `tools/port_map/client2-018.tsv` (+3 -3) </details> ### 📄 Description Three `missing` rows in `tools/port_map/client2-018.tsv` named no port for code the tree has; they now cite it. One stays as it is. - `GhostSlots.extractTooltip` -> `port` `crates/horizon-client/src/game/recipe_book.rs::Game::draw_ghost`: the ghost stack in a menu slot shows its tooltip at the slot, drawn after the ghosts themselves (`GhostSlots.extractRenderState`). - `RecipeBookComponent.mouseDragged` -> `port` `crates/horizon-client/src/game/recipe_book.rs::Game::recipe_book_drag`: a drag that started in the search box moves the selection end to the pointer (`EditBox::drag_to`), and letting go ends it. - `RecipeBookComponent.preeditUpdated` -> `port` `crates/horizon-client/src/game/ime.rs::Game::ime_preedit`: the composition is drawn under the caret and committed into the focused box by `Game::ime_commit`, and the recipe search is one of the fields `Game::text_field_focused` allows the input method for. The composition sits in the overlay rather than in the box's own text, which is the only difference from the read: `javap -c` shows the vanilla method just forwarding the `PreeditEvent` to `searchBox.preeditUpdated`. Still `missing`: `RecipeBookComponent.pirateSpeechForThePeople` (nothing switches the language to pirate English from the book). map-check: `65 rows, no problems.` **Proven:** `PORT_LEDGER_OUT=/tmp/pledger-018 python3 tools/port_ledger.py build --jar /tmp/client-26.3.jar --jar /tmp/vanilla-sb/META-INF/versions/26.3/server-26.3.jar && PORT_LEDGER_OUT=/tmp/pledger-018 python3 tools/port_ledger.py map-check tools/port_map/client2-018.tsv` -> `65 rows, no problems.` **Not proven:** no in-game check: the ghost tooltip, the search drag and the IME composition in the recipe book were read in the code, never tried in a running client. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-11-03 06:37: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#7297
No description provided.