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

List devices and battery levels in status icon tooltip #1911

Merged
merged 3 commits into from
Sep 3, 2023

Conversation

cschramm
Copy link
Member

Issues: BatteryWatcher's users expect it to get destroyed and for that BatteryWatcher expect the Manager and Battery objects to get destroyed. The latter requires #1908 to actually happen and for Manager it does not work due to the self-references it passes to its signal handlers to be able to call its emit method. I'm not sure if and how that could get resolved.

Apart from that I'm not sure how good the idea of using that Unicode symbol actually is... 😅

@sonarcloud
Copy link

sonarcloud bot commented Nov 13, 2022

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
0.0% 0.0% Duplication

@infirit
Copy link
Contributor

infirit commented Mar 17, 2023

I may have unintentionally completely ignored this 😅 . It does need a rebase but in general this looks fine to me.

@cschramm cschramm added this to the 2.4 milestone Aug 19, 2023
@sonarcloud
Copy link

sonarcloud bot commented Aug 23, 2023

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
0.0% 0.0% Duplication

Copy link
Contributor

@infirit infirit left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Works ok. Let's see if the unicode battery character will cause issues :-).
image

@cschramm cschramm marked this pull request as ready for review September 3, 2023 05:54
@cschramm
Copy link
Member Author

cschramm commented Sep 3, 2023

I'm not sure why but it seems like BatteryWatcher instances can now get properly destroyed. 🤔

@cschramm cschramm merged commit c208cac into blueman-project:main Sep 3, 2023
19 checks passed
@cschramm cschramm deleted the tooltip branch September 3, 2023 05:54
@kuraga
Copy link
Contributor

kuraga commented Oct 10, 2023

@cschramm , show the active profile, maybe?

cschramm added a commit to cschramm/blueman that referenced this pull request Apr 3, 2024
cschramm added a commit to cschramm/blueman that referenced this pull request Apr 3, 2024
cschramm added a commit that referenced this pull request Apr 3, 2024
infirit pushed a commit to infirit/blueman that referenced this pull request Apr 3, 2024
infirit pushed a commit that referenced this pull request Apr 7, 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.

Systray icon hint could show a lot more info
3 participants