Bug 509760

Summary: Update loop and notification spam after failed automatic Flatpak update breaks Discover and continuously interrupts user
Product: [Applications] Discover Reporter: Yevhen Popok <xalt7x.service>
Component: UpdatesAssignee: Plasma Bugs List <plasma-bugs-null>
Status: REPORTED ---    
Severity: normal CC: 02kss1989, aleixpol, g6pd8zr5k, kdedev, nate, travier
Priority: HI    
Version First Reported In: 6.4.5   
Target Milestone: ---   
Platform: Fedora RPMs   
OS: Linux   
See Also: https://bugs.kde.org/show_bug.cgi?id=509645
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: Video demonstation of the issue

Description Yevhen Popok 2025-09-21 21:11:48 UTC
Created attachment 185144 [details]
Video demonstation of the issue

SUMMARY
Few months ago Cisco started to block additional regions (see https://github.com/cisco/openh264/issues/3886)  and currently many Ukrainian users are not able to finish installation of the "org.freedesktop.Platform.openh264" package from Flathub. This also uncovered issue with the KDE Discover. If user have "Automatic updates" enabled, they might get nasty notification spam. For at least a minute, the computer becomes unusable until Discover crashes.

STEPS TO REPRODUCE
1. Open /etc/hosts and block access to the "openh264" host
127.0.0.1   ciscobinary.openh264.org
2. Install Flathub package that depends on the "org.freedesktop.Platform.openh264"
flatpak install flathub com.obsproject.Studio
3. Notice that "org.freedesktop.Platform.openh264" wasn't installed due to the unreachable "openh264" host
4. Open Discover, go to Settings, open hamburger menu, select "Configure Updates...".
5. Set "Update software" to "Automatically", set "Update frequency" to "Daily"
6. Wait several minutes

OBSERVED RESULT
Automatic updates continuously tries to update/install "org.freedesktop.Platform.openh264" and fails. These actions are extremely frequent. Discover constantly steals focus to shows the error message, windows and notifications flash etc. Users can't easily stop this. They have to either wait until Discover crashes or hard reset computer.

EXPECTED RESULT
Discover shouldn't continuously retry to install the package and show the same error. There should be a single attempt like it happens when users tries to update manually.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Fedora Kinoite 42/43
KDE Plasma Version: 6.4.5
KDE Frameworks Version: 6.18.0
Qt Version: 6.9.2

ADDITIONAL INFORMATION
Fedora 43 KDE is going to enable "Automatic updates", so I expect that many users will have this issue.
Comment 1 Nate Graham 2025-09-23 19:35:04 UTC
Sigh, what an unpleasant issue. :/
Comment 2 Nate Graham 2025-09-24 21:06:49 UTC
*** Bug 508943 has been marked as a duplicate of this bug. ***
Comment 3 Nate Graham 2025-09-26 16:02:15 UTC
*** Bug 508975 has been marked as a duplicate of this bug. ***