Game: the item quick select carousel doesn't follow a change to Ultrawide menus until the game restarts #2630
Labels
No labels
area/accessibility
area/audio
area/input
area/install
area/menu
area/mods
area/renderer
area/saves
area/tooling
area/upscaling
beanstalk: approved
beanstalk: failed
beanstalk: needs approval
beanstalk: running
beanstalk: tested
ci: approved
good first issue
gpu/amd
gpu/igpu
gpu/intel
gpu/nvidia
help wanted
kind
bug
kind
chore
kind
docs
kind
feature
kind
performance
kind
question
needs measurements
platform/linux
platform/macos
platform/steam-deck
platform/windows
preview
priority
critical
priority
high
priority
low
regression
risk
high
risk
low
risk
medium
status
blocked
status
confirmed
status
duplicate
status
invalid
status
needs-info
status
wontfix
ci: approved
No milestone
No project
No assignees
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
MagicBeanDev/Longshot#2630
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
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: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.
Possibly related, for context:
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:
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:
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:
f_8151eb00, from the layout buildf_81545d60; the game counts them nowhere else).f_815461e0), and a pane with no dirty bits (f_8154a730). A menu that is closed at the switch misseshos_wide_ui_force's 3 frames, and is placed again only where the game itself recalculates it.[pane + 0x58],f_80789930) as it opens. A width set while it is first shown comes too late for that open.hos_wide_ui_forceand 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_ratiois set once, at boot), so only this row changes live.Written with an AI agent (Claude Code), from my own testing in the game.
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:
The carousel's first open after a switch, all four ways:
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
mainflagged 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.