mirror of
https://github.com/kavishdevar/librepods.git
synced 2026-04-25 08:05:56 +03:00
[PR #95] [MERGED] [Linux] Implement proper disconnection detection #281
Labels
No labels
android
bug
documentation
enhancement
good first issue
help wanted
linux
pull-request
reverse-engineering
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/librepods#281
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/kavishdevar/librepods/pull/95
Author: @tim-gromeyer
Created: 4/14/2025
Status: ✅ Merged
Merged: 4/14/2025
Merged by: @tim-gromeyer
Base:
main← Head:linux-disconnection-detection📝 Commits (4)
a313a80[Linux] Implement proper disconection detection29b167aOnly trigger on airpod devicesb7c4fcaRemove unused code10047ae[Linux] Fix SegmentedControl text not shown in release build (but debug builds showed text)???📊 Changes
5 files changed (+156 additions, -108 deletions)
View changed files
➕
linux/BluetoothMonitor.cpp(+93 -0)➕
linux/BluetoothMonitor.h(+26 -0)📝
linux/CMakeLists.txt(+2 -0)📝
linux/SegmentedControl.qml(+12 -0)📝
linux/main.cpp(+23 -108)📄 Description
By watching the bluz dbus, we now have proper disconnection detection.
The previous code did not work, for l2cap sockets, Qt's disconnected event isn't emitted reliably.
This code even triggers when we disable bluetooth.
Fixed:
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.