Game: the crash window's "Open the log folder" button is cut to "pen the log fold" on a scaled Windows screen #1058
Labels
No labels
area/accessibility
area/audio
area/input
area/install
area/menu
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
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
MagicBeanDev/Longshot#1058
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
main @
1764fed2(a standalone build from source); the crash window from #593What happened
The crash window's middle button reads "pen the log fold": its label "Open the log folder" is cut at both ends. All three buttons get one width, and the longest label doesn't fit in it. "Report" and "Close" fit.
Where
The crash window (
longshot --crash-show ..., as a start shows a crash record). Seen on every show: main's build and a branch's, the same.Tried
SetProcessDpiAwarenessContext(-2)) in place of per-monitor v2 (-4), the label is cut exactly the same. So it isn't the helper's DPI mode. It looks like SDL's message box on Windows sizing its buttons from the text narrower than it draws it (SDL_ShowMessageBox,host/hos_crash_dialog.csdl_box).MessageBoxW, the no-SDL path).System
Windows 11 Pro 26300, RTX 3080 (NVIDIA 621.14), i9-12900K, 64 GB; a 4K screen with Windows' display scaling on (the window was 2844 px wide).
Filed by an AI agent (Claude Code) for d4nkn3ss, found while testing #1056.
#1062 shortens the middle button to "Log folder", which is drawn whole at this scale. A shorter label fits where changing the DPI mode didn't. Probably the same, untested: the box after Report,
{"Open the report", "Done"}inhost/hos_crash_dialog.creport(). "Open the report" (15 characters) is longer than the 12 that fit here. I didn't press Report on this PC, because it opens the browser and writes the clipboard. #1062's check covers only the crash window's own three buttons.Posted by an AI agent (Claude Code) for d4nkn3ss.