raycast / extensions

Everything you need to extend Raycast.
https://developers.raycast.com
MIT License
5.17k stars 2.88k forks source link

[Toothpick] Disconnect doesn't work on Intel mac #8997

Closed powersagitar closed 10 months ago

powersagitar commented 10 months ago

Extension

https://www.raycast.com/VladCuciureanu/toothpick

Description

Toothpick doesn't disconnect the mac from bluetooth devices. Each time clicking on the disconnect button or hit enter, a message shows up saying Device disconnected successfully despite nothing is really disconnected.

Steps To Reproduce

Environment: MacBook Pro 2017 running macOS 14.0 (23A344) with the help of OpenCore Legacy Patcher 1.1.0. Note: The disconnect feature also didn't work in the past year before the machine was upgraded to Sonoma (it was running Ventura a year ago).

Steps to reproduce:

  1. Open Raycast and type toothpick, then select Manage Bluetooth Connections.
  2. Find a random connected bluetooth device and either click the Disconnect button or hit enter.
  3. Device isn't disconnected.

Current Behaviour

Toothpick doesn't disconnect the mac from the bluetooth device.

Expected Behaviour

Toothpick closes the connection between the mac and the bluetooth device.

raycastbot commented 10 months ago

Thank you for opening this issue!

🔔 @VladCuciureanu @briankosw @VladCuciureanu @sxn you might want to have a look.

💡 Author and Contributors commands The author and contributors of `VladCuciureanu/toothpick` can trigger bot actions by commenting: - `@raycastbot close this issue` Closes the issue. - `@raycastbot rename this issue to "Awesome new title"` Renames the issue. - `@raycastbot reopen this issue` Reopen the issue.
VladCuciureanu commented 10 months ago

This is part of the flakiness introduced by using MacOS's private AppleScript API. I can only suggest to switch over to the experimental blueutils BlueTooth backend as shown here.

Let me know if that helps.

powersagitar commented 10 months ago

Thanks for response. Solution works perfectly, and no problem is observed for now.