Game: the item quick select carousel doesn't follow a change to Ultrawide menus until the game restarts #2630

Open
opened 2026-11-26 21:33:29 +00:00 by bulldogsajr22 · 3 comments
Contributor

Longshot version

nightly-835-201f8868; main @ 4d1e555f (nightly-836, the same game code) behaves the same.

Channel

Nightly

What kind of problem

Something else

What happened

The item quick select carousel (PaShortCutSlideList_00) keeps the Ultrawide menus choice it had when the save loaded and when it was first opened. A later change to Ultrawide menus doesn't reach it until the game restarts, though the other menus follow the change at once:

  • At Extended, the carousel opened, then switched to Centred, blurred sides: the carousel stays full width and its items run into the blurred sides.
  • At Centred, blurred sides, the carousel opened, then switched to Extended: the carousel stays in the middle 16:9.
  • Started at Centred, blurred sides and switched to Extended before the carousel is first opened: it is widened, but keeps the item slots counted at the 16:9 width as the save loaded (10), so its right side is cut off. #2621 fixes that count only when Extended is already on as the save loads.

After a restart each choice looks right.

Where in the game

Any map; seen in the Ice Cavern with a 14-item list.

How often

Every time

Graphics card and driver version

NVIDIA GeForce RTX 5090, NVIDIA 621.40

CPU, RAM and operating system

AMD Ryzen 9 9950X3D (32 threads), Windows 11 (build 26300)

Changes from the defaults

Output resolution 5120x2160 (21:9), HDR; Ultrawide menus switched between Extended and Centred, blurred sides as above.

Notes

Found while testing #2621 (its Testing section, "Not changed here"). The carousel's width is set once, when its layout is built (#1892: ui.layoutBuilt, RULE_KEEP_WIDE), and its slots are counted once, when its list engine is set up as the save loads. A fix could set the list up again when the choice changes. Workaround: restart the game after changing Ultrawide menus.

Written with an AI agent (Claude Code), from my own testing in the game.

### Longshot version nightly-835-201f8868; `main` @ 4d1e555f (nightly-836, the same game code) behaves the same. ### Channel Nightly ### What kind of problem Something else ### What happened The item quick select carousel (`PaShortCutSlideList_00`) keeps the Ultrawide menus choice it had when the save loaded and when it was first opened. A later change to Ultrawide menus doesn't reach it until the game restarts, though the other menus follow the change at once: - At Extended, the carousel opened, then switched to Centred, blurred sides: the carousel stays full width and its items run into the blurred sides. - At Centred, blurred sides, the carousel opened, then switched to Extended: the carousel stays in the middle 16:9. - Started at Centred, blurred sides and switched to Extended before the carousel is first opened: it is widened, but keeps the item slots counted at the 16:9 width as the save loaded (10), so its right side is cut off. #2621 fixes that count only when Extended is already on as the save loads. After a restart each choice looks right. ### Where in the game Any map; seen in the Ice Cavern with a 14-item list. ### How often Every time ### Graphics card and driver version NVIDIA GeForce RTX 5090, NVIDIA 621.40 ### CPU, RAM and operating system AMD Ryzen 9 9950X3D (32 threads), Windows 11 (build 26300) ### Changes from the defaults Output resolution 5120x2160 (21:9), HDR; Ultrawide menus switched between Extended and Centred, blurred sides as above. ### Notes Found while testing #2621 (its Testing section, "Not changed here"). The carousel's width is set once, when its layout is built (#1892: `ui.layoutBuilt`, `RULE_KEEP_WIDE`), and its slots are counted once, when its list engine is set up as the save loads. A fix could set the list up again when the choice changes. Workaround: restart the game after changing Ultrawide menus. Written with an AI agent (Claude Code), from my own testing in the game.
Member

Possibly related, for context:

  • PR #2621 WIP: fix(ui): Extended ultrawide menus: the item carousel's right side no longer cut off — Related carousel sizing fix; this report is specifically about live setting changes not being applied.
  • PR #1892 feat(ui): an Extended choice for Ultrawide menus, the menus' side panes at the screen's edges — Introduced the Extended ultrawide layout and carousel widening behavior.
Possibly related, for context: - PR #2621 WIP: fix(ui): Extended ultrawide menus: the item carousel's right side no longer cut off — Related carousel sizing fix; this report is specifically about live setting changes not being applied. - PR #1892 feat(ui): an Extended choice for Ultrawide menus, the menus' side panes at the screen's edges — Introduced the Extended ultrawide layout and carousel widening behavior.
Author
Contributor

