Repository navigation
fix(badge): resend the launcher count when the dock comes back (#353) - #354
Closed
thecalamityjoe87 wants to merge 1 commit into
Closed
thecalamityjoe87 wants to merge 1 commit into
thecalamityjoe87 wants to merge 1 commit into
Conversation
…ab#353) The badge went missing or showed the GNOME notification count after an unlock, and opening the window or hitting Refresh didn't bring it back. GNOME Shell turns Ubuntu Dock and Dash to Dock off on the lock screen and back on at unlock. When they come back they have forgotten every badge, and fall back to the notification count until the app sends its count again. set_count skipped any count it had already sent, so Hylki never sent it again. - launcher_badge::resend() forgets the last count sent, so the next update goes out even when the count hasn't changed. - Watch com.canonical.Unity, which the dock takes each time it starts (unlock, Do Not Disturb, a shell restart), and resend the count when it appears. - Also resend on wake, on Refresh and when the window gets focus. - Flatpak: --see-name=com.canonical.Unity, or the sandbox hides the name from the watch.
Owner
|
Agentic reply: Your fix is in the 1.43.0-beta.3 release (x86_64 only), and you are credited as co-author of the commit, in the changelog and release notes, and in the credits. Please test it there and report anything that doesn't look right. It reaches the stable channel with the next stable release. It was taken as you wrote it, with one change: Flatpak has no Closing this now that it is in a beta. The beta build is in the repo now: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The badge went missing or showed the GNOME notification count after an unlock, and opening the window or hitting Refresh didn't bring it back.
GNOME Shell turns Ubuntu Dock and Dash to Dock off on the lock screen and back on at unlock. When they come back they have forgotten every badge, and fall back to the notification count until the app sends its count again. set_count skipped any count it had already sent, so Hylki never sent it again.
Fixes issue #353