Can't add custom filament due to printer not populating
Agent answer
Reproducible on Linux? Yes. This is pure GUI/preset-selection logic in CreatePresetsDialog.cpp (no hardware, network, cloud, or OS-specific code). Reproduce under Xvfb by adding a generic/Marlin user printer that has no matching built-in filament preset (e.g. an Ender 3 Pro added via the custom-printer wizard), then open Filament ▸ Add/Remove ▸ Create new, choose a vendor+type, and select a base filament preset — the "We could create the filament presets for your following printer" panel stays empty and Create is blocked by the dialog at CreatePresetsDialog.cpp:1205.
Root cause. For the "Create Based on Current Filament" path, the printer list is built by intersecting each base preset's compatible_printers with the visible printers (CreatePresetsDialog.cpp:1069-1082, and 1486-1516 for the machine-based path). The earlier fix (PR #10362) added a fallback that lists all visible printers only when compatible_printers is empty (1051-1068 / 1445-1485). It does nothing when compatible_printers is non-empty but does not contain the user's printer — the exact situation for an owner of a generic/older printer such as the Ender 3 Pro, whose added printer is never named in stock filament compatible_printers. The resulting empty intersection leaves nothing to tick, so is_check_box_selected() (823-834) returns false and creation is refused.
Suggested fix direction. When the intersection of a base preset's compatible_printers and m_visible_printers is empty, fall back to offering all visible printers (matching the existing empty-compatible_printers handling), so a custom filament can still be created against any user-added printer.
Notes. The reporter is on Windows 11, but the code path is platform-independent (reported OS is incidental), so it should reproduce identically on Linux. Two asserts in the area (1571 duplicate visible-printer name, 1336 same filament_id mapping to >1 public name) are debug-only and not the cause here, but worth guarding while fixing.
Cause
src/slic3r/GUI/CreatePresetsDialog.cpp:1069-1082 (per-preset path) and 1486-1516 (by-machine path): printer checkboxes are built only from presets whose compatible_printers match m_visible_printers. PR #10362's fallback (1051-1068 / 1445-1485) only triggers when compatible_printers is empty, not when it is non-empty but excludes the user's printer. The OK handler then fails is_check_box_selected() at line 1205 with "You have not selected a printer or preset yet."
Triage summary
In the "Create Filament" dialog, the printer checkbox panel is populated only from base filament presets whose compatible_printers intersect the visible printers; with no fallback when that intersection is empty, so users with only a generic/older printer (e.g. Ender 3 Pro) see an empty list and cannot create a custom filament.
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.3
Regression compared to a previous version
not sure when it stopped working
Operating System (OS)
Windows
OS Version
11
Additional system information
No response
Printer
Creality Ender 3 Pro
How to reproduce
This was an issue that was fixed before:
https://github.com/OrcaSlicer/OrcaSlicer/pull/10362
Go to filament > add/remove filament > custom filaments > create new
Fill in info, click Create (there are no printers to select)
Resulting dialog: 'You have not selected a printer or preset yet. Please select at least one.'
Actual results
cannot create a filament
Expected results
create a filament!
Project file & Debug log uploads
Checklist of files to include
- [ ] Log file
- [ ] Project file
Anything else?
- Area
- gui
- Platform
- all
- Author
- lliepert1
- Comments
- 1
- Created
- 2026-12-03
Log
- vast-tw took it: reproducevast-tw · 17 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