Scientific review problem
When a Show3D report combines pages/panels with unequal real frame counts, the global playback range follows the padded maximum. In the current BF/DF/SSB review, one page has 91 frames while another has 62. Playback can therefore advance into frames that have no real scientific content for the shorter page/panel. The UI may still show a global count such as x/91 even though the panel label reports x/62, leaving blank or misleading states during review.
Scientists also need to curate a time series while it plays without repeatedly reaching for small star/hide controls.
Requested behavior
- Respect
panel_real_frames (or an equivalent per-page/per-panel validity mask) in the frame slider and playback loop.
- Never present padded placeholders as real acquisitions.
- Skip hidden/invalid frames during forward, reverse, loop, and bounce playback.
- Provide an explicit hidden/excluded state distinct from starred/best.
- Make hidden frames recoverable through a visible filter or “show hidden” action.
- Keep the displayed current/total counts scientifically honest for the active page and panels.
Keyboard shortcuts
Suggested scope:
S: toggle star on the current frame.
H: toggle hidden/excluded on the current frame.
Shift+S: toggle star on the current page.
Shift+H: toggle hidden/excluded on the current page.
- Show the shortcuts in tooltips/help and ignore them while focus is in an input, select, or editable field.
Avoid Cmd/Ctrl+S as the primary shortcut because browsers reserve it for Save Page. If a modifier is needed, document and test the browser behavior explicitly.
Acceptance criteria
- Create two Show3D pages with unequal real frame counts, for example 62 and 91, padded only for serialization.
- On the 62-frame page, the slider and playback stop at 62 and never expose frames 63–91.
H excludes the current frame immediately; playback skips it in every playback mode.
S toggles the current-frame star without interrupting playback.
- Page-level shortcuts affect only the active page and are visually distinguishable from frame state.
- Hidden frames can be restored without rebuilding the widget.
- Shortcuts do not fire while typing in controls and do not interfere with arrow-key scrubbing.
- Add tests for unequal page lengths, hidden-frame playback, shortcut focus guards, and state serialization/export.
Reproduction context
Observed in an exported Show3D scientific screening report containing two pages and three panels (BF, DF, SSB), where the page lengths are 62 and 91 and panel_real_frames/panel_frame_labels are supplied. The issue matters for acquisition screening and ptychography candidate selection because blank/padded frames can be mistaken for failed measurements.
Scientific review problem
When a Show3D report combines pages/panels with unequal real frame counts, the global playback range follows the padded maximum. In the current BF/DF/SSB review, one page has 91 frames while another has 62. Playback can therefore advance into frames that have no real scientific content for the shorter page/panel. The UI may still show a global count such as
x/91even though the panel label reportsx/62, leaving blank or misleading states during review.Scientists also need to curate a time series while it plays without repeatedly reaching for small star/hide controls.
Requested behavior
panel_real_frames(or an equivalent per-page/per-panel validity mask) in the frame slider and playback loop.Keyboard shortcuts
Suggested scope:
S: toggle star on the current frame.H: toggle hidden/excluded on the current frame.Shift+S: toggle star on the current page.Shift+H: toggle hidden/excluded on the current page.Avoid
Cmd/Ctrl+Sas the primary shortcut because browsers reserve it for Save Page. If a modifier is needed, document and test the browser behavior explicitly.Acceptance criteria
Hexcludes the current frame immediately; playback skips it in every playback mode.Stoggles the current-frame star without interrupting playback.Reproduction context
Observed in an exported Show3D scientific screening report containing two pages and three panels (BF, DF, SSB), where the page lengths are 62 and 91 and
panel_real_frames/panel_frame_labelsare supplied. The issue matters for acquisition screening and ptychography candidate selection because blank/padded frames can be mistaken for failed measurements.