fix(app): busy reasons on frame actions and curves; shot data lifts above the tools

- Exclude, Set hero and the curve editors say why they wait while a job runs.
- The preview's shot data moves just above the tools when both do not fit in
  one row (1200 px window with labelled tools) instead of overlapping them.
- The measuring preparation reads luminance only when the deep analysis has it or
  a module needs it, so an unanalysed sequence with no module on decodes nothing.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012iLMBNwBE2GnphAsu4cjaC
This commit is contained in:
Claude committed 2026-10-03 10:50:17 +00:00
1 parent fa5699e6f3
commit 3a29b4fc6a
7 files changed
+84 -26

No files matched your search

+6 -4
View File
@@ -112,6 +112,7 @@ public class PreviewViewport : Control
private PreviewSurface? _surface;
private FrameworkElement? _tools;
private FrameworkElement? _info;
private Thickness _infoMargin;
private ViewTransform _view = new(1, 0, 0);
private Size _imageSize = Size.Empty;
private bool _syncingZoom;
@@ -200,6 +201,7 @@ public class PreviewViewport : Control
base.OnApplyTemplate();
_tools = GetTemplateChild(PartTools) as FrameworkElement;
_info = GetTemplateChild(PartInfo) as FrameworkElement;
if (_info is not null) _infoMargin = _info.Margin;
_surface = GetTemplateChild(PartSurface) as PreviewSurface;
if (_surface is null) return;
_surface.Owner = this;
@@ -208,15 +210,15 @@ public class PreviewViewport : Control
ApplyZoomMode();
}
/// <summary>The shot data pill sits beside the tools at the bottom, and moves to the top when both do not fit in one row.</summary>
/// <summary>The shot data pill sits beside the tools at the bottom, and just above them when both do not fit in one row.</summary>
protected override Size ArrangeOverride(Size arrangeBounds)
{
var size = base.ArrangeOverride(arrangeBounds);
if (_tools is not null && _info is not null)
{
var needed = _tools.DesiredSize.Width + _info.DesiredSize.Width;
var place = needed > arrangeBounds.Width ? VerticalAlignment.Top : VerticalAlignment.Bottom;
if (_info.VerticalAlignment != place) _info.VerticalAlignment = place;
var lifted = _tools.DesiredSize.Width + _info.DesiredSize.Width > arrangeBounds.Width;
var margin = lifted ? _infoMargin with { Bottom = _tools.DesiredSize.Height - _tools.Margin.Top + 6 } : _infoMargin;
if (_info.Margin != margin) _info.Margin = margin;
}
return size;
}