Skip to content

feat(library): Reset Roll in the roll menu - #1694

Merged
marcinz606 merged 1 commit into
mainfrom
mz/rstroll
Nov 17, 2026
Merged

marcinz606 merged 1 commit into
mainfrom
mz/rstroll

Conversation

@marcinz606

Copy link
Copy Markdown
Owner

What

A right-click on a roll in the Library (or its ⋮) has a new item, Reset Roll….

  • It resets every loaded frame of the roll to defaults, the frames that the filter hides included.
  • It drops the roll's settings, card locks, baseline (Roll Analysis), film base, scenes and frame seed.
  • It keeps the name, the frames, the forks, the triage marks and the per-roll Half Frame and RGB Scan toggles.
  • It records one batch: Undo Change to Several Frames puts the roll and the frames back.
  • The item is enabled on the open roll only, as Roll Analysis is, because a frame's reset works on the loaded files.
  • New shortcut entry reset_open_roll, with no default key.

Checks

  • tests/test_batch_undo.py: reset drops the roll values and the frame edits, undo restores both.
  • ruff, make type, and the i18n, UI copy, tooltip, guide, dialog, shortcut and Library tests pass.
  • Headless run of the real app: the menu item triggers the reset on a three-frame folder roll, and undo restores it.
  • Translations filled for all seven catalogs; the Library guide panel updated in six localized guides.

Reset Roll resets every frame of the open roll and drops the roll's
settings, card locks, baseline, film base and scenes. The name, the
frames and the forks stay. It records one batch, so Undo Change to
Several Frames puts the roll and the frames back.

The item is available on the open roll only, because a frame's reset
works on the loaded files.
@marcinz606
marcinz606 merged commit 9ad27eb into main Nov 17, 2026
4 of 5 checks passed
@marcinz606
marcinz606 deleted the mz/rstroll branch November 17, 2026 19:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant