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

+13
View File
@@ -106,6 +106,9 @@ public sealed class CameraTab : EditorTab
public string AddKeyToolTip => Loc.L(Editor.IsBusy ? "Tooltips.Editor.Busy"
: Keys.Any(k => k.Frame == Editor.CurrentIndex) ? "Tooltips.Editor.Camera.KeyExists" : "Tooltips.Editor.Camera.AddKey");
/// <summary>How to edit the keyframe curve, or why it waits.</summary>
public string CurveToolTip => Loc.L(Editor.IsBusy ? "Tooltips.Editor.Busy" : "Tooltips.Editor.Camera.Curve");
public string RemoveKeyToolTip => Loc.L(Editor.IsBusy ? "Tooltips.Editor.Busy" : HasSelectedKey ? "Tooltips.Editor.Camera.RemoveKey" : "Tooltips.Editor.Camera.NoKey");
/// <summary>Run by the curve editor after each finished edit.</summary>
@@ -153,6 +156,7 @@ public sealed class CameraTab : EditorTab
base.OnBusyChanged();
OnPropertyChanged(nameof(AddKeyToolTip));
OnPropertyChanged(nameof(RemoveKeyToolTip));
OnPropertyChanged(nameof(CurveToolTip));
}
/// <summary>A margin of the free crop (<see cref="CropMargins"/>); all zero = the whole frame.</summary>
@@ -243,6 +247,9 @@ public sealed class TimeTab : EditorTab
/// <summary>Run by the curve editor after each finished edit.</summary>
public ICommand CommitCurveCommand { get; }
/// <summary>How to edit the remap curve, or why it waits.</summary>
public string CurveToolTip => Loc.L(Editor.IsBusy ? "Tooltips.Editor.Busy" : "Tooltips.Editor.Time.Curve");
/// <summary>"3,600 frames → 2 min 30 s · 24 fps".</summary>
public string? PlanText { get => _planText; private set => Set(ref _planText, value); }
@@ -315,6 +322,12 @@ public sealed class TimeTab : EditorTab
public override void OnCurrentFrameChanged() => OnPropertyChanged(nameof(Playhead));
public override void OnBusyChanged()
{
base.OnBusyChanged();
OnPropertyChanged(nameof(CurveToolTip));
}
private static Func<double, double>? Spline(IReadOnlyList<Point> points)
{
if (points.Count < 2) return null;