SUMMARY Oftentimes, when I open discover and if offers updates for a few packages only, it will not show me in the GUI from which to which version it is updating them, only the final version to which they will update. I am not sure when exactly does it fail to show the current version or what are the exact steps to reproduce. SOFTWARE/OS VERSIONS Windows: macOS: Linux/KDE Plasma: (available in About System) KDE Plasma Version: 5.20.5 KDE Frameworks Version: 5.78.0 Qt Version: 5.15.2 ADDITIONAL INFORMATION
1. Can you provide a screenshot? 2. Does it work if you resize the window to be wider? 3. Does it work if you leave the Updates page after all the available updates have been loaded, then then return to it?
Created attachment 137091 [details] discover_lacking_versions Attached a screenshot. The problem does not go away if I resize the window, but it does go away if I go to e.g. "about" and then back to the updates page.
OK thanks. Looks like the old versions sometimes get loaded later but the UI isn't updated immediately. Can confirm that.
This might be related to bug #411186 or bug #448521, which also deal with wrong version information being displayed.
This bug is probably caused by the way we determine the update string. It does through a chain of logic to see what information is available and probably for a moment the currently-installed version is not available for some reason, and if the code runs in that moment, it shows you just the available version, and then doesn't update later. See https://invent.kde.org/plasma/discover/-/blob/master/libdiscover/resources/AbstractResource.cpp#L255
I believe this is fixed now in Plasma 5.26 after various fixes. Are you still able to reproduce the issue in Plasma 5.26 or later?
(In reply to Nate Graham from comment #6) > I believe this is fixed now in Plasma 5.26 after various fixes. Are you > still able to reproduce the issue in Plasma 5.26 or later? Still happening: Operating System: Debian GNU/Linux KDE Plasma Version: 5.26.3 KDE Frameworks Version: 5.98.0 Qt Version: 5.15.6 Kernel Version: 6.0.0-4-amd64 (64-bit) Graphics Platform: X11 Processors: 16 × AMD Ryzen 7 2700 Eight-Core Processor Memory: 15.5 GiB of RAM Graphics Processor: AMD Radeon RX Vega Manufacturer: Acer Product Name: Predator PH517-61 System Version: V1.09
Although, it now happens only for the entries listed as "Applications".
Can you share a new screenshot of how it looks now?
Created attachment 154027 [details] discover_no_version_from Added a screenshot showing the problem in Discover 5.26.3.
Thanks.
A possibly relevant merge request was started @ https://invent.kde.org/plasma/discover/-/merge_requests/1067
Git commit f9310e059b0482b6c4cdb04d799cd6c52c1c664c by Ismael Asensio. Committed on 26/03/2025 at 07:51. Pushed by iasensio into branch 'master'. PackageKit: Fix connection for update details Otherwise, the front-end requests for update details are not processed when they should. Instead, these transactions were attached to requests for package details. In practice, this solves two issues: - more responsive to show the changelog info when expanding an entry - the package details on the background are updated faster, including versions involved, since there are less unnecessary transactions Related: bug 421293 FIXED-IN: 6.3.4 M +1 -1 libdiscover/backends/PackageKitBackend/PackageKitBackend.cpp https://invent.kde.org/plasma/discover/-/commit/f9310e059b0482b6c4cdb04d799cd6c52c1c664c
Git commit 5d490c18c3c5432ba62e174d07bd3e2164457085 by Ismael Asensio. Committed on 26/03/2025 at 08:01. Pushed by iasensio into branch 'Plasma/6.3'. PackageKit: Fix connection for update details Otherwise, the front-end requests for update details are not processed when they should. Instead, these transactions were attached to requests for package details. In practice, this solves two issues: - more responsive to show the changelog info when expanding an entry - the package details on the background are updated faster, including versions involved, since there are less unnecessary transactions Related: bug 421293 FIXED-IN: 6.3.4 (cherry picked from commit f9310e059b0482b6c4cdb04d799cd6c52c1c664c) Co-authored-by: Ismael Asensio <isma.af@gmail.com> M +1 -1 libdiscover/backends/PackageKitBackend/PackageKitBackend.cpp https://invent.kde.org/plasma/discover/-/commit/5d490c18c3c5432ba62e174d07bd3e2164457085
*** Bug 418854 has been marked as a duplicate of this bug. ***