Skip to content

Keep a saved Cura launchable after a newer Cura is installed - #210

Merged
vycdev merged 3 commits into
developfrom
fix/issue-200-saved-cura-upgrade
Nov 19, 2026
Merged

vycdev merged 3 commits into
developfrom
fix/issue-200-saved-cura-upgrade

Conversation

@vycdev

@vycdev vycdev commented Nov 19, 2026 •

Copy link
Copy Markdown
Owner

Fixes #200.

On Windows, a Cura saved with Always use this slicer was forgotten as soon as a newer Cura was installed next to it. Cura installs each version into its own UltiMaker Cura <version> folder, and detection lists only the newest, so the saved older Cura counted as an unknown app: Open in Slicer said it was missing and showed the chooser again, even though it still worked.

Now, when Kromacut checks a saved or launched slicer, it also accepts any launchable install in a preset's versioned folder directly under Program Files or %LOCALAPPDATA%\Programs. The launch rule stays the same: only detected or picked apps can open models. A path elsewhere, in a folder without a version, or with a different executable is still rejected. The chooser still lists only the newest Cura. Cura is the only preset that uses versioned folders. The fix is only in Rust (slicer_apps.rs).

Proof: a new native test with Cura 5.7.2 and 5.8.0 checks that the saved 5.7.2 stays launchable, the chooser lists 5.8.0, and non-matching paths are rejected, including a versioned Cura folder outside the programs roots. The test fails without the fix, and also fails when the check ignores the programs root. cargo fmt --check, cargo clippy --all-targets -- -D warnings, and cargo test (31 tests) pass on macOS.

Reviewed with sol-loop: 1 round with gpt-6.2-sol. Sol verdict: approved

Council review

Rounds: 2

Delegate Round 1 Round 2
Claude Opus 5.5 9/10 9/10
GPT-6.2 Sol 9/10 9/10

Created with Claude Opus 5.5 in Claude Code (T3 Code).

🤖 Generated with Claude Code

vycdev and others added 3 commits November 19, 2026 22:37
On Windows each Cura version installs into its own folder and detection
lists only the newest, so a saved older Cura counted as unknown and was
forgotten. Validation now also accepts any launchable install in a
preset's versioned folder under a known programs directory.

Fixes #200

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@vycdev
vycdev merged commit 6eabc10 into develop Nov 19, 2026
11 checks passed
vycdev added a commit that referenced this pull request Nov 20, 2026
Merge the four Open in Slicer bullets into one entry for the shipped
flow, fold Multi-head filament requirements into Multi-head printing,
and move the decode-once image work into its own Changed entry. Move
touch-up history fixes that predate v4.3 into Fixed, add the missing
diagnostics folder fix, and reduce the cats benchmark entry to one
Fixed line. Fold in the notes from PRs merged since (#203, #205, #206,
#208, #209, #210, #212, #213) and trim test-only and maintenance
details that do not help users.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
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