Tested again on nightly-895 (22d0d200, which has #2621), 5120x2160 (21:9), each case from a fresh start. The report's first two cases (a switch after the carousel has been opened) were not run again; #2621 only changes the slot count at setup, not that path. Two corrections, and a workaround.

The pause menu is affected too. Its panels follow a switch to Centred, blurred sides at once, but not always a switch to Extended:

  • At Extended, the pause menu opened and closed, then switched to Centred: the pause menu is centred, as it should be.
  • Then opened again at Centred, closed, and switched to Extended: the pause menu stays in the middle 16:9 (hearts, tabs, the item grid and the equipment columns), only its background widens. Turning pages doesn't change it. Switching back to Centred is right again.
  • Switched to Extended before the pause menu is first opened (started at Centred): Extended on every page.

The carousel's first open after a switch is off by half the extra width, in both directions, when the switch comes before the carousel is first opened:

  • Started at Extended, switched to Centred: the row is shifted right, the selection box empty with the selected item to its right. Reopened, it is right, and stays inside the middle 16:9 after turning.
  • Started at Centred, switched to Extended: the row is shifted left, the selection box between two items. Reopened, it is aligned, but after turning right 6 the right side is cut off (10 slots, counted at the 16:9 width as the save loaded), as in the report's third case, now seen.

Workaround: change Ultrawide menus on the title or file select screen, before loading a save. Started at Centred, switched to Extended there and then loaded: the carousel is right from its first open, both sides full after turning right 6. Restarting after a change also works.

Where it comes from, read in the code and the game's own functions:

  • The carousel's slots are counted once, as its layout is built when the save loads (the list engine's setup, f_8151eb00, from the layout build f_81545d60; the game counts them nowhere else).
  • The layout's calculate pass skips a hidden pane and everything under it (f_815461e0), and a pane with no dirty bits (f_8154a730). A menu that is closed at the switch misses hos_wide_ui_force's 3 frames, and is placed again only where the game itself recalculates it.
  • The carousel arranges its row from its strip's width ([pane + 0x58], f_80789930) as it opens. A width set while it is first shown comes too late for that open.
  • For the pause menu, a menu's root keeps the tree flag of its last placement; placed at Centred, the panes made from it are not noted, so they are not planned at Extended until the root is placed again. This is to be confirmed with a diagnostic run.

hos_wide_ui_force and the tree flag also serve the HUD layout and Custom HUD rows; I'm checking whether a HUD piece hidden at such a change (the action prompt) is left behind the same way, and will add it here if it is.

I'm working on a fix: the slots counted for Extended's width whenever the picture is wider than 16:9 (a narrower strip cuts the rest off, as seen above), the width set while the carousel is closed, and each menu brought up to date when it is next shown. The picture's shape itself only changes at a restart (hos_wide_ratio is set once, at boot), so only this row changes live.

Written with an AI agent (Claude Code), from my own testing in the game.

