Bug 403465

Summary: Allow force-killing Discover even when there are pending tasks
Product: [Applications] Discover Reporter: Felipe Peter <mr-peipei>
Component: discoverAssignee: Aleix Pol <aleixpol>
Status: RESOLVED FIXED    
Severity: normal CC: dagobertram, nate
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed In: 5.16.0

Description Felipe Peter 2019-01-21 15:05:11 UTC
SUMMARY
Discover should have a kill dialog to close it even if tasks are pending.

STEPS TO REPRODUCE
1. Do this: Bug 403463
2. Try to close Discover

OBSERVED RESULT
A warning pops up that there are unfinished tasks.

EXPECTED RESULT
The window pops up but includes a "Force close Discover" button.
Comment 1 Nate Graham 2019-02-06 04:21:53 UTC
Totally agree.
Comment 2 Patrick Silva 2019-03-03 14:33:21 UTC
*** Bug 405032 has been marked as a duplicate of this bug. ***
Comment 3 Aleix Pol 2019-04-17 18:15:40 UTC
Git commit 3aadd3aa4c02bfa427050e8933d32e063cecabff by Aleix Pol.
Committed on 17/04/2019 at 18:09.
Pushed by apol into branch 'master'.

Allow to close Discover when there's ongoing jobs

M  +1    -1    discover/qml/DiscoverWindow.qml

https://commits.kde.org/discover/3aadd3aa4c02bfa427050e8933d32e063cecabff
Comment 4 dagobertram 2019-09-19 16:59:07 UTC
I really would like to have the ability to "close" Discover although it will finish all the pending tasks before it actually closes itself. Hopefully you can understand what I mean. Maybe the following scenario makes it clearer:

1. start updating the machine/install an application
2. hit the "x" on Discover before the process has finished
3. Discover vanishes from the taskbar, but does not really close itself until all pending tasks are complete