Is there an existing issue for this problem?
- [x] I have searched the existing issues
OrcaSlicer Version
2.3.1
Operating System (OS)
Windows
OS Version
Windows 11
Additional system information
No response
Printer
Prusa XL 5T
How to reproduce
(1) Set up a multi-tool print.
(2) Under printer and/or filament settings, set general retraction to 0.
Under Printer Settings, select your extruders, scroll down to setting Retraction when switching material:
(3) Set Length to any value above 0 (in this case its 20 mm).
(4) Set Extra Length on Restart to any value above 0 (in this case its 4mm).
Actual results
De-retraction after tool change will not include the Extra Length on Restart value. The problematic line of gcode is : G1 E20 F1200

Expected results
De-retraction code should be G1 E24 F1200. Specifically, de-retraction after tool change should be:
Retraction when switching material (Length) = 20
PLUS
Retraction when switching material (Extra Length on Restart) = 4
For a total of 24mm.
Project file & Debug log uploads
Unable to upload project file for commercial reasons. Apologies for the inconvenience.
Checklist of files to include
- [ ] Log file
- [ ] Project file
Anything else?
No response