[PR #7004] [MERGED] Clear stale client2-017.tsv rows main already implements #7264

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

📋 Pull Request Information

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

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


📝 Commits (1)

  • 802d8ff Port map: clear client2-017 rows the tree already implements

📊 Changes

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

View changed files

📝 tools/port_map/client2-017.tsv (+26 -26)

📄 Description

tools/port_map/client2-017.tsv: rows that still claimed a behaviour was missing, or a gap that has since closed.

Rows that became port/inline/home

row port
MenuTooltipPositioner.positionTooltip crates/horizon-client-render/src/ui.rs::menu_tooltip_position — a focused widget's tooltip stays against the widget (ui::tooltip_menu)
MenuTooltipPositioner.getOffset (inline) crates/horizon-client-render/src/ui.rs::widget_offset — the 3-to-5 px gap from the widget's near edge (MAX_OVERLAP_WITH_WIDGET/MAX_DISTANCE_TO_WIDGET)
CodeOfConductScreen (home) crates/horizon-client/src/game/code_of_conduct.rs — scroll area, not-again box, Acknowledge and Disconnect
SafetyScreen.addFooterButtons crates/horizon-client/src/title.rs::Title::buttons — Proceed and Back, 8 px apart, under the warning's box
ServerReconfigScreen (home) crates/horizon-client/src/game/remote.rs — the reconfiguring title over Disconnect, awake after DISCONNECT_TIME 600 ticks
WarningScreen (home) crates/horizon-client/src/game/code_of_conduct.rs::Prompt::layout — title, boxed text, checkbox, footer
LanguageSelectScreen.LanguageSelectionList.Entry.keyPressed crates/horizon-client-render/src/options_ui.rs::OptionsUi::key — Enter/Space on a focused language row selects it
VideoSettingsScreen.addTitle crates/horizon-client-render/src/options_ui.rs::OptionsUi::layout — options.restartRequired while the graphics API differs
VideoSettingsScreen.tick crates/horizon-client-render/src/options_ui.rs::option_widget — Max Anisotropy greyed unless Texture Filtering is Anisotropic
VideoSettingsScreen.repositionElements crates/horizon-client-input/src/window.rs::VideoModeList::refresh — the current monitor's modes listed again for another monitor
PackSelectionScreen.copyPacks crates/horizon-client/src/title.rs::Title::drop_file — a dropped pack copied into the create-world pack folder
TransferableSelectionList.PackEntry.getNarration crates/horizon-client-render/src/pack_screen.rs::PackScreen::draw_list — the hovered/selected pack narrates as narrator.select

Rows whose recorded gap has closed

  • extractBundleWithItemsTooltip — the selected item's name box is Game::draw_bundle_selected_name.
  • ClientTooltipComponent.create — bundles, text lines and native mod image components; no ActivePlayersTooltip.
  • ServerSelectionList.updateNetworkServers — a LAN world found since the last call narrates (Screen::lan_found_narrations).
  • NetworkServerEntry.extractContent, OnlineServerEntry.extractContent, OnlineServerEntry.refreshStatus — a server on another protocol shows its version in red and the player count carries the player-list tooltip (player_list_tooltip).
  • ChatOptionsScreen.options — only Chat Delay still sits on the Accessibility page; Narrator is on the Chat page.
  • OptionsScreen.init — the Online button opens Page::Online, Skin Customisation Page::Skin.
  • SoundOptionsScreen.addOptions — sound device, directional audio and music toast rows exist (the last two greyed).
  • VideoSettingsScreen.qualityOptions, displayOptions, addOptions, removed — Texture Filtering, Max Anisotropy, Exclusive Fullscreen and Preferred Graphics Backend rows are there and applied.
  • ControlsScreen.options — Toggle Attack, Toggle Use, Sprint Window, Quit Shortcuts, Operator Items; Control-click on macOS.
  • PackSelectionModel.findNewPacks — the data pack folder is listed again once a second while the screen is open.

python3 tools/port_ledger.py build --jar <game>/jars/client.jar && python3 tools/port_ledger.py map-check tools/port_map/client2-017.tsv → 139 rows, no problems. The index has to come from client.jar: the 26.3 server.jar is the bundler and carries no client classes, so an index built from it resolves none of this file's rows.

Proven: every citation names a function that exists and is reached from the game. map-check resolves all 139 rows; each port was read in the tree and the vanilla method it answers checked in the jar with javap -p -c -constants -cp /tmp/cj — MenuTooltipPositioner (MARGIN 5, MOUSE_OFFSET_X 12, overlap 3 / distance 5), ServerReconfigScreen.DISCONNECT_TIME 600, WarningScreen (MESSAGE_PADDING 100, checkbox, abstract addFooterButtons), CodeOfConductScreen.addFooterButtons (Acknowledge, Disconnect), LanguageSelectScreen$LanguageSelectionList$Entry.keyPressed, VideoSettingsScreen.addTitle/tick/repositionElements, ClientBundleTooltip.extractSelectedItemTooltip.

Not proven: none of this was exercised in a running game. Rows left missing are still missing as far as the tree shows: AccessibilityOptionsScreen.init/addFooter/isMinecartOptionEnabled, UnsupportedGraphicsWarningScreen and the Improved Transparency warning, VideoSettingsScreen.mouseClicked, PackSelectionModel.EntryBase.updateHighContrastOptionInstance, the pack folder Watcher/closeWatcher, pack keyboard navigation (TransferableSelectionList.*), the server list keyboard paths (ServerSelectionList.*.keyPressed, JoinMultiplayerScreen.keyPressed), CraftingRecipeBookComponent.isCraftingSlot.


🔄 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/7004 **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-017` --- ### 📝 Commits (1) - [`802d8ff`](https://github.com/horizon-rust/horizon/commit/802d8ff74381347ce1a3a08913687d42272d969e) Port map: clear client2-017 rows the tree already implements ### 📊 Changes **1 file changed** (+26 additions, -26 deletions) <details> <summary>View changed files</summary> 📝 `tools/port_map/client2-017.tsv` (+26 -26) </details> ### 📄 Description `tools/port_map/client2-017.tsv`: rows that still claimed a behaviour was missing, or a gap that has since closed. ### Rows that became `port`/`inline`/`home` | row | port | | --- | --- | | `MenuTooltipPositioner.positionTooltip` | `crates/horizon-client-render/src/ui.rs::menu_tooltip_position` — a focused widget's tooltip stays against the widget (`ui::tooltip_menu`) | | `MenuTooltipPositioner.getOffset` (inline) | `crates/horizon-client-render/src/ui.rs::widget_offset` — the 3-to-5 px gap from the widget's near edge (`MAX_OVERLAP_WITH_WIDGET`/`MAX_DISTANCE_TO_WIDGET`) | | `CodeOfConductScreen` (home) | `crates/horizon-client/src/game/code_of_conduct.rs` — scroll area, not-again box, Acknowledge and Disconnect | | `SafetyScreen.addFooterButtons` | `crates/horizon-client/src/title.rs::Title::buttons` — Proceed and Back, 8 px apart, under the warning's box | | `ServerReconfigScreen` (home) | `crates/horizon-client/src/game/remote.rs` — the reconfiguring title over Disconnect, awake after `DISCONNECT_TIME` 600 ticks | | `WarningScreen` (home) | `crates/horizon-client/src/game/code_of_conduct.rs::Prompt::layout` — title, boxed text, checkbox, footer | | `LanguageSelectScreen.LanguageSelectionList.Entry.keyPressed` | `crates/horizon-client-render/src/options_ui.rs::OptionsUi::key` — Enter/Space on a focused language row selects it | | `VideoSettingsScreen.addTitle` | `crates/horizon-client-render/src/options_ui.rs::OptionsUi::layout` — `options.restartRequired` while the graphics API differs | | `VideoSettingsScreen.tick` | `crates/horizon-client-render/src/options_ui.rs::option_widget` — Max Anisotropy greyed unless Texture Filtering is Anisotropic | | `VideoSettingsScreen.repositionElements` | `crates/horizon-client-input/src/window.rs::VideoModeList::refresh` — the current monitor's modes listed again for another monitor | | `PackSelectionScreen.copyPacks` | `crates/horizon-client/src/title.rs::Title::drop_file` — a dropped pack copied into the create-world pack folder | | `TransferableSelectionList.PackEntry.getNarration` | `crates/horizon-client-render/src/pack_screen.rs::PackScreen::draw_list` — the hovered/selected pack narrates as `narrator.select` | ### Rows whose recorded gap has closed - `extractBundleWithItemsTooltip` — the selected item's name box is `Game::draw_bundle_selected_name`. - `ClientTooltipComponent.create` — bundles, text lines and native mod image components; no ActivePlayersTooltip. - `ServerSelectionList.updateNetworkServers` — a LAN world found since the last call narrates (`Screen::lan_found_narrations`). - `NetworkServerEntry.extractContent`, `OnlineServerEntry.extractContent`, `OnlineServerEntry.refreshStatus` — a server on another protocol shows its version in red and the player count carries the player-list tooltip (`player_list_tooltip`). - `ChatOptionsScreen.options` — only Chat Delay still sits on the Accessibility page; Narrator is on the Chat page. - `OptionsScreen.init` — the Online button opens `Page::Online`, Skin Customisation `Page::Skin`. - `SoundOptionsScreen.addOptions` — sound device, directional audio and music toast rows exist (the last two greyed). - `VideoSettingsScreen.qualityOptions`, `displayOptions`, `addOptions`, `removed` — Texture Filtering, Max Anisotropy, Exclusive Fullscreen and Preferred Graphics Backend rows are there and applied. - `ControlsScreen.options` — Toggle Attack, Toggle Use, Sprint Window, Quit Shortcuts, Operator Items; Control-click on macOS. - `PackSelectionModel.findNewPacks` — the data pack folder is listed again once a second while the screen is open. `python3 tools/port_ledger.py build --jar <game>/jars/client.jar && python3 tools/port_ledger.py map-check tools/port_map/client2-017.tsv` → `139 rows, no problems.` The index has to come from `client.jar`: the 26.3 `server.jar` is the bundler and carries no client classes, so an index built from it resolves none of this file's rows. **Proven:** every citation names a function that exists and is reached from the game. `map-check` resolves all 139 rows; each port was read in the tree and the vanilla method it answers checked in the jar with `javap -p -c -constants -cp /tmp/cj` — `MenuTooltipPositioner` (`MARGIN` 5, `MOUSE_OFFSET_X` 12, overlap 3 / distance 5), `ServerReconfigScreen.DISCONNECT_TIME` 600, `WarningScreen` (`MESSAGE_PADDING` 100, checkbox, abstract `addFooterButtons`), `CodeOfConductScreen.addFooterButtons` (Acknowledge, Disconnect), `LanguageSelectScreen$LanguageSelectionList$Entry.keyPressed`, `VideoSettingsScreen.addTitle`/`tick`/`repositionElements`, `ClientBundleTooltip.extractSelectedItemTooltip`. **Not proven:** none of this was exercised in a running game. Rows left `missing` are still missing as far as the tree shows: `AccessibilityOptionsScreen.init`/`addFooter`/`isMinecartOptionEnabled`, `UnsupportedGraphicsWarningScreen` and the Improved Transparency warning, `VideoSettingsScreen.mouseClicked`, `PackSelectionModel.EntryBase.updateHighContrastOptionInstance`, the pack folder `Watcher`/`closeWatcher`, pack keyboard navigation (`TransferableSelectionList.*`), the server list keyboard paths (`ServerSelectionList.*.keyPressed`, `JoinMultiplayerScreen.keyPressed`), `CraftingRecipeBookComponent.isCraftingSlot`. --- <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:41 +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#7264
No description provided.