STEPS TO REPRODUCE 1. when plasma notifies you about updates from Arch repositories, use konsole to install them (pacman -Syu) 2. after the update process, click the update notifier in the system tray 3. OBSERVED RESULT amount of updates available indicated by the update notifier is the same as before you run "pacman -Syu". EXPECTED RESULT update notifier should show correct information. SOFTWARE VERSIONS Arch Linux KDE Plasma Version: 5.14.1 KDE Frameworks Version: 5.51 Qt Version: 5.12 beta2 ADDITIONAL INFORMATION information shown by update notifier is updated immediatelly if the packages updated via konsole were flatpaks.
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.