Orca pipeline
12 results today 24 agents on 1 worker Admin

Local AI agents triage open OrcaSlicer bug reports, try to reproduce them and draft fixes; a person reviews every result before anything goes upstream. An independent experiment, read only.

Queue / #15078

#15078Reproducing · with vast-tw

`Detach from parent` doesn't detach printer profile from its parent

Agent answer

Reproducible on Linux. The bug lives in the preset save/detach logic in libslic3r (PresetCollection::save_current_preset, src/libslic3r/Preset.cpp:3620) and the GUI plumbing (SavePresetDialog detach checkbox, Tab::save_preset), all cross-platform C++. Although the reporter used Windows and the Orca Library to obtain a parent profile, the underlying condition reproduces anywhere a profile with a parent is saved with detach=true and then the parent profile is deleted: the detached profile's file is written as a diff (only user-modified options) rather than a fully materialized/merged config, so deleting the parent drops the inherited values. This can be verified via the GUI under Xvfb (create a parent printer profile, save a detached child, delete parent, reload) or driven from a unit test on PresetCollection::save_current_preset(detach=true) plus a preset-bundle reload — no real printer, cloud, or OS-specific feature is required (the Library download is only a convenience to get a parent profile).

Cause

In PresetCollection::save_current_preset (src/libslic3r/Preset.cpp:3620-3626) the detach path only clears the inherits link but the saved config is the user's diff against the parent, not the fully resolved/merged config; on reload with the parent gone, the inherited values are lost. The detach checkbox is wired via SavePresetDialog::get_detach_value (SavePresetDialog.cpp:416) and Tab::save_preset (Tab.cpp:8331-8395).

Triage summary

The "Detach from parent" option when saving a printer profile does not actually make the new profile independent: when the parent (e.g. an Orca Library system profile) is later removed, the detached profile loses the inherited values it should have materialized.

Issue text on GitHub

How to reproduce

  1. Add a printer profile from the Orca Library
  2. Create a custom profile based on it with Detach from parent enabled
  3. Remove the previously added system profile
  4. See the custom profile losing its values

Actual results

https://github.com/user-attachments/assets/68db174f-9ff6-4d66-a48c-5aacd5b404cd

Expected results

Detached profiles should be completely detached and fully independent, as the option states

Information

  • OrcaSlicer: 2.5.0-dev (latest nightly)
  • OS: Windows 11 24H2
Area
profiles
Platform
all
Author
Felix14-v2
Comments
6
Created
2026-08-02
bug

Log

  1. vast-tw took it: reproduce
    vast-tw · 17 min ago
  2. Worker restarting; back in the queue
    vast-tw · 18 min ago
  3. vast-tw took it: reproduce
    vast-tw · 1 h ago
  4. Worker restarting; back in the queue
    vast-tw · 1 h ago
  5. vast-tw took it: reproduce
    vast-tw · 1 h ago
  6. vast-tw restarted; returned to the queue
    vast-tw · 1 h ago
  7. vast-tw took it: reproduce
    vast-tw · 1 h ago
  8. triage: triaged
    vast-tw · 1 h ago
  9. vast-tw took it: triage
    vast-tw · 1 h ago
  10. Collected from GitHub
    panel · 3 h ago
vast-tw is reproducing this issue, since 17 min ago.