FIX: Open provided file at startup #1571

Closed
opened 2026-04-05 18:27:20 +02:00 by MrUnknownDE · 0 comments
Owner

Originally created by @kisslorand on 11/19/2025

Opening OrcaSlicer by double-clicking an STL/3MF (or sending a model from Fusion360) caused the model to appear for a split second and then vanish, leaving an empty build plate.

This regression came from porting a change from Bambu Studio. The fix was correct for their codebase, but since OrcaSlicer doesn't have that issue, bringing it over ended up causing startup files to be ignored.

This PR restores the correct behavior:

  • If OrcaSlicer is launched with a file, that file now loads and stays visible.
  • If OrcaSlicer is launched without a file, the normal “restore previous project” behavior still works.

This makes file-based launching reliable again.

Fixes #11438

*Originally created by @kisslorand on 11/19/2025* Opening OrcaSlicer by double-clicking an STL/3MF (or sending a model from Fusion360) caused the model to appear for a split second and then vanish, leaving an empty build plate. This regression came from porting [a change](https://github.com/kisslorand/OrcaSlicer/commit/7eaabc485660a26e19ecbb63c1e7ef9e92f27473) from Bambu Studio. The fix was correct for their codebase, but since OrcaSlicer doesn't have that issue, bringing it over ended up causing startup files to be ignored. This PR restores the correct behavior: - If OrcaSlicer is launched with a file, that file now loads and stays visible. - If OrcaSlicer is launched without a file, the normal “restore previous project” behavior still works. This makes file-based launching reliable again. Fixes #11438
Sign in to join this conversation.
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github/OrcaSlicer#1571