Fix active filament preset not matching wizard selection on first run #919

Closed
opened 2026-04-05 16:35:38 +02:00 by MrUnknownDE · 0 comments
Owner

Originally created by @SoftFever on 2/1/2026

Summary

  • Fix a bug where completing the setup wizard with a non-PLA filament (e.g. Generic ABS) resulted in Generic PLA being set as the active filament preset instead of the user's selection
  • Add post-load correction in GuideFrame::apply_config() that switches the active filament to the first compatible wizard-selected filament when the current selection is not in the wizard's filament list
  • Fix guide JS files (22.js, 23.js) to use the filalist attribute for building the filament selection array
  • Add platform-specific build test commands to CLAUDE.md

Test plan

  • Clean config directory to simulate first run
  • Run wizard → select a printer → select only "Generic ABS" → Finish
  • Verify orca_presets entry for the selected printer has "filament": "Generic ABS @System" (not PLA)
  • Verify the sidebar filament dropdown shows "Generic ABS @System"
  • Re-run wizard, add a second filament → verify active filament is preserved (not switched)
  • Re-run wizard, remove the currently active filament → verify it switches to an available one
*Originally created by @SoftFever on 2/1/2026* ## Summary - Fix a bug where completing the setup wizard with a non-PLA filament (e.g. Generic ABS) resulted in Generic PLA being set as the active filament preset instead of the user's selection - Add post-load correction in `GuideFrame::apply_config()` that switches the active filament to the first compatible wizard-selected filament when the current selection is not in the wizard's filament list - Fix guide JS files (22.js, 23.js) to use the `filalist` attribute for building the filament selection array - Add platform-specific build test commands to CLAUDE.md ## Test plan - [x] Clean config directory to simulate first run - [x] Run wizard → select a printer → select only "Generic ABS" → Finish - [x] Verify `orca_presets` entry for the selected printer has `"filament": "Generic ABS @System"` (not PLA) - [x] Verify the sidebar filament dropdown shows "Generic ABS @System" - [x] Re-run wizard, add a second filament → verify active filament is preserved (not switched) - [x] Re-run wizard, remove the currently active filament → verify it switches to an available one
Sign in to join this conversation.
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github/OrcaSlicer#919