#1434: Snapshot to Disk remembers the last size used #1476
No reviewers
Labels
No labels
amd
avatars
bug
builder
cannot-reproduce
crash
epic
feature
from-viewer
gl-removal
known-limitation
monitoring
parity
perf
platform
priority
critical
priority
high
priority
low
priority
medium
provenance
rendering
rt
status
in-progress
status
testing
status
up-next
triage
ui
upstream
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
sky_line/Slipstream!1476
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "TheSlowly/Slipstream:snapshot-size-1434"
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?
Part of #1434 (the size; the blurry 3840x2044 part needs the reporter's snapshot log lines).
The disk panel's resolution list and width/height started from the defaults every time the floater was built. Saving to disk now stores the choice and size (LastSnapshotToDiskSize/Width/Height) and the panel restores them when it's built.
Test:
python3 indra/newview/tests/snapshot_disk_size_checks.py. In world: save at 4K, close and reopen the floater (and relog): the size stays.The disk panel's resolution list and width/height spinners started from the panel's defaults every time the snapshot floater was built, so the size of the last disk snapshot was lost. Saving to disk now stores the resolution choice and the size in three settings (LastSnapshotToDiskSize, Width, Height), and the panel restores them when it is built, before the floater applies them. With nothing stored yet the defaults stay as before. Test-Plan: python3 indra/newview/tests/snapshot_disk_size_checks.py (fails before, OK after) In world: Snapshot > Save to disk at 3840x2160, close the floater, reopen it: the size is still 3840x2160. Pick Custom 3000x1500, save, relog: Custom 3000x1500 is selected. A fresh settings file still opens at the default size. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>View command line instructions
Checkout
From your project repository, check out a new branch and test the changes.