Options > Graphics: extended menu overflows off-screen, scrolling only updates some rows #39
Labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
mintopia/blur#39
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?
Symptom
In-game Options > Graphics (our extended menu) doesn't scroll properly when moving through the options:
Where
patches/Screens/Shared/Options_Graphics.post.lua(Init override).Likely cause (unverified)
Nde_VSyncparented toOptionsList; Brightness Adjust / Accept re-cloned below.items_visible = 20plusChangeScale(0.46)/ChangePosition(-10, 15). The comment says this fits 12 rows, but rows have since grown (Skip Intro, Discord Rich Presence added), so the list now overflows and the list widget's scroll path kicks in with anitems_visiblevalue that doesn't match the real visible rows.items_visible), not our clones.Possible fixes
items_visiblereally means for this XtGadget list and set it to the true on-screen count so the list scrolls the cloned rows correctly.Verify
Recomp engine (
BLUR_ENGINE=recomp): open Options > Graphics, scroll top→bottom→top. Every row is visible on screen when selected, and every row's label/value redraws correctly.Cause: list only culls rows past items_visible (~2 per row + 1) and does not shift them, so rows past the window at fixed positions were hidden/off-screen once rows grew to 14. Scrolling cannot reveal them. Fix: no-scroll — items_visible 28, scale 0.36 so all 14 rows fit above the help bar. Verified on recomp via mdrive (Options > Graphics, Down x17): all rows incl. Bloom, Brightness Adjust, Accept visible, none cull. Rescale if more rows are added.
Completed and merged by Harmonic (task 39).