OrcaSlicer icon indicating copy to clipboard operation
OrcaSlicer copied to clipboard

Issue where Orca Slicer 2.2 (release) overrides Bambu Studio opening files from web - setting governing association with files are no longer accessible

Open sfarkhan opened this issue 1 year ago • 16 comments

Is there an existing issue for this problem?

  • [X] I have searched the existing issues

OrcaSlicer Version

2.2

Operating System (OS)

macOS

OS Version

15.1

Additional system information

MacBook Pro M1 16" 16GB

Printer

Creality CR-6 SE (Klipper) and Bambu X1C

How to reproduce

I use Bambu Studio on Makerworld.com to open projects. Once I updated Orca to 2.2 release, Orca now overrides all 3MF files from my tested web browsers - Chrome/Firefox/Safari.

Actual results

Orca overrides and it didn't in 2.2. Beta. I have no idea how to access the settings to change these in Orca as they don't appear. I have attached screen shots from a friend's Orca and mine issue-where-orca-slicer-2-2-release-overrides-bambu-studio-v0-4zp9syg2fdyd1 Screenshot 2024-11-01 at 7 13 28 PM

Expected results

I should be able to access the settings and the existing defaults shouldn't be overwritten or at least a prompt to change would be nice.

Project file & Debug log uploads

N/A this is a UI issue

Checklist of files to include

  • [ ] Log file
  • [ ] Project file

Anything else?

No response

sfarkhan avatar Nov 01 '24 23:11 sfarkhan

I tried selecting "Developer Mode" and the Associate Web Links don't show up

sfarkhan avatar Nov 02 '24 01:11 sfarkhan

Update, another friend on Mac OS can replicate this issue.

sfarkhan avatar Nov 06 '24 19:11 sfarkhan

Same problem with MacBook Pro M4 and Sequoia.

miguesan01 avatar Nov 16 '24 17:11 miguesan01

Same Problem! Please fix this!

SHIELD1011 avatar Nov 24 '24 10:11 SHIELD1011

Additional information: This is not a file association issue as I've gone that route and associated all mf3 files with Bambu to see if I can circumvent Orca and it does not work from any browser Safari, Chrome, Firefox all exhibit the same issue. Associating the mf3 with Bambu works from opening in the Finder by clicking an mf3 but any browser and it defaults to Orca. Finally, I contacted Apple support to ask if this is a system setting and they said there is no way to change this in the system aside from what I've already tried above and the issue is with Orca Slicer.

sfarkhan avatar Nov 24 '24 15:11 sfarkhan

Same issue here, very annoying

dedgedesign avatar Nov 26 '24 17:11 dedgedesign

Same here, and I have tried averything

BoliverRob avatar Nov 28 '24 13:11 BoliverRob

