| Summary: | discover update applet not offline-update aware | ||
|---|---|---|---|
| Product: | [Applications] Discover | Reporter: | Harald Sitter <sitter> |
| Component: | discover | Assignee: | Dan Leinir Turthra Jensen <leinir> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | CC: | aleixpol |
| Priority: | NOR | ||
| Version First Reported In: | 5.15.0 | ||
| Target Milestone: | --- | ||
| Platform: | Other | ||
| OS: | Linux | ||
| Latest Commit: | https://commits.kde.org/discover/0ef1323345b9733bfdf295b3f33eef372ad5268b | Version Fixed/Implemented In: | |
| Sentry Crash Report: | |||
| Attachments: | screenshot | ||
|
Description
Harald Sitter
2019-02-14 12:53:27 UTC
Created attachment 118068 [details]
screenshot
Oh, I think I actually didn't restart plasmashell, so this was still the old applet. Nevermind. Reopening I am now seeing this with a fully updated 5.15 system. What actually happens is that the applet doesn't "refresh" its state. so: 1. PK_OFFLINE_UPDATE=1 plasma-discover 2. do update 3. open applet 4. see it still saying there are updates if you then restart plasmshell the applet will correctly switch into reboot-required mode. I am guessing the applet either needs file watch on the marker file or discover needs to poke the applet to refresh its state. Git commit 0ef1323345b9733bfdf295b3f33eef372ad5268b by Aleix Pol. Committed on 15/04/2019 at 16:54. Pushed by apol into branch 'master'. Don't offer system updates while offline Discover will start giving errors anyway and there's not much to do. M +1 -0 notifier/CMakeLists.txt M +13 -4 notifier/DiscoverNotifier.cpp M +8 -5 notifier/DiscoverNotifier.h M +2 -0 notifier/plasmoid/contents/ui/main.qml https://commits.kde.org/discover/0ef1323345b9733bfdf295b3f33eef372ad5268b |