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 internalPreset::name:src/slic3r/GUI/UnsavedChangesDialog.cpp:2161-2172creates plainPresetComboBoxwidgets for printer/print/filament rows.src/slic3r/GUI/PresetComboBoxes.cpp:494-497—PresetComboBox::get_preset_name()returnsfrom_u8(preset.name).src/slic3r/GUI/UnsavedChangesDialog.cpp:2523— header textformat_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 returnsaliaswhen set): sidebar combosPresetComboBoxes.cpp:1229-1232, preset tabs:1779-1785,GUI_Factories.cpp:1213/2002/2729,Plater.cpp:4756/16458,calib_dlg.cpp:176.Preset::label()is atsrc/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 insrc/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 forfind_preset()/update_compatibility(), cf. the existing alias resolution helper atPresetComboBoxes.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
- I exported a bundle from 2.4.2.
- Ran the latest nightly appimage with a clean datadir.
- Went through the wizard.
- Imported the bundle.
- Created a new project.
- 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.
Expected results
I expect to see the actual names of the printer, filament and process.
Project file & Debug log uploads
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
Log
- vast-tw took it: reproducevast-tw · 18 min ago
- Worker restarting; back in the queuevast-tw · 18 min ago
- vast-tw took it: reproducevast-tw · 1 h ago
- Worker restarting; back in the queuevast-tw · 1 h ago
- vast-tw took it: reproducevast-tw · 1 h ago
- vast-tw restarted; returned to the queuevast-tw · 1 h ago
- vast-tw took it: reproducevast-tw · 1 h ago
- triage: triagedvast-tw · 1 h ago
- vast-tw took it: triagevast-tw · 1 h ago
- Collected from GitHubpanel · 3 h ago