[GH-ISSUE #299] [Bug]: Opening model to slice doesn't work (Linux / Brave browser) #186

Closed
opened 2026-05-06 12:26:50 +02:00 by BreizhHardware · 9 comments

Originally created by @jhf2442 on GitHub (Feb 8, 2026).
Original GitHub issue: https://github.com/maziggy/bambuddy/issues/299

Originally assigned to: @maziggy on GitHub.

Bug Description

when clicking on "Slice" button, browser asks to open using external app - then claims not found

Image Image

Using firefox:
Prevented navigation to “bambustudioopen://http%3A%2F%2Flocalhost%3A5173%2Fapi%2Fv1%2Farchives%2F1%2Ffile%2FMicro%2520Screwdriwer%2520Handle%2520for%2520Ants%2520and%2520tight%2520spaces.3mf” due to an unknown protocol.

My interpretation is that bambustudioopen:// handler is not registered in system - who should have done it ? Bambustudio ?

Installation issue under (Arch)Linux ? Is this working out of the box under Windows ?

3MF files are associated with Bambustudio - double click from file manager works fine.

Expected Behavior

Bambu studio opens, downloads the file and slices

Steps to Reproduce

  1. go to archives
  2. click on "slice" for one model

Printer Model

P1S

Bambuddy Version

0.1.8.1

Printer Firmware Version

00

Installation Method

Manual (git clone)

Operating System

Linux (Other)

Relevant Logs / Support Package


Screenshots

No response

Additional Context

No response

Checklist

  • I have searched existing issues to ensure this bug hasn't already been reported
  • I am using the latest version of Bambuddy
  • My printer is set to LAN Only mode
Originally created by @jhf2442 on GitHub (Feb 8, 2026). Original GitHub issue: https://github.com/maziggy/bambuddy/issues/299 Originally assigned to: @maziggy on GitHub. ### Bug Description when clicking on "Slice" button, browser asks to open using external app - then claims not found <img width="543" height="179" alt="Image" src="https://github.com/user-attachments/assets/b355f27c-ffdd-4a04-8f45-84a36bed1c57" /> <img width="445" height="223" alt="Image" src="https://github.com/user-attachments/assets/5e705c3f-39b5-4e83-af3f-7511a110a7b4" /> Using firefox: Prevented navigation to “bambustudioopen://http%3A%2F%2Flocalhost%3A5173%2Fapi%2Fv1%2Farchives%2F1%2Ffile%2FMicro%2520Screwdriwer%2520Handle%2520for%2520Ants%2520and%2520tight%2520spaces.3mf” due to an unknown protocol. My interpretation is that bambustudioopen:// handler is not registered in system - who should have done it ? Bambustudio ? Installation issue under (Arch)Linux ? Is this working out of the box under Windows ? 3MF files are associated with Bambustudio - double click from file manager works fine. ### Expected Behavior Bambu studio opens, downloads the file and slices ### Steps to Reproduce 1. go to archives 2. click on "slice" for one model ### Printer Model P1S ### Bambuddy Version 0.1.8.1 ### Printer Firmware Version 00 ### Installation Method Manual (git clone) ### Operating System Linux (Other) ### Relevant Logs / Support Package ```shell ``` ### Screenshots _No response_ ### Additional Context _No response_ ### Checklist - [x] I have searched existing issues to ensure this bug hasn't already been reported - [x] I am using the latest version of Bambuddy - [ ] My printer is set to LAN Only mode
BreizhHardware 2026-05-06 12:26:50 +02:00
  • closed this issue
  • added the
    wontfix
    label
Author
Owner

@maziggy commented on GitHub (Feb 8, 2026):

Your analysis is correct — the bambustudioopen:// protocol handler is registered by Bambu Studio during installation, not by Bambuddy. Bambuddy simply uses this protocol to hand off files to the slicer.

On Linux, this depends on how Bambu Studio was installed. Some installation methods (especially AppImage) may not register the protocol handler with your desktop environment. You may need to manually create a .desktop file that registers the bambustudioopen:// scheme:

[Desktop Entry]
Type=Application
Name=Bambu Studio URL Handler
Exec=/path/to/BambuStudio %u
MimeType=x-scheme-handler/bambustudioopen;
NoDisplay=true

Then register it:
xdg-mime default bambustudio-url.desktop x-scheme-handler/bambustudioopen

This is a Bambu Studio setup issue rather than a Bambuddy bug, so I'll close this as out of scope — but happy to help if you need more guidance getting the handler registered!


If you find Bambuddy useful, please consider giving it a on GitHub — it helps others discover the project!

<!-- gh-comment-id:3867277740 --> @maziggy commented on GitHub (Feb 8, 2026): Your analysis is correct — the bambustudioopen:// protocol handler is registered by Bambu Studio during installation, not by Bambuddy. Bambuddy simply uses this protocol to hand off files to the slicer. On Linux, this depends on how Bambu Studio was installed. Some installation methods (especially AppImage) may not register the protocol handler with your desktop environment. You may need to manually create a .desktop file that registers the bambustudioopen:// scheme: [Desktop Entry] Type=Application Name=Bambu Studio URL Handler Exec=/path/to/BambuStudio %u MimeType=x-scheme-handler/bambustudioopen; NoDisplay=true Then register it: xdg-mime default bambustudio-url.desktop x-scheme-handler/bambustudioopen This is a Bambu Studio setup issue rather than a Bambuddy bug, so I'll close this as out of scope — but happy to help if you need more guidance getting the handler registered! ----- If you find Bambuddy useful, please consider giving it a ⭐ on [GitHub](https://github.com/bambuman/bambuddy) — it helps others discover the project!
Author
Owner

@jhf2442 commented on GitHub (Feb 8, 2026):

Many thanks. Not using snap.

For reference: under /opt/bambustudio-bin I could find a .desktop file and register it using the xdg-mime command you provided. Now bambu-studio opens when clicking on the "slice" button

However:

Image

The url seems to be fine, feeding it (without the bambustudiopen part) into a browser yiuelds to downloading the 3mf file

<!-- gh-comment-id:3867518959 --> @jhf2442 commented on GitHub (Feb 8, 2026): Many thanks. Not using snap. For reference: under /opt/bambustudio-bin I could find a .desktop file and register it using the xdg-mime command you provided. Now bambu-studio opens when clicking on the "slice" button However: <img width="495" height="377" alt="Image" src="https://github.com/user-attachments/assets/1832333e-c9b0-4308-92be-259531f2971d" /> The url seems to be fine, feeding it (without the bambustudiopen part) into a browser yiuelds to downloading the 3mf file
Author
Owner

@maziggy commented on GitHub (Feb 8, 2026):

Don't know where the file in /opt/bambustudio-bin comes from. Not from Bambuddy!

<!-- gh-comment-id:3867528910 --> @maziggy commented on GitHub (Feb 8, 2026): Don't know where the file in /opt/bambustudio-bin comes from. Not from Bambuddy!
Author
Owner

@jhf2442 commented on GitHub (Feb 8, 2026):

No, was provided by the arch linux package - no idea why this was not sourced into mime types

<!-- gh-comment-id:3867555259 --> @jhf2442 commented on GitHub (Feb 8, 2026): No, was provided by the arch linux package - no idea why this was not sourced into mime types
Author
Owner

@maziggy commented on GitHub (Feb 8, 2026):

Aha...don't know. Where does that come from? ;)

<!-- gh-comment-id:3867558300 --> @maziggy commented on GitHub (Feb 8, 2026): Aha...don't know. Where does that come from? ;)
Author
Owner

@Bgabor997 commented on GitHub (Feb 16, 2026):

having the same issue, did u managed to figure out? @jhf2442

<!-- gh-comment-id:3906883268 --> @Bgabor997 commented on GitHub (Feb 16, 2026): having the same issue, did u managed to figure out? @jhf2442
Author
Owner

@Bgabor997 commented on GitHub (Feb 16, 2026):

not sure if its accurate or not, but if I'm clicking the button on makerworld it tries to open a differently structured url. is that open supposed to be before the :// part?

Image Maybe if u have a moment to check i would thank you @maziggy
<!-- gh-comment-id:3906901414 --> @Bgabor997 commented on GitHub (Feb 16, 2026): not sure if its accurate or not, but if I'm clicking the button on makerworld it tries to open a differently structured url. is that open supposed to be before the :// part? <img width="1438" height="751" alt="Image" src="https://github.com/user-attachments/assets/90608351-8cb0-4f13-a098-7ccc8772cc85" /> Maybe if u have a moment to check i would thank you @maziggy
Author
Owner

@maziggy commented on GitHub (Feb 16, 2026):

The open is a path component, not part of the protocol name.

Sorry, I don't know what to do. This is a OS and/or browser realted issue.

<!-- gh-comment-id:3906958991 --> @maziggy commented on GitHub (Feb 16, 2026): The open is a path component, not part of the protocol name. Sorry, I don't know what to do. This is a OS and/or browser realted issue.
Author
Owner

@Bgabor997 commented on GitHub (Feb 16, 2026):

haha i can see 😄 it show bambustudio on virtual windows, but on ubuntu it show bambustudioopen on every browser

<!-- gh-comment-id:3907043751 --> @Bgabor997 commented on GitHub (Feb 16, 2026): haha i can see 😄 it show bambustudio on virtual windows, but on ubuntu it show bambustudioopen on every browser
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/bambuddy#186
No description provided.