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

Handle incomplete StatusNotifierWatchers #2334

Merged
merged 1 commit into from
Apr 7, 2024

Conversation

cschramm
Copy link
Member

@cschramm cschramm commented Apr 7, 2024

kded6 provides an org.kde.StatusNotifierWatcher service without its usual /StatusNotifierWatcher object if Plasma Workspace's StatusNotifierWatcher module is registered but not loaded (https://invent.kde.org/plasma/plasma-workspace/-/merge_requests/3301). We thus cannot just assume the whole service to be unavailable if the registration fails as we restart the tray application when the name appears.

This is a problem if the Plasma Workspace is around especially on i3 where no other application registers org.kde.StatusNotifierWatcher.

Closes #2311

kded6 provides an `org.kde.StatusNotifierWatcher` service without its usual `/StatusNotifierWatcher` object if Plasma Workspace's StatusNotifierWatcher module is registered but not loaded (https://invent.kde.org/plasma/plasma-workspace/-/merge_requests/3301). We thus cannot just assume the whole service to be unavailable if the registration fails as we restart the tray application when the name appears.

This is a problem if the Plasma Workspace is around especially on i3 where no other application registers `org.kde.StatusNotifierWatcher`.

Closes blueman-project#2311
@cschramm cschramm requested a review from infirit April 7, 2024 21:44
@cschramm cschramm linked an issue Apr 7, 2024 that may be closed by this pull request
Copy link

sonarcloud bot commented Apr 7, 2024

Quality Gate Passed Quality Gate passed

Issues
0 New issues
0 Accepted issues

Measures
0 Security Hotspots
No data about Coverage
No data about Duplication

See analysis details on SonarCloud

@cschramm cschramm enabled auto-merge (rebase) April 7, 2024 21:45
@cschramm cschramm added this to the 2.4.1 milestone Apr 7, 2024
@cschramm cschramm merged commit 8bc514f into blueman-project:2-4-stable Apr 7, 2024
20 of 21 checks passed
@cschramm cschramm deleted the sni branch April 7, 2024 22:28
@cschramm cschramm mentioned this pull request May 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Rapid dis- and reappearing of the blueman applet icon
2 participants