Bug 507827 - Also show downloaded/pending updates (like offline updates, firmware updates, systemd-sysupdates, etc.) in a new section on the Updates page
Summary: Also show downloaded/pending updates (like offline updates, firmware updates,...
Status: CONFIRMED
Alias: None
Product: Discover
Classification: Applications
Component: Updates (other bugs)
Version First Reported In: 6.4.3
Platform: Other Linux
: NOR wishlist
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-08-03 19:20 UTC by minelorderagon16
Modified: 2025-09-24 21:02 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
Discover and Konsole (with dnf showing available updates) side by side (558.89 KB, image/png)
2025-08-03 19:20 UTC, minelorderagon16
Details

Note You need to log in before you can comment on or make changes to this bug.
Description minelorderagon16 2025-08-03 19:20:35 UTC
Created attachment 183769 [details]
Discover and Konsole (with dnf showing available updates) side by side

SUMMARY
When the system is set to auto-update, discover will automatically download updates to be installed on the next shutdown or restart. once this is done (but they have not been installed yet) the packages are no longer visible and the app looks as if there are no updates at all. this is a problem because it makes the user unaware of updates that may be important or that they may have been excited for (like a new plasma release). 

this is also an issue when updating manually, as after the updates are downloaded Discover will show that a restart is needed but will not show what was installed. in this scenario it isn't as bad since at least the presence of updates is visible to the user but it does still fail to tell you what updates are present. 

I believe both of these could be easily solved by having two sections in the Discover updates page. the first, shown above the second at all times, would be what we have now when there are updates to be downloaded but with a header or separator saying something like "available". the second, only visible when there are updates downloaded but not installed, would be visually identical except a header or separator saying something like "downloaded" or "ready". the restart button could be moved to the toolbar, keep its position in the first (the one that already exists) section, or move to somewhere in the second (new) section. this would make it so every non-installed update is always visible without causing confusion as to which ones are downloaded and which ones aren't. the positioning of the restart button would mostly be a matter of which location is the most visible while most clearly conveying which updates (downloaded vs available) it is relevant to. my preference would be to place it in the header/separator for the downloaded section as this would most clearly show that it was needed for those and had no bearing on the available ones.

STEPS TO REPRODUCE
1. open Discover
2. check for updates
3. if updates manually found, download them without restarting and attempt to determine in-app what they are after downloading them
4. if updates have been automatically downloaded already (but not installed), attempt to determine in-app what they are
5. if no updates are available, try again when they are

OBSERVED RESULT
though updates are available, once downloaded they are not visible in the app anymore.

EXPECTED RESULT
all updates are visible until they are installed whether they are downloaded or not, with a clear distinction made between ones that are downloaded and ones that aren't

SOFTWARE/OS VERSIONS
Operating System: Fedora Linux 42
KDE Plasma Version: 6.4.3
KDE Frameworks Version: 6.16.0
Qt Version: 6.9.1
Kernel Version: 6.15.7-200.fc42.x86_64 (64-bit)
Graphics Platform: Wayland
Processors: 12 × AMD Ryzen 5 4600H with Radeon Graphics
Memory: 16 GiB of RAM (15.0 GiB usable)
Graphics Processor 1: AMD Radeon Graphics
Graphics Processor 2: NVIDIA GeForce GTX 1650
Manufacturer: LENOVO
Product Name: 82B5
System Version: Lenovo Legion 5 15ARH05

ADDITIONAL INFORMATION
I added a screenshot showing the updates being shown by running dnf update and the discover "updates available" thing in the system tray despite discover not showing any updates. there are about 70 packages with downloaded updates on my system right now.
Comment 1 TraceyC 2025-08-07 23:49:57 UTC
Thanks for the feature request! There are two distinct requests being made. To summarize:

1. Wanting Discover to still show updates after they have been downloaded
2. Wanting Discover to show what was just downloaded after updating manually while the system still needs a restart.

Can you clarify something for case #1? In the attached screenshot, in the terminal, I see you had run `sudo dnf update`. That performed the actual update, rather than just checking for updates.

`dnf check-update` is what you want to run to check for updates without installing them. After running that, and checking Discover, the pending updates are still listed. If you do this and refresh Discover, it will indeed show no updates available, because they have already been installed. Can you clarify if this matches what you did? If not, can you walk us through what you did exactly, step by step? I'd like to understand how to get to the state where updates have been downloaded but aren't showing up in Discover - updates.
 
I tested this with Discover set to auto-update on Fedora 42 Plasma 6.4.3
122 updates shown in Discover before and after performing those steps

1. I ran `dnf upgrade --downloadonly` and then `dnf check-upgrade` which still showed the list of packages to be installed.
2. I refreshed the update list in Discover, it still showed the same amount of updates available

For case #2 where you're manually triggering updates, wouldn't the simple solution be to check the update list before triggering the update? Can you help us understand what would justify the work needed to make an additional section, when there's an existing way to get this information?

Thanks!
Comment 2 minelorderagon16 2025-08-08 00:22:26 UTC
(In reply to TraceyC from comment #1)
> Thanks for the feature request! There are two distinct requests being made.
> To summarize:
> 
> 1. Wanting Discover to still show updates after they have been downloaded
> 2. Wanting Discover to show what was just downloaded after updating manually
> while the system still needs a restart.
> 
> Can you clarify something for case #1? In the attached screenshot, in the
> terminal, I see you had run `sudo dnf update`. That performed the actual
> update, rather than just checking for updates.
> 
> `dnf check-update` is what you want to run to check for updates without
> installing them. After running that, and checking Discover, the pending
> updates are still listed. If you do this and refresh Discover, it will
> indeed show no updates available, because they have already been installed.
> Can you clarify if this matches what you did? If not, can you walk us
> through what you did exactly, step by step? I'd like to understand how to
> get to the state where updates have been downloaded but aren't showing up in
> Discover - updates.
>  
> I tested this with Discover set to auto-update on Fedora 42 Plasma 6.4.3
> 122 updates shown in Discover before and after performing those steps
> 
> 1. I ran `dnf upgrade --downloadonly` and then `dnf check-upgrade` which
> still showed the list of packages to be installed.
> 2. I refreshed the update list in Discover, it still showed the same amount
> of updates available
> 
> For case #2 where you're manually triggering updates, wouldn't the simple
> solution be to check the update list before triggering the update? Can you
> help us understand what would justify the work needed to make an additional
> section, when there's an existing way to get this information?
> 
> Thanks!

#1
I typically check with sudo dnf update for convenience, as it is the first command that comes to mind for that and I can choose whether to actually do anything after the command is run, since i didn't run sudo dnf update -y. Because of this, this command I ran didn't do anything but check for updates because I had not yet told it to (I just closed the terminal after and did the updates I was talking about through discover). I cannot test again right now because I don't have any updates available at the moment. here's what I did:

1. open Discover
2. refresh discover to make sure it wasn't missing anything (it wasn't)
3. open Konsole (no moving of anything neccesary bc tiling)
4. run sudo dnf update
5. scroll to the top to show the command that had been run
6. take screenshot (the one I attached originally)
7. close Konsole and Discover
8. restart to apply updates that Discover had downloaded

note that no input was given to Konsole after running dnf update, so it was waiting for a y/n answer to whether it should update and never changed anything. also note that discover had already automatically downloaded all available updates. I think this second point may be the difference because the updates were still being shown on your system, meaning discover had likely not downloaded them yet.


#2
generally speaking, yes. however sometimes you run into a situation where you were about to update because there was no reason not to, and then one appears. this may leave you with updates downloaded but something to do that updating would prevent or delay. to give an example from my typical use case for my computer, a friend texting to get on a game. It would be useful in a situation like that to be able to look over the stuff that has updates after it's been downloaded and see if it's worth bothering to restart now. for example, a driver update would be worth going ahead and restarting to apply the update in that case. something like an app installed via rpm or similar format wouldn't be. Yeah you'd probably be fine either way, but it would be nice to be able to check

as a separate point related to #2, it would also help avoid hiding what the computer is doing from the user. I know that info is not being hidden intentionally but it **is** being hidden. This is probably something that's best avoided, even if it's due to principle and not an actual problem
Comment 3 TraceyC 2025-08-08 19:38:09 UTC
Thanks for taking the time to walk through what you had done, and your use cases.
I'll pass this along to the developers to consider adding maybe a "More Information" button, like before applying updates, to see the list of things in the update along with "Updates will be installed after the system is restarted"
Comment 4 Nate Graham 2025-09-24 21:02:51 UTC
This seems like a good idea. It would also be a solution to Bug 422498.