Repository navigation
feat: re-add app.setBadgeCount and win.setProgressBar for Linux - #52739
Conversation
|
Fun fact about this PR, it doesn't just restore these APIs, it allows them to work in distributions which do not ship libunity (including all Arch-based distros). |
|
Heads up: Windows CI builds moved to new runners on Monday and the old ones have now been removed. This branch predates that, so its Windows build jobs still point at the old runners and will sit queued forever if CI runs again. Rebasing on |
d0341c5 to
15dfc60
Compare
|
Release Notes Persisted
|
|
I was unable to backport this PR to "43-x-y" cleanly; |
|
I have automatically backported this PR to "44-x-y", please check out #52895 |
|
@VerteDinde has manually backported this PR to "43-x-y", please check out #52948 |
Description of Change
Restores the APIs
app.setBadgeCountandwin.setProgressBarto Linux using a pure D-Bus API. The previous implementation was removed in #51649 because it depended on libunity, an obsolete and unmaintained library.Resolves #51668.
Example in KDE Plasma on Ubuntu (Kubuntu):
Checklist
npm testpassesRelease Notes
Notes: Restored
app.setBadgeCountandwin.setProgressBarfor Linux. These APIs now support any dock or taskbar which implements the LauncherEntry D-Bus API, and they no longer requirelibunity.