Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] Windows 11 app cannot connect and does not show up under privacy settings #574

Open
Arimodu opened this issue Dec 2, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@Arimodu
Copy link

Arimodu commented Dec 2, 2024

Describe the bug
Application cannot connect to earbuds and displays the following message:
image

However, it does not show up under the settings category at all and the category above that the option is greyed out:
image
image

To Reproduce
Fresh install and select earbuds on a windows 11 23H2 machine

Expected behavior
See the app in settings to enable or connect to earbuds

Screenshots
Uploaded above

Desktop (please complete the following information):

  • OS: Windows 11 23H2 64-bit, English
  • Application version: 5.1.0.0

Additional context
Windows install is relatively fresh (device is 2 months old and I installed on a blank SSD)
System is running RevisionOS Playbook.

Log files
In most cases if you have a bug, log file will be required - it is located at %localappdata%\GalaxyBudsClient\application.log
App ran as administrator: application.log
Standard application start: application-prev.log

@Arimodu Arimodu added the bug Something isn't working label Dec 2, 2024
@Arimodu
Copy link
Author

Arimodu commented Dec 3, 2024

Alright, after some more troubleshooting today I figured out that for some reason, either on windows 11 as a whole or on my specific system, this seems to always return DeniedByUser regardless of settings.

var accessStatus = DeviceAccessInformation.CreateFromId(matches[0].Id).CurrentStatus;
if (accessStatus == DeviceAccessStatus.DeniedByUser)
{
Log.Error($"WindowsRT.BluetoothService: Access to device explicitly denied by user");
BluetoothErrorAsync?.Invoke(this,
new BluetoothException(BluetoothException.ErrorCodes.ConnectFailed,
"This app does not have access to connect to the remote device (please grant access in Settings > Privacy > Other Devices"));
return;
}

For the time being commenting out the check for DeniedByUser fixed my issue and the app works as expected. I recompiled a version for myself and will use that for now...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant