Summary: | muon-updater prompts to click missing "Check for updates" button | ||
---|---|---|---|
Product: | [Applications] Discover | Reporter: | skierpage <skierpage> |
Component: | Updates (interactive) | Assignee: | Jonathan Thomas <echidnaman> |
Status: | RESOLVED FIXED | ||
Severity: | minor | CC: | aleixpol, n.schnelle, sitter |
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Kubuntu | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Attachments: | muon-updater with prompt to click missing button |
Description
skierpage
2014-03-01 22:32:52 UTC
Created attachment 85376 [details]
muon-updater with prompt to click missing button
"Check for Updates" is not in the [More...v] menu when this is on-screen.
Now when I run muon-updater, the prompt quickly goes away and is replaced by a loading animation. After 15 seconds or so the Software Updates window changes to The software on this computer is up to date. Last checked 8 hours and 48 minutes ago. and now the [More...v] menu *does* contain Check for Updates. But that loading animation wasn't appearing the many times I tried this before filing this bug. I was experiencing this bug too. But it seems to be fixed in 2.2 alpha1 (2.1.70), Kubuntu 14.04. ## Analysis UpdaterWidget.cpp is a stack widget with two pages, one is the actual updaterview, the other is the !updaterview. Which one is shown depends on a whole bunch of factors. The involved key functions are UpdaterWidget::checkUpToDate (which actually sets the initial state after construction) and UpdaterWidget::activityChanged (which adjusts the page based on resource states) Latter is run more than once whenever the resoruce state changes it appears, and states appear randomly different on 2.1 compared to 2.2. Namely at one point both conditions inside that function are false on 2.2 (which leaves the page as it were), while on 2.2 at the same step they are true/false respectively thus forcing the page to be set to the updateview. So this suggests that there is a state bug somewhere in the resources in 2.1 which is fixed in 2.2. ## Why we'll likely not want to spend time on this Personally I do not think we'll want to pursue this as the 2.1 series is only present in Kubuntu 13.10 (EOL in May) and this bug does not have any implications other than the "you need to update" widget being shown until the actual cache parsing is started. It does not in any way affect functionality of the updater. It should be fixed (as of 2.2 actually). Closing. |