| Summary: | Amount of updates available indicated by the update notifier is not immediately updated after I install updates via konsole on Arch Linux | ||
|---|---|---|---|
| Product: | [Applications] Discover | Reporter: | Patrick Silva <bugseforuns> |
| Component: | Updates | Assignee: | Aleix Pol <aleixpol> |
| Status: | RESOLVED UPSTREAM | ||
| Severity: | normal | CC: | nate |
| Priority: | NOR | ||
| Version First Reported In: | 5.14.1 | ||
| Target Milestone: | --- | ||
| Platform: | Arch Linux | ||
| OS: | Linux | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
|
Description
Patrick Silva
2018-10-23 12:45:35 UTC
The problem is that pacman and other command-line package management tools don't communicate with PackageKit or Discover to notify them/us that updates have already been performed. The only way we could really handle this case is to immediately refresh the update status every time we launch Discover, and block the updates UI until the refresh is complete so you never see any stale status. Actually, after writing that out, maybe that *is* what we should do. It's probably better to make people wait a few seconds to see always-correct information that it is to show them possibly-incorrect information that will be transformed into correct information at some undetermined point in time. That's not what the bug report is about. He says that the notifier is still wrong. PackageKit checks with alpm (pacman) every time before running, so there's no risk of being incorrect. Maybe it would be worth having PackageKit alpm backend emit UpdatesChanged when some file in /var changes. Or maybe the notifier is missing something. Needs investigation. Not something we can fix from Discover. |