Bug 489819 - Stalled Flatpak download can not be cancelled
Summary: Stalled Flatpak download can not be cancelled
Status: RESOLVED WORKSFORME
Alias: None
Product: Discover
Classification: Applications
Component: discover (other bugs)
Version First Reported In: 6.1.2
Platform: Arch Linux Linux
: NOR normal
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-07-06 09:39 UTC by deadmeu
Modified: 2024-08-22 03:47 UTC (History)
2 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 deadmeu 2024-07-06 09:39:01 UTC
SUMMARY
While installing a new Flatpak, when you either connect to or disconnect from a VPN connection, the download will stall and attempting to cancel the download will not do anything. After a few minutes the download is cancelled but it should cancel as soon as you select cancel.

I believe the stall is due to Flatpak and not Discover, but the cancel action should still function appropriately.

STEPS TO REPRODUCE
1. Install a larger Flatpak (that will take a short while to download for testing purposes)
2. Either connect to or disconnect from a configured VPN
3. The download will stall and will not immediately retry
4. Select "Cancel" either in the top-right or bottom-left area

OBSERVED RESULT
Nothing changes, the installation is not immediately cancelled.

EXPECTED RESULT
The installation should immediately cancel.

SOFTWARE/OS VERSIONS
Operating System: Arch Linux 
KDE Plasma Version: 6.1.2
KDE Frameworks Version: 6.3.0
Qt Version: 6.7.2
Kernel Version: 6.9.7-arch1-1 (64-bit)
Graphics Platform: Wayland

ADDITIONAL INFORMATION
Potentially related to 457205.
Comment 1 Harald Sitter 2024-07-23 10:37:44 UTC
> I believe the stall is due to Flatpak and not Discover, but the cancel action should still function appropriately.

How would that work?
Comment 2 deadmeu 2024-07-23 11:03:28 UTC
(In reply to Harald Sitter from comment #1)
> > I believe the stall is due to Flatpak and not Discover, but the cancel action should still function appropriately.
> 
> How would that work?

Well you can cancel Flatpak downloads from the CLI by sending an interrupt.
Comment 3 Harald Sitter 2024-07-23 11:04:52 UTC
You mean the cancel button should terminate discover like an interrupt terminates the flatpak CLI?
Comment 4 deadmeu 2024-07-23 11:44:36 UTC
(In reply to Harald Sitter from comment #3)
> You mean the cancel button should terminate discover like an interrupt
> terminates the flatpak CLI?

Sorry, I don't understand what you're asking. Are you able to reproduce the issue? I don't really have any opinion other than I found this bug so I'm reporting it here.
Comment 5 Harald Sitter 2024-07-23 12:58:07 UTC
When you interrupt the flatpak CLI it terminates the process, does it not? It's like if you were to alt-f4 the discover window.

You correctly identified flatpak as the location of the bug. It appears to be ignoring the cancel. What I fail to understand is what you want us to do about it.
Comment 6 Bug Janitor Service 2024-08-07 03:46:37 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 7 Bug Janitor Service 2024-08-22 03:47:35 UTC
๐Ÿ›๐Ÿงน This bug has been in NEEDSINFO status with no change for at least 30 days. Closing as RESOLVED WORKSFORME.