Sharpness row occasionally disappears in place on the Graphics tab when switching Upscaler #3229
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
3 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
MagicBeanDev/Longshot#3229
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
longshot pr-3223-a725d2de (source 429d93ea)(based onmain @ 3a0f7d8f7).What happened
While testing PR #3223 on the Graphics tab and switching
Upscaler, theSharpnessslider occasionally disappeared in place from between its neighbouring rows without scrolling.In the same session,
system/menulogged 0 faults and 0 stops (settingsHost.declsonly ran once on initial menu open at3.2 ms), so this is not caused by the 5 ms frame-listener fault/stop cycle.Code context
sharpnessingame/mods/graphics/mod.tomlhas noshownIf,hideWhen, orneeds, sosettings_hostnever setsshown = false.longshot/uikeyed-child reconciliation orSection/Columnlayout bug when sibling rows directly abovesharpness(Skip Upscaler Wait,Dynamic resolution,Minimum floor,Render resolution) mount/unmount asUpscalerchanges.Hardware & OS
This looks like a valid bug report. I couldn't locate the cause in the code.
The report describes a plausible menu defect, but I could not find code that establishes why Sharpness disappears. Its declaration has no visibility condition, and the menu is intended to retain keyed rows when neighboring rows change. The reported PR commit is available in the checkout, but the reported source revision is not, so I could not fully compare the tested build.
For maintainers
Reporter specifically notes PR #3223 testing and states
system/menuhad 0 faults and 0 stops;settingsHost.declsran once at initial menu open, at 3.2 ms. Search found no matching issue or fix in the issue/PR results. Do not assume the proposed reconciliation/layout cause is confirmed.Investigate row state and Section height when the disappearance occurs, alongside the exact sequence of Upscaler choices and other Graphics settings. Blame attributes the keyed reconciliation to
d984fd704and the current Section structure to73944b9c7; neither establishes a cause.Seen in the code:
3a0f7d8f7. PR commita725d2dechanges settings_host.rs and settings_push.rs; source revision 429d93ea is unavailable in this checkout.Automated triage by BeanBot (gpt-6-luna). Nothing was run; a maintainer decides.
@Jer9 a fix is in #3280, and a retest on your Radeon 860M would settle it.
What I found: Sharpness is the last row of the collapsible "Resolution and upscaling" section. That section cuts its rows to the height it last heard from them (
ShutSectioningame/modapi/ui/kit.tsx), and it dropped a size that matched its last render's height. When the rows got shorter and then as tall again (rows above Sharpness mounting and unmounting as Upscaler changes) across two presents before the menu's script took its events, the section stayed at the shorter height, and Sharpness stayed under the cut. That happens only when the menu's script falls behind the frames, which fits your iGPU (and #3230/#3232). I couldn't make it happen on an RTX 4090.To retest: on a build of the PR, switch Upscaler on the Graphics tab as you did when you filed this. Sharpness should stay. If it still disappears, please say whether shutting and reopening the section brings it back.