Tested again on nightly-895 (22d0d200, which has #2621), 5120x2160 (21:9), each case from a fresh start. The report's first two cases (a switch after the carousel has been opened) were not run again; #2621 only changes the slot count at setup, not that path. Two corrections, and a workaround. **The pause menu is affected too.** Its panels follow a switch to Centred, blurred sides at once, but not always a switch to Extended: - At Extended, the pause menu opened and closed, then switched to Centred: the pause menu is centred, as it should be. - Then opened again at Centred, closed, and switched to Extended: the pause menu stays in the middle 16:9 (hearts, tabs, the item grid and the equipment columns), only its background widens. Turning pages doesn't change it. Switching back to Centred is right again. - Switched to Extended before the pause menu is first opened (started at Centred): Extended on every page. **The carousel's first open after a switch is off by half the extra width**, in both directions, when the switch comes before the carousel is first opened: - Started at Extended, switched to Centred: the row is shifted right, the selection box empty with the selected item to its right. Reopened, it is right, and stays inside the middle 16:9 after turning. - Started at Centred, switched to Extended: the row is shifted left, the selection box between two items. Reopened, it is aligned, but after turning right 6 the right side is cut off (10 slots, counted at the 16:9 width as the save loaded), as in the report's third case, now seen. **Workaround:** change Ultrawide menus on the title or file select screen, before loading a save. Started at Centred, switched to Extended there and then loaded: the carousel is right from its first open, both sides full after turning right 6. Restarting after a change also works. Where it comes from, read in the code and the game's own functions: - The carousel's slots are counted once, as its layout is built when the save loads (the list engine's setup, `f_8151eb00`, from the layout build `f_81545d60`; the game counts them nowhere else). - The layout's calculate pass skips a hidden pane and everything under it (`f_815461e0`), and a pane with no dirty bits (`f_8154a730`). A menu that is closed at the switch misses `hos_wide_ui_force`'s 3 frames, and is placed again only where the game itself recalculates it. - The carousel arranges its row from its strip's width (`[pane + 0x58]`, `f_80789930`) as it opens. A width set while it is first shown comes too late for that open. - For the pause menu, a menu's root keeps the tree flag of its last placement; placed at Centred, the panes made from it are not noted, so they are not planned at Extended until the root is placed again. This is to be confirmed with a diagnostic run. `hos_wide_ui_force` and the tree flag also serve the HUD layout and Custom HUD rows; I'm checking whether a HUD piece hidden at such a change (the action prompt) is left behind the same way, and will add it here if it is. I'm working on a fix: the slots counted for Extended's width whenever the picture is wider than 16:9 (a narrower strip cuts the rest off, as seen above), the width set while the carousel is closed, and each menu brought up to date when it is next shown. The picture's shape itself only changes at a restart (`hos_wide_ratio` is set once, at boot), so only this row changes live. Written with an AI agent (Claude Code), from my own testing in the game.
Author
Contributor

A correction and three more cases, from nightly-895 (22d0d200) at 21:9, each case from a fresh start, driven through the control bridge with a screenshot checked after each step.

The pause menu: what decides it. It stays at 16:9 after a switch to Extended once one of its pages has been shown for the first time at Centred, not after any open at Centred as I wrote above. The game calculates the pause menu's root only when a page is first shown; placed then at Centred, the root keeps that placement's tree flag, and nothing made from it is planned at Extended afterwards. Started at Extended:

  • Items opened and closed; switched to Centred, opened, turned to System (its first showing), closed; switched to Extended, opened: 16:9 on all four pages.
  • The same, with System already shown at Extended before the switch: Extended, right.
  • Opened and closed at Centred without turning a page, with 10 s or 1 s between the switches and the opens: Extended, right.

The carousel's first open after a switch, all four ways:

  • To Centred, not opened since the save loaded: the selection box empty, the item to its right (as above).
  • To Centred, opened at Extended before: the whole row and its Back prompt still at Extended's width and place. New.
  • To Extended, not opened since the save loaded: the box between two items, and after turning right 6 the right side cut off. (Above I had seen only the cut; this is the "between two items" of the report.)
  • To Extended, opened at Centred before: aligned, the row cut to the middle 16:9 on both sides. Also started at Extended, switched to Centred and back.

A switch with the carousel open widens or narrows its row off by half the change, the box between two items. New.

A HUD piece hidden at a change (as I said I'd check): it's worse than the action prompt. A HUD layout change made while the pause menu is open (the HUD hidden) doesn't reach the HUD at all: closed, hearts, items, keys and the map stay at the old layout's place, in both directions, until the layout is changed again in play. Changed in play, it is right at once. The action prompt itself (DoCommand_00) is centred and sits in the same spot in both layouts, so it shows nothing either way.

The fix in #2767 covers all of these (tested the same way on it: every case above, and three random histories of 150 steps (177 switches of the row, HUD layout changes, menus opened and turned, switches with them open): 434 screenshots checked against what the current setting should show, none wrong; the same checker on main flagged 26 of 133; two more histories on the final code after review, 291 views, none wrong).

Written with an AI agent (Claude Code), from in-game runs on my PC.

A correction and three more cases, from nightly-895 (22d0d200) at 21:9, each case from a fresh start, driven through the control bridge with a screenshot checked after each step. **The pause menu: what decides it.** It stays at 16:9 after a switch to Extended once one of its pages has been shown **for the first time at Centred**, not after any open at Centred as I wrote above. The game calculates the pause menu's root only when a page is first shown; placed then at Centred, the root keeps that placement's tree flag, and nothing made from it is planned at Extended afterwards. Started at Extended: - Items opened and closed; switched to Centred, opened, turned to System (its first showing), closed; switched to Extended, opened: 16:9 on all four pages. - The same, with System already shown at Extended before the switch: Extended, right. - Opened and closed at Centred without turning a page, with 10 s or 1 s between the switches and the opens: Extended, right. **The carousel's first open after a switch, all four ways:** - To Centred, not opened since the save loaded: the selection box empty, the item to its right (as above). - To Centred, opened at Extended before: the whole row and its Back prompt still at Extended's width and place. New. - To Extended, not opened since the save loaded: the box between two items, and after turning right 6 the right side cut off. (Above I had seen only the cut; this is the "between two items" of the report.) - To Extended, opened at Centred before: aligned, the row cut to the middle 16:9 on both sides. Also started at Extended, switched to Centred and back. **A switch with the carousel open** widens or narrows its row off by half the change, the box between two items. New. **A HUD piece hidden at a change** (as I said I'd check): it's worse than the action prompt. A HUD layout change made while the pause menu is open (the HUD hidden) doesn't reach the HUD at all: closed, hearts, items, keys and the map stay at the old layout's place, in both directions, until the layout is changed again in play. Changed in play, it is right at once. The action prompt itself (`DoCommand_00`) is centred and sits in the same spot in both layouts, so it shows nothing either way. The fix in #2767 covers all of these (tested the same way on it: every case above, and three random histories of 150 steps (177 switches of the row, HUD layout changes, menus opened and turned, switches with them open): 434 screenshots checked against what the current setting should show, none wrong; the same checker on `main` flagged 26 of 133; two more histories on the final code after review, 291 views, none wrong). Written with an AI agent (Claude Code), from in-game runs on my PC.
Sign in to join this conversation.
No milestone
No project
No assignees
2 participants
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
MagicBeanDev/Longshot#2630
No description provided.