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 / #15528

#15528Reproducing · with vast-tw

Compare Presets shows UUID instead of name

Agent answer

Triage: #15528 — Compare Presets shows UUID instead of name

Verdict: reproducible/fixable on Linux (GUI bug).

Why it is a real code defect

  • The Compare presets dialog (DiffPresetDialog) builds both its preset dropdowns and its "A vs B" tree header from the internal Preset::name:
    • src/slic3r/GUI/UnsavedChangesDialog.cpp:2161-2172 creates plain PresetComboBox widgets for printer/print/filament rows.
    • src/slic3r/GUI/PresetComboBoxes.cpp:494-497 — PresetComboBox::get_preset_name() returns from_u8(preset.name).
    • src/slic3r/GUI/UnsavedChangesDialog.cpp:2523 — header text format_wxstr(_L("\"%1%\" vs \"%2%\""), left_preset->name, right_preset->name).
  • Every other place in the UI shows the display name through Preset::label() (which returns alias when set): sidebar combos PresetComboBoxes.cpp:1229-1232, preset tabs :1779-1785, GUI_Factories.cpp:1213/2002/2729, Plater.cpp:4756/16458, calib_dlg.cpp:176. Preset::label() is at src/libslic3r/Preset.cpp:959-963.
  • Printer presets therefore look correct (their internal name is the readable model string), while user filament/process presets whose internal name is a UUID/setting_id (imported bundles, cloud-synced presets — see src/slic3r/Utils/OrcaCloudServiceAgent.cpp:1163-1165, where a preset with no name is named after the cloud UUID, and alias derivation in src/libslic3r/Preset.cpp:4580-4606) leak the UUID into the dialog. This matches the report exactly: printer OK, filament + process show a long UUID.

Reproduction on this machine

  • GUI-only, platform-independent (no printer, cloud or OS-specific behaviour needed). Under Xvfb: drop a user filament/process preset whose internal name is a UUID with the human name in the alias (or import a preset bundle that yields such presets), start a project, open the sidebar "A:B" compare-presets dialog and read the combos/tree header. The fix (use preset.label(false) / get_preset_alias() in the diff dialog's combos and header, keeping alias→name resolution for find_preset()/update_compatibility(), cf. the existing alias resolution helper at PresetComboBoxes.cpp:1443-1449) is also assertable with a small unit/GUI test since it is purely a name-resolution change.

Note: get_selection() (UnsavedChangesDialog.cpp:2144-2147) feeds the displayed string into presets->find_preset() and update_compatibility(), so the fix must map the shown label back to the internal name rather than simply swapping the string everywhere.

Cause

src/slic3r/GUI/PresetComboBoxes.cpp:494-497 (PresetComboBox::get_preset_name returns from_u8(preset.name)) and src/slic3r/GUI/UnsavedChangesDialog.cpp:2523 (tree header built from left_preset->name / right_preset->name). All other preset UIs show the human readable name via Preset::label()/alias: PlaterPresetComboBox::get_preset_name at src/slic3r/GUI/PresetComboBoxes.cpp:1229-1232, TabPresetComboBox at :1779-1785, and Preset::label at src/libslic3r/Preset.cpp:959-963 (returns alias when non-empty). Printer presets keep a readable internal name, so only filament/process rows (whose internal name can be a UUID/setting_id, e.g. presets pulled or imported where the display name only lives in the alias, see src/slic3r/Utils/OrcaCloudServiceAgent.cpp:1163-1165 and PresetCollection::set_custom_preset_alias at src/libslic3r/Preset.cpp:4580) show the UUID.

Triage summary

The "Compare presets" dialog shows the internal preset name (a UUID) for filament and process presets, because that dialog uses Preset::name instead of the display label/alias that the rest of the UI uses.

Issue text on GitHub

Is this issue reproducible in the latest nightly build?

  • [x] I have checked the latest nightly build and the issue is still reproducible

Is there an existing issue for this problem?

  • [x] I have searched the existing issues

OrcaSlicer Version

2.5.0-dev f92bd811

Regression compared to a previous version

No response

Operating System (OS)

Linux

OS Version

Manjaro

Additional system information

No response

Printer

Creality Ender 3 V3 KE

How to reproduce

  1. I exported a bundle from 2.4.2.
  2. Ran the latest nightly appimage with a clean datadir.
  3. Went through the wizard.
  4. Imported the bundle.
  5. Created a new project.
  6. Clicked the "A:B" comparison button.

Actual results

The printer name appears correctly, but the filament and process show a very long UUID instead of their names.

Image

Expected results

I expect to see the actual names of the printer, filament and process.

Project file & Debug log uploads

Untitled.zip

Own - Creality Ender-3 V3 KE 0.4 nozzle.orca_printer.zip (remove .zip extension)

Checklist of files to include

  • [ ] Log file
  • [ ] Project file

Anything else?

No response

Area
gui
Platform
all
Author
Beep6581
Comments
3
Created
2026-09-03
bugstale

Log

  1. vast-tw took it: reproduce
    vast-tw · 18 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 18 min ago.