Bug 510395 - Discover refreshes sources unnecessarily even if Notifier tray icon just did it
Summary: Discover refreshes sources unnecessarily even if Notifier tray icon just did it
Status: CONFIRMED
Alias: None
Product: Discover
Classification: Applications
Component: discover (other bugs)
Version First Reported In: unspecified
Platform: Fedora RPMs Linux
: NOR minor
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords: efficiency-and-performance, usability
Depends on:
Blocks:
 
Reported: 2025-10-08 15:39 UTC by indisputable
Modified: 2025-10-27 20:09 UTC (History)
3 users (show)

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


Attachments
system tray icon (997 bytes, image/png)
2025-10-08 15:39 UTC, indisputable
Details
discover page (112.68 KB, image/png)
2025-10-08 15:39 UTC, indisputable
Details

Note You need to log in before you can comment on or make changes to this bug.
Description indisputable 2025-10-08 15:39:26 UTC
Created attachment 185607 [details]
system tray icon

SUMMARY
When the system tray shows the “Updates available” icon and I click on it, Discover opens and starts “Fetching updates…”. Updates should already be pre-fetched at this point.

STEPS TO REPRODUCE
1. Wait until the system tray displays the “Updates available” icon.
2. Click the icon.
3. Observe that Discover opens and shows “Fetching updates…”.

OBSERVED RESULT
Discover starts fetching update information again, even though the tray icon already indicated that updates are available.

EXPECTED RESULT
1. When the tray icon “Updates available” appears, update data should already be fetched.
2. Clicking the icon should open Discover directly showing the available updates list.
3. User can choose to “Update All” or select individual updates immediately.

SOFTWARE/OS VERSIONS
Operating System: Fedora Linux 42
KDE Plasma Version: 6.4.5
KDE Frameworks Version: 6.18.0
Qt Version: 6.9.2
Kernel Version: 6.16.10-200.fc42.x86_64 (64-bit)
Graphics Platform: Wayland
Comment 1 indisputable 2025-10-08 15:39:47 UTC
Created attachment 185608 [details]
discover page
Comment 2 Nate Graham 2025-10-08 18:28:32 UTC
They were, but Discover has to check again just in case anything more came in since the time when the tray icon noticed updates, and the time when you click on it to launch Discover.

Ideally this second check should be super-fast, so you barely notice it. If it's not, that's the thing to focus on, and we have been focusing on it for a while now to increase the speed.
Comment 3 indisputable 2025-10-09 15:29:56 UTC
What if I click on the icon immediately? Like after system startup?
Comment 4 Nate Graham 2025-10-10 15:48:35 UTC
Yeah, in that case, probably Discover should not check again. Let's make the bug report about that.