fix(workspace): settle conflicts in one answer and give refused folders a way on

Phase 5a fix round 2 of owner review 2 (desktop):

- Take library's no longer commits the working state first, so a take that
  leaves only the library's values sends no empty version; the working state
  it replaces is kept aside in versions/.replaced, outside the chain.
- Conflicts list this side's value as the working state holds it, so one
  answer settles them instead of asking again for the newer value.
- A conflict of format (library saved by a newer Chronos) offers only Save
  both and Later, says why in its tooltip and shows no raw format numbers.
- Conflict lines count the photos a setting differs on ("Excluded frames
  (3)") instead of dropping the duplicates.
- A read-only library is named as such, not as offline; checkouts from it
  stay editable and their versions wait in the workspace.
- A workspace folder refused inside a library offers Choose folder, and
  Settings > Workspace gets Change...: a plan (projects left, projects found)
  is confirmed before the folder changes; nothing is moved.
- Open in workspace shows the copy's size and the drive's free space, and
  warns when the copy would not fit with its 0.5 GB reserve.
- A cancelled first copy removes the half media it wrote.
- A copy whose project.chronos cannot be read is listed as damaged instead of
  hidden, and goes only through Remove local copy > Discard, after a plan.
- Pruning keeps a version whose archive file is damaged (test added).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Alby96andClaude Opus 5.5 committed 2026-11-03 11:52:49 +01:00
1 parent 8256b72913
commit 64fc5521c0
30 files changed
+1017 -98

No files matched your search

+7
View File
@@ -191,12 +191,15 @@
<data name="Editor.Motion.Smoothing" xml:space="preserve"><value>Path smoothing</value></data>
<data name="Editor.Motion.Stabilize" xml:space="preserve"><value>Stabilise</value></data>
<data name="Editor.OpenWorkspace.Existing" xml:space="preserve"><value>Existing</value></data>
<data name="Editor.OpenWorkspace.Free" xml:space="preserve"><value>Free space</value></data>
<data name="Editor.OpenWorkspace.Media" xml:space="preserve"><value>Media</value><comment>the photos the workspace copies: proxies or originals</comment></data>
<data name="Editor.OpenWorkspace.New" xml:space="preserve"><value>New</value></data>
<data name="Editor.OpenWorkspace.NoRoom" xml:space="preserve"><value>Not enough space</value></data>
<data name="Editor.OpenWorkspace.Open" xml:space="preserve"><value>Open</value></data>
<data name="Editor.OpenWorkspace.Originals" xml:space="preserve"><value>Originals</value></data>
<data name="Editor.OpenWorkspace.Project" xml:space="preserve"><value>Project</value></data>
<data name="Editor.OpenWorkspace.Proxies" xml:space="preserve"><value>Proxies</value></data>
<data name="Editor.OpenWorkspace.Size" xml:space="preserve"><value>Copy size</value></data>
<data name="Editor.OpenWorkspace.Title" xml:space="preserve"><value>Open in workspace</value></data>
<data name="Editor.Optimise.Change" xml:space="preserve"><value>{0}: {1} → {2}</value><comment>invariant</comment></data>
<data name="Editor.Optimise.ChangeRtl" xml:space="preserve"><value>{0}: {1} ← {2}</value><comment>invariant; right-to-left languages: the arrow points from the old value to the new one</comment></data>
@@ -373,8 +376,11 @@
<data name="Editor.Value.Pixels" xml:space="preserve"><value>{0} px</value><comment>invariant</comment></data>
<data name="Editor.Value.Text" xml:space="preserve"><value>{0}</value><comment>invariant</comment></data>
<data name="Editor.Value.Zoom" xml:space="preserve"><value>{0}×</value><comment>invariant</comment></data>
<data name="Editor.Workspace.ChooseFolder" xml:space="preserve"><value>Choose folder</value></data>
<data name="Editor.Workspace.Conflict.Later" xml:space="preserve"><value>Later</value></data>
<data name="Editor.Workspace.Conflict.Message" xml:space="preserve"><value>{0} was changed in the library while you edited it here. These settings differ: keep yours, take the library's, or keep both as two projects.</value><comment>long; {0} project name</comment></data>
<data name="Editor.Workspace.Conflict.NewerFormat" xml:space="preserve"><value>Saved by a newer Chronos</value><comment>long; the one line a conflict of format lists</comment></data>
<data name="Editor.Workspace.Conflict.NewerMessage" xml:space="preserve"><value>{0} was saved in the library by a newer Chronos, whose settings this one does not merge with yours. Keep both as two projects, or update Chronos.</value><comment>long; {0} project name</comment></data>
<data name="Editor.Workspace.Conflict.TakeHome" xml:space="preserve"><value>Take library's</value><comment>take the library's values where both sides changed a setting</comment></data>
<data name="Editor.Workspace.Conflict.Title" xml:space="preserve"><value>Changed in the library too</value></data>
<data name="Editor.Workspace.CopyFailed" xml:space="preserve"><value>Workspace copy failed</value></data>
@@ -402,6 +408,7 @@
<data name="Editor.Workspace.State.Ahead" xml:space="preserve"><value>Not sent</value><comment>versions saved here wait to be sent to the library</comment></data>
<data name="Editor.Workspace.State.Behind" xml:space="preserve"><value>Library newer</value><comment>the library has versions the workspace has not taken</comment></data>
<data name="Editor.Workspace.State.Conflict" xml:space="preserve"><value>Conflict</value></data>
<data name="Editor.Workspace.State.Damaged" xml:space="preserve"><value>Damaged</value></data>
<data name="Editor.Workspace.State.Gone" xml:space="preserve"><value>Not in library</value></data>
<data name="Editor.Workspace.State.InSync" xml:space="preserve"><value>In sync</value></data>
<data name="Editor.Workspace.State.MediaRemoved" xml:space="preserve"><value>No media</value></data>
+5 -1
View File
@@ -55,14 +55,17 @@
<data name="Errors.Workspace.Damaged" xml:space="preserve"><value>A file of this project in the workspace cannot be read; the log names it.</value></data>
<data name="Errors.Workspace.DiskFull" xml:space="preserve"><value>The workspace drive needs {0} GB more for this copy.</value><comment>{0} gigabytes missing</comment></data>
<data name="Errors.Workspace.EditNotStored" xml:space="preserve"><value>The last edit could not be stored yet; it is tried again, try once more in a moment.</value></data>
<data name="Errors.Workspace.FolderUnusable" xml:space="preserve"><value>{0} cannot be used as the workspace folder; the log says why.</value><comment>long; {0} folder</comment></data>
<data name="Errors.Workspace.HomeCheck" xml:space="preserve"><value>The library's copy of this project does not match what was sent; nothing was removed.</value></data>
<data name="Errors.Workspace.InsideLibrary" xml:space="preserve"><value>The workspace folder is inside a library; nothing is copied into it.</value></data>
<data name="Errors.Workspace.InsideLibraryEdit" xml:space="preserve"><value>The workspace folder {0} is inside a library, where Edit copies nothing: keep Chronos's data folder outside your libraries.</value><comment>long</comment></data>
<data name="Errors.Workspace.InsideLibraryEdit" xml:space="preserve"><value>The workspace folder {0} is inside a library, where Edit copies nothing: choose another workspace folder.</value><comment>long</comment></data>
<data name="Errors.Workspace.InsideLibraryFolder" xml:space="preserve"><value>{0} is inside a library, where Edit copies nothing: choose a folder outside your libraries.</value><comment>long; {0} folder</comment></data>
<data name="Errors.Workspace.InvalidName" xml:space="preserve"><value>A project name has 1 to 60 characters.</value></data>
<data name="Errors.Workspace.MainKept" xml:space="preserve"><value>The Main project holds the sequence's own settings: it cannot be deleted.</value></data>
<data name="Errors.Workspace.MediaChanged" xml:space="preserve"><value>The workspace's photos of this project changed; the editor reads them again.</value></data>
<data name="Errors.Workspace.MediaMissing" xml:space="preserve"><value>The workspace holds no photos of this project; open it again to copy them.</value></data>
<data name="Errors.Workspace.NameTaken" xml:space="preserve"><value>Another project of this sequence has that name.</value></data>
<data name="Errors.Workspace.NoRoom" xml:space="preserve"><value>The drive of the workspace folder lacks room for this copy and the 0.5 GB the copy keeps free.</value></data>
<data name="Errors.Workspace.NotCheckedOut" xml:space="preserve"><value>The project is no longer in the workspace.</value></data>
<data name="Errors.Workspace.Offline" xml:space="preserve"><value>The library cannot be reached now; your work stays in the workspace and can be sent once it is back.</value></data>
<data name="Errors.Workspace.OriginalsLater" xml:space="preserve"><value>The workspace copies proxies for now; copying the originals comes in a later version.</value></data>
@@ -70,6 +73,7 @@
<data name="Errors.Workspace.Parameters" xml:space="preserve"><value>The workspace copy job has no valid parameters.</value></data>
<data name="Errors.Workspace.ProjectGone" xml:space="preserve"><value>This project is no longer in the library.</value></data>
<data name="Errors.Workspace.ReadOnly" xml:space="preserve"><value>This project was saved by a newer Chronos: it opens read-only.</value></data>
<data name="Errors.Workspace.ReadOnlyHome" xml:space="preserve"><value>The library is read-only now; your work stays in the workspace and can be sent once it is writable.</value></data>
<data name="Errors.Workspace.Refused" xml:space="preserve"><value>The library refused a version of this project; the log says why.</value></data>
<data name="Errors.Workspace.SequenceGone" xml:space="preserve"><value>This project's sequence is no longer in the library: only its local copy can be removed, from the picker's menu.</value><comment>long</comment></data>
<data name="Errors.Workspace.Unsent" xml:space="preserve"><value>Some work is not in the library yet: send it first, or discard it.</value></data>
+1
View File
@@ -14,6 +14,7 @@
<data name="Server.Certificate.Trusted" xml:space="preserve"><value>TLS {0} trusted {1}</value></data>
<data name="Server.Conflict.Cancel" xml:space="preserve"><value>Cancel</value></data>
<data name="Server.Conflict.Changed" xml:space="preserve"><value>{0} differs</value><comment>{0} setting name</comment></data>
<data name="Server.Conflict.Count" xml:space="preserve"><value>{0} ({1})</value><comment>invariant; {0} setting name, {1} number of photos it differs on</comment></data>
<data name="Server.Conflict.Difference" xml:space="preserve"><value>{0} {1} here, {2} on the server</value><comment>long; {0} setting name, {1} value on this PC, {2} value on the server</comment></data>
<data name="Server.Conflict.KeepMine.Message" xml:space="preserve"><value>The server copy of {0} will be replaced by this PC's settings.</value><comment>long; {0} sequence title</comment></data>
<data name="Server.Conflict.KeepMine.Title" xml:space="preserve"><value>Keep this PC's settings?</value></data>
+9
View File
@@ -198,9 +198,18 @@
<data name="Settings.Storage.Used" xml:space="preserve"><value>{0} used</value></data>
<data name="Settings.Updates.Latest" xml:space="preserve"><value>Latest version</value></data>
<data name="Settings.Workspace.AfterSave" xml:space="preserve"><value>After each version</value></data>
<data name="Settings.Workspace.Change" xml:space="preserve"><value>Change…</value></data>
<data name="Settings.Workspace.ChangeMessage" xml:space="preserve"><value>Edit lists the projects in {0} from now on. Those in {1} stay where they are, and come back if you choose that folder again.</value><comment>long; {0} the folder chosen, {1} the folder in use</comment></data>
<data name="Settings.Workspace.ChangeTitle" xml:space="preserve"><value>Use another workspace folder?</value><comment>long; confirmation heading</comment></data>
<data name="Settings.Workspace.Changed" xml:space="preserve"><value>Workspace folder changed</value></data>
<data name="Settings.Workspace.ChooseTitle" xml:space="preserve"><value>Choose the workspace folder</value><comment>long; folder picker title</comment></data>
<data name="Settings.Workspace.Folder" xml:space="preserve"><value>Folder</value></data>
<data name="Settings.Workspace.Kept" xml:space="preserve"><value>Kept versions</value></data>
<data name="Settings.Workspace.NotChanged" xml:space="preserve"><value>Folder not changed</value></data>
<data name="Settings.Workspace.ProjectsFound" xml:space="preserve"><value>Projects found: {0}</value><comment>{0} count of the projects the folder chosen holds</comment></data>
<data name="Settings.Workspace.ProjectsLeft" xml:space="preserve"><value>Projects left: {0}</value><comment>{0} count of the projects the folder in use keeps</comment></data>
<data name="Settings.Workspace.Sync" xml:space="preserve"><value>Sync</value></data>
<data name="Settings.Workspace.Use" xml:space="preserve"><value>Use folder</value></data>
<data name="Settings.Workspace.Versions.one" xml:space="preserve"><value>{0} version</value></data>
<data name="Settings.Workspace.Versions.other" xml:space="preserve"><value>{0} versions</value></data>
</root>
+10 -1
View File
@@ -223,12 +223,14 @@
<data name="Tooltips.Editor.NotApplicable.StabilizeOff" xml:space="preserve"><value>Not applicable: stabilisation is off</value></data>
<data name="Tooltips.Editor.NotApplicable.StackOff" xml:space="preserve"><value>Not applicable: stacking is off</value></data>
<data name="Tooltips.Editor.OpenWorkspace.Existing" xml:space="preserve"><value>Open a project the library has for this sequence; Main holds its settings as they are</value></data>
<data name="Tooltips.Editor.OpenWorkspace.Free" xml:space="preserve"><value>Free space on the drive of the workspace folder; the copy keeps 0.5 GB free besides</value></data>
<data name="Tooltips.Editor.OpenWorkspace.Name" xml:space="preserve"><value>The new project's name: 1 to 60 characters, each name once per sequence</value></data>
<data name="Tooltips.Editor.OpenWorkspace.New" xml:space="preserve"><value>A new project of this sequence, starting from Main</value></data>
<data name="Tooltips.Editor.OpenWorkspace.Open" xml:space="preserve"><value>Copy the project's photos into the workspace, then open it there</value></data>
<data name="Tooltips.Editor.OpenWorkspace.Originals" xml:space="preserve"><value>Copying the originals, to render on this PC, comes in a later update</value></data>
<data name="Tooltips.Editor.OpenWorkspace.Projects" xml:space="preserve"><value>The sequence's projects in the library</value></data>
<data name="Tooltips.Editor.OpenWorkspace.Proxies" xml:space="preserve"><value>Copy the proxies: light and fast to edit; renders use the library's originals</value></data>
<data name="Tooltips.Editor.OpenWorkspace.Size" xml:space="preserve"><value>What the copy of the proxies writes into the workspace, as reckoned before it starts</value></data>
<data name="Tooltips.Editor.OptimiseAll" xml:space="preserve"><value>Let the advisor set every section from the analysis and list what changed</value></data>
<data name="Tooltips.Editor.OptimiseNone" xml:space="preserve"><value>The advisor never stacks on its own: a median erases moving stars</value></data>
<data name="Tooltips.Editor.OptimiseSection" xml:space="preserve"><value>Apply the advisor’s heavier choices for this section and list what changed · Ctrl+Z undoes</value></data>
@@ -324,15 +326,19 @@
<data name="Tooltips.Editor.Time.Rate" xml:space="preserve"><value>Photos shown per second of video; more plays the sequence faster</value></data>
<data name="Tooltips.Editor.Unsaved.Discard" xml:space="preserve"><value>Close without the change; the stored settings stay as they were</value></data>
<data name="Tooltips.Editor.Unsaved.Keep" xml:space="preserve"><value>Stay in the editor; saving is retried in the background</value></data>
<data name="Tooltips.Editor.Workspace.ChooseFolder" xml:space="preserve"><value>Choose a workspace folder outside your libraries; nothing is moved</value></data>
<data name="Tooltips.Editor.Workspace.Differences" xml:space="preserve"><value>The settings that differ: your value, then the library's</value></data>
<data name="Tooltips.Editor.Workspace.KeepMine" xml:space="preserve"><value>Keep your values of these settings; they are sent to the library</value></data>
<data name="Tooltips.Editor.Workspace.Later" xml:space="preserve"><value>Decide later and keep editing; Sync asks again</value></data>
<data name="Tooltips.Editor.Workspace.MediaChanged" xml:space="preserve"><value>Photos were added to or removed from this sequence in the library after the workspace copied it</value></data>
<data name="Tooltips.Editor.Workspace.NewerFormat" xml:space="preserve"><value>The library's project was saved by a newer Chronos: its settings are not merged with yours, so Keep mine and Take library's are not offered</value></data>
<data name="Tooltips.Editor.Workspace.OpenCopy" xml:space="preserve"><value>Open project {0}, which holds your versions</value><comment>long</comment></data>
<data name="Tooltips.Editor.Workspace.SaveBoth" xml:space="preserve"><value>Keep the library's values in this project, and send yours to a new project “{0}”</value><comment>{0} the new project's name</comment></data>
<data name="Tooltips.Editor.Workspace.SaveBothNewer" xml:space="preserve"><value>Send your versions to a new project “{0}”; this project takes the library's, read-only until Chronos is updated</value><comment>{0} the new project's name</comment></data>
<data name="Tooltips.Editor.Workspace.State.Ahead" xml:space="preserve"><value>Versions saved here that wait to be sent to the library: {0}. Sync sends them</value><comment>{0} number of versions</comment></data>
<data name="Tooltips.Editor.Workspace.State.Behind" xml:space="preserve"><value>Versions in the library this workspace has not taken yet: {0}. Sync takes them</value><comment>{0} number of versions</comment></data>
<data name="Tooltips.Editor.Workspace.State.Conflict" xml:space="preserve"><value>You and the library changed the same settings: Sync to choose which to keep</value></data>
<data name="Tooltips.Editor.Workspace.State.Damaged" xml:space="preserve"><value>This copy's project file cannot be read, so it cannot open; Remove local copy keeps its files in the workspace's trash</value></data>
<data name="Tooltips.Editor.Workspace.State.Gone" xml:space="preserve"><value>The library no longer has this project or its sequence: nothing more can be sent; remove the local copy (its work is kept aside)</value><comment>long</comment></data>
<data name="Tooltips.Editor.Workspace.State.InSync" xml:space="preserve"><value>Every version of this project is in the library, and nothing changed since the last one</value></data>
<data name="Tooltips.Editor.Workspace.State.MediaRemoved" xml:space="preserve"><value>The workspace holds no photos of this project: opening it copies them again</value></data>
@@ -708,6 +714,7 @@
<data name="Tooltips.Settings.CacheFolder" xml:space="preserve"><value>Where frames spill and thumbnails are kept; a fast SSD helps · Enter applies, Esc reverts</value></data>
<data name="Tooltips.Settings.CacheLimit" xml:space="preserve"><value>Largest size of the disk cache in GB · Enter applies, Esc reverts</value></data>
<data name="Tooltips.Settings.CacheUsage" xml:space="preserve"><value>Space the cache uses and free space on its drive</value></data>
<data name="Tooltips.Settings.ChangeWorkspace" xml:space="preserve"><value>Use another workspace folder, after a plan; nothing is moved: the projects of this one stay here</value></data>
<data name="Tooltips.Settings.CheckForUpdates" xml:space="preserve"><value>Look for a new release when Chronos starts · no data is sent</value></data>
<data name="Tooltips.Settings.ClearCache" xml:space="preserve"><value>Delete the cache contents now</value></data>
<data name="Tooltips.Settings.ClearCacheAsk" xml:space="preserve"><value>Delete spilled frames and cached thumbnails; asks first</value></data>
@@ -731,6 +738,7 @@
<data name="Tooltips.Settings.KeepIndex" xml:space="preserve"><value>Keep the index as it is</value></data>
<data name="Tooltips.Settings.KeepLogs" xml:space="preserve"><value>Log files last written longer ago are deleted</value></data>
<data name="Tooltips.Settings.KeepSettings" xml:space="preserve"><value>Keep every setting as it is</value></data>
<data name="Tooltips.Settings.KeepWorkspace" xml:space="preserve"><value>Keep the workspace folder in use</value></data>
<data name="Tooltips.Settings.KeptVersions" xml:space="preserve"><value>How many of the library's versions each project keeps on this PC besides those not sent; older ones stay in the library</value></data>
<data name="Tooltips.Settings.Language" xml:space="preserve"><value>Language of the interface · applies immediately</value></data>
<data name="Tooltips.Settings.LogFileSize" xml:space="preserve"><value>A log file that reaches this size continues in a new numbered file</value></data>
@@ -794,7 +802,8 @@
<data name="Tooltips.Settings.Tier.Native" xml:space="preserve"><value>Every pixel is decoded</value></data>
<data name="Tooltips.Settings.Tier.Unavailable" xml:space="preserve"><value>No decoder on this PC reads its pixels; such frames are left out of renders</value></data>
<data name="Tooltips.Settings.UsageCounts" xml:space="preserve"><value>Send a daily anonymous count of versions and languages in use; nothing else, off by default</value></data>
<data name="Tooltips.Settings.WorkspaceFolder" xml:space="preserve"><value>The workspace's folder (a fast disk is best); moving it comes in a later update</value></data>
<data name="Tooltips.Settings.UseWorkspace" xml:space="preserve"><value>Edit uses this folder from now on; nothing is moved or deleted</value></data>
<data name="Tooltips.Settings.WorkspaceFolder" xml:space="preserve"><value>The workspace's folder (a fast disk is best); Change uses another one, moving it comes in a later update</value></data>
<data name="Tooltips.Settings.WorkspaceSync" xml:space="preserve"><value>Send each version you save to the library at once, and take the library's new versions</value></data>
<data name="Tooltips.Setup.AllUsers" xml:space="preserve"><value>Install in Program Files for every account · asks for administrator approval</value></data>
<data name="Tooltips.Setup.AllUsersOnly" xml:space="preserve"><value>{0} · it runs as a Windows service, so it installs for all users in Program Files</value></data>