| Summary: | Updater shows one update too many | ||
|---|---|---|---|
| Product: | [Applications] Discover | Reporter: | Sven Claussner <scl.gplus> |
| Component: | Updates | Assignee: | Aleix Pol <aleixpol> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | CC: | info |
| Priority: | NOR | ||
| Version First Reported In: | unspecified | ||
| Target Milestone: | --- | ||
| Platform: | Debian testing | ||
| OS: | Linux | ||
| Latest Commit: | http://commits.kde.org/discover/918c310c27e583a15d7cdb40535b5ae6230b4481 | Version Fixed/Implemented In: | |
| Sentry Crash Report: | |||
| Attachments: |
Discover showing Update (2) but only one update.
console output running Discover |
||
|
Description
Sven Claussner
2016-05-13 14:44:06 UTC
I cannot reproduce. Do you know which backends you're using? Please tell me the output of: plasma --listbackends Created attachment 99556 [details]
Discover showing Update (2) but only one update.
This happened to me, see screenshot. I'm running Discover 5.6.4 on KDE Frameworks 5.22.0 & QT 5.5.1 from the KDE backport PPA on Kubuntu 16.04. After an update I ran `/usr/bin/plasma-discover --mode update` and its header shows "Update (2)" while there is only one System Update. The pop-up for the plasma panel also says "1 package to update". I'll attach the output.
Created attachment 99557 [details] console output running Discover This is the console output from Discover when I took attachment 99556 [details]. Note the "KNewStuff3" output, is that obsolete? I've upgraded my Kubuntu installation in-place 10 times (every release since 9.04). (In reply to Aleix Pol from comment #1) > I cannot reproduce. Do you know which backends you're using? > Please tell me the output of: plasma --listbackends I don't have a `plasma` binary, `/usr/bin/plasma-discover --listbackends` outputs Available backends: * knscomics-backend * knsplasmoids-backend * qapt-backend I notice that I also have a plasma-discover-updater binary with a different appearance, its -v option outputs "plasmadiscoverupdater 5.6.4". plasma-discover is the binary that runs when I click [update] in the Plasma panel's update notification pop-up, its -v option outputs "muondiscover 5.6.4" Git commit 918c310c27e583a15d7cdb40535b5ae6230b4481 by Aleix Pol. Committed on 21/06/2016 at 15:54. Pushed by apol into branch 'Plasma/5.7'. Make sure the list of updateable packages is updated when the state changes Solves an off-by-one issue when the signal was emitted too early, before the package was removed. M +10 -2 libdiscover/resources/StandardBackendUpdater.cpp M +1 -0 libdiscover/resources/StandardBackendUpdater.h http://commits.kde.org/discover/918c310c27e583a15d7cdb40535b5ae6230b4481 |