Bug 445228 - Discover flatpak "System Updates" section disappears after doing a non-Update All
Summary: Discover flatpak "System Updates" section disappears after doing a non-Update...
Status: RESOLVED WORKSFORME
Alias: None
Product: Discover
Classification: Applications
Component: Updates (other bugs)
Version First Reported In: 5.23.3
Platform: Flatpak Other
: NOR normal
Target Milestone: ---
Assignee: Dan Leinir Turthra Jensen
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-11-09 20:00 UTC by yizel7
Modified: 2025-10-23 03:47 UTC (History)
4 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description yizel7 2021-11-09 20:00:35 UTC
When using Discover and various updates are found for both flatpak apps and runtimes. If the user click on the "All updates selected" checkbox at the bottom to deselect everything. Followed by selecting various available updates to update, then when the screen refreshes with updates available, the runtime section aka "System Updates" disappears and only the top section for "Application updates" remains.

The user then needs to close Discover and reopen (thereby Discover doing another update check) the rest of the runtimes that were available for updates under "System Updates" will be shown again.

STEPS TO REPRODUCE
1) Wait a couple days for flatpak updates to build up if needed
2) Launch Discover
3) Uncheck the "All updates selected" checkbox at the bottom that is selected by default
4) Select a couple updates to do either in Application Updates or System updates. Just make sure to leave some system updates so we can see the section vanish in the next step
5) Click on the "update Selected" button in the top right
6) Wait a couple seconds or minutes depending on your hardware specs and network speed

OBSERVED RESULT
After doing a partial update (not an Update all) the System Updates section vanishes.

EXPECTED RESULT
When the screen refreshes after a partial update, the user would be able to select both System updates and Application updates.

SOFTWARE/OS VERSIONS
OS: Arch Linux x86_64
Kernel: 5.14.16-arch1-1
(available in About System)
KDE Plasma Version: 5.23.2
KDE Frameworks Version: 5.87.0
Qt Version: 5.15.2
Graphics Platform: X11

Dolphin flatpak version: 21.08.2
Flatpak version: flatpak 1.12.2-1
Flatseal version: 1.7.4
Comment 1 Aleix Pol 2021-11-10 02:31:01 UTC
I cannot reproduce.

Can you confirm you can reproduce this when running "plasma-discover --backends flatpak"? Or does flatpak and packagekit need to be on for the issue to happen?
Comment 2 yizel7 2021-11-10 13:22:11 UTC
(In reply to Aleix Pol from comment #1)
> I cannot reproduce.
> 
> Can you confirm you can reproduce this when running "plasma-discover
> --backends flatpak"? Or does flatpak and packagekit need to be on for the
> issue to happen?

Should this work on all distros? I ran the command "plasma-discover --backends flatpak" and it did launch Discover however after a couple seconds the loading icon disappears and I get taken to the home of Discover along with this output in Konsole:

plasma-discover --backends flatpak
kf.kirigami: Units.devicePixelRatio is deprecated (since 5.86 ): This returns 1 when using Qt HiDPI scaling.
file:///usr/lib/qt/qml/org/kde/kirigami.2/private/PrivateActionToolButton.qml:74:5: QML Binding: Binding loop detected for property "value"
took really long to fetch FlatpakBackend(0x5654d89ec8d0)

I am not sure how it could have taken "really long" to fetch FlatpakBackend when it only attempted for about 2-3 seconds.
Comment 3 Nate Graham 2021-11-10 14:15:14 UTC
Sorry, that was the wrong command. Try `plasma-discover --backends flatpak-backend`. This should work on all distros with the flatpak backend installed.
Comment 4 yizel7 2021-11-10 15:10:43 UTC
(In reply to Nate Graham from comment #3)
> Sorry, that was the wrong command. Try `plasma-discover --backends
> flatpak-backend`. This should work on all distros with the flatpak backend
> installed.

How can I confirm I have the flatpak backend installed? I am on an updated Arch Linux.

The same things happened with the above command as opposed to the previous one. Discover stops trying to load after 2-3 seconds and takes me to its home page. The  following is shown in Konsole again:

plasma-discover --backends flatpak-backend
kf.kirigami: Units.devicePixelRatio is deprecated (since 5.86 ): This returns 1 when using Qt HiDPI scaling.
file:///usr/lib/qt/qml/org/kde/kirigami.2/private/PrivateActionToolButton.qml:74:5: QML Binding: Binding loop detected for property "value"
took really long to fetch FlatpakBackend(0x55bc8332ccf0)
Comment 5 Nate Graham 2021-11-11 00:52:07 UTC
`plasma-discover --listbackends` will tell you what backends you have.
Comment 6 dennise8 2021-11-11 15:58:47 UTC
(In reply to Nate Graham from comment #5)
> `plasma-discover --listbackends` will tell you what backends you have.

It looks like I have the flatpak-backend, so I am not sure why the command is failing saying it's taking too long when it isn't even really trying. Any ideas?

plasma-discover --listbackends
 * flatpak-backend
 * fwupd-backend
 * kns-backend
 * packagekit-backend
Comment 7 Nate Graham 2021-11-12 17:00:23 UTC
If `plasma-discover` is already running in the background due to another bug, you'll need to kill it manually with `killall plasma-discover`.
Comment 8 Nate Graham 2025-09-23 18:39:15 UTC
A lot has changed since it was reported; can I ask you to see if this is still an issue with Plasma 6.4 or later? Thanks a lot.
Comment 9 Bug Janitor Service 2025-10-08 03:46:57 UTC
๐Ÿ›๐Ÿงน โš ๏ธ This bug has been in NEEDSINFO status with no change for at least 15 days. Please provide the requested information, then set the bug status to REPORTED. If there is no change for at least 30 days, it will be automatically closed as RESOLVED WORKSFORME.

For more information about our bug triaging procedures, please read https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging.

Thank you for helping us make KDE software even better for everyone!
Comment 10 Bug Janitor Service 2025-10-23 03:47:25 UTC
๐Ÿ›๐Ÿงน This bug has been in NEEDSINFO status with no change for at least 30 days. Closing as RESOLVED WORKSFORME.