Bug 411830

Summary: [packagekit-alpm] Cannot cancel installation
Product: [Applications] Discover Reporter: postix <postix>
Component: discoverAssignee: Dan Leinir Turthra Jensen <leinir>
Status: RESOLVED UPSTREAM    
Severity: normal CC: aleixpol, bugseforuns, matejm98mthw, nate
Priority: NOR    
Version: 5.18.4   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed In:
Attachments: The button is grayed out.

Description postix 2019-09-11 19:15:13 UTC
Created attachment 122612 [details]
The button is grayed out.

SUMMARY

After clicking on "install", an app is downloaded and a "cancel" button is shown. However, this button is grayed out and therefor useless. 
The only way to interrupt the process is to Discover.


SOFTWARE/OS VERSIONS
Operating System: Manjaro Linux 
KDE Plasma Version: 5.16.4
KDE Frameworks Version: 5.62.0
Qt Version: 5.13.0
Kernel Version: 5.2.11-1-MANJARO
Comment 1 Nate Graham 2019-09-12 00:32:51 UTC
This may depend on the PackageKit plugin in question (Pacman for Arch-based distros). Can reproduce though.
Comment 2 Aleix Pol 2020-08-11 00:52:26 UTC
It is indeed an issue in alpm's backend in PackageKit. Feel free to take it there
https://github.com/hughsie/PackageKit

I've been looking into it and it reports cancellability for some parts so you will actually see the button flashing at times. Of course this is not acceptable but we can't also extrapolate much information from it, if the backend claims it's not possible.