Seems OrcaSlicer sets itself to open bambustudio links by default. (Ref: https://github.com/SoftFever/OrcaSlicer/issues/3753)

Eitherways, I was able to change it by installing SwiftDefaultApps from here: https://github.com/Lord-Kamina/SwiftDefaultApps

After installing, go to System Settings > SwiftDefaultApps > URI Schemes > bambustudioopen and select the "Viewer" as Bambu Studio.app

Screenshot 2024-11-29 at 5 16 51 PM

NotAmaan avatar Nov 29 '24 11:11 NotAmaan

Seems OrcaSlicer sets itself to open bambustudio links by default. (Ref: #3753)

Eitherways, I was able to change it by installing SwiftDefaultApps from here: https://github.com/Lord-Kamina/SwiftDefaultApps

After installing, go to System Settings > SwiftDefaultApps > URI Schemes > bambustudioopen and select the "Viewer" as Bambu Studio.app

Screenshot 2024-11-29 at 5 16 51 PM

It works! Thank you!

miguesan01 avatar Nov 29 '24 18:11 miguesan01

Confirmed that this is still an issue, though SwiftDefaultApps takes care of it.

mherren avatar Dec 14 '24 03:12 mherren

Same Problem here.

bergjet avatar Dec 22 '24 18:12 bergjet

+1

matthewjschultz avatar Dec 22 '24 22:12 matthewjschultz

+1

cepheiden avatar Jan 04 '25 19:01 cepheiden

Yup

JonLaliberte avatar Jan 10 '25 16:01 JonLaliberte

Ran into this problem, solved it with a reddit comment to use duti.

copying comment here

The only way I have found to fix this involves Terminal, HomeBrew and a utility called duti

If you have Homebrew already installed add duti:

brew install duti

Then run this command:

duti  -s com.bambulab.bambu-studio bambustudioopen

If you want to use Orcaslicer then run:

duti  -s com.softfever3d.orca-slicer bambustudioopen

aizatto avatar Jan 21 '25 03:01 aizatto

@SoftFever and friends this is still a problem a few months later sadly, just ran into this today, and it's very irksome on macos

psiberfunk avatar Mar 05 '25 20:03 psiberfunk

I'm having the same problem on the 2.3.0 rc, MacBook pro m2 pro

shapeepo avatar Mar 14 '25 03:03 shapeepo

It's tricky because macOS doesn't allow applications to register protocol handlers dynamically. On Windows, I added options so that users set the option by themselves. But it's impossible on Mac, it has been decided when compiling the application.

Some users want OrcaSlicer to handle MakerWorld links on Mac, while others prefer not to...

https://github.com/SoftFever/OrcaSlicer/issues/3753#issuecomment-2366742614

SoftFever avatar Mar 16 '25 06:03 SoftFever

IIRC:

Although the registration is declared statically, functions like LSSetDefaultHandlerForURLScheme exist to programmatically change the system’s default handler for a URL scheme. This means that even if the application’s Info.plist includes MakerWorld links, we could, with proper handling and permissions, update the default association at runtime. Users wouldn’t be stuck with a compile-time decision; they could trigger a change that effectively registers or deregisters OrcaSlicer as the default handler.

On Mar 16, 2025, at 2:40 AM, SoftFever @.***> wrote:

It's tricky because macOS doesn't allow applications to register protocol handlers dynamically. On Windows, I added options so that users set the option by themselves. But it's impossible on Mac, it has been decided when compiling the application.

Some users want OrcaSlicer to handle MakerWorld links on Mac, while others prefer not to...

psiberfunk avatar Mar 16 '25 12:03 psiberfunk

It's deprecated. Mac OS newer than 12.0 don't support this API anymore.

I might revert the change for 2.3.1, so that On Mac Orca won't handle that protocol. For now please use that command line method as a workaround.

SoftFever avatar Mar 16 '25 15:03 SoftFever

Hrmmm is there no way to change it in system preferences then ? That’s where it was apparently moved to

On Mar 16, 2025, at 8:30 AM, Adam Lesser @.***> wrote:

LSSetDefaultHandlerForURLScheme

psiberfunk avatar Mar 16 '25 15:03 psiberfunk

add some kind of user interface that allows me to choose which software to open in?

LittleSound avatar Apr 04 '25 05:04 LittleSound

Is there a similar solution or workaround for Windows? I uninstalled Orca and tried everything but couldn't get the Makerworld links to open Bambu Studio

luminescence69 avatar Apr 22 '25 15:04 luminescence69

Homebrew option worked for me. I gotta make a shortcut so I can just swap easily.

drkpxl avatar Jun 02 '25 03:06 drkpxl

Orca bot: this issue is stale because it has been open for 90 days with no activity.

github-actions[bot] avatar Sep 01 '25 00:09 github-actions[bot]

Same problem on Linux with 2.3.1-alpha (6ae89f7). Very annoying.

avxmw avatar Sep 04 '25 17:09 avxmw

Yes same problem still here on m2 mac. Very annoying indeed

chielboogaard avatar Sep 30 '25 19:09 chielboogaard