Bug 435874 - Ark should warn about closing its window while an extraction is in progress
Summary: Ark should warn about closing its window while an extraction is in progress
Status: ASSIGNED
Alias: None
Product: ark
Classification: Applications
Component: general (show other bugs)
Version: 20.12.3
Platform: Neon Linux
: NOR wishlist
Target Milestone: ---
Assignee: Elvis Angelaccio
URL:
Keywords: usability
: 461447 (view as bug list)
Depends on:
Blocks:
 
Reported: 2021-04-18 13:17 UTC by Nagy Tibor
Modified: 2023-06-04 01:35 UTC (History)
8 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Nagy Tibor 2021-04-18 13:17:24 UTC
SUMMARY
Ark currently doesn't throw any warning when closing its main window while an extraction is in progress.

STEPS TO REPRODUCE
1. Open a larger archive (large enough so you have enough time for step 3)
2. Extract a directory from that archive through drag-and-drop
3. Close Ark's main window while the extraction is in progress

EXPECTED RESULTS
Ark should throw a warning that closing its main window interrupts the extraction.

OBSERVED RESULTS
Ark closes without a warning and leaves a partially extracted stuff on the disk.

SOFTWARE/OS VERSIONS
Operating System: KDE neon 5.21
KDE Plasma Version: 5.21.4
KDE Frameworks Version: 5.81.0
Qt Version: 5.15.2
Comment 1 Snehit Sah 2021-10-02 13:59:27 UTC
I would like to submit a patch for this.

I have already added an exit confirmation dialog, but am stuck because I can't seem to figure out how to detect if an extraction or compression job is in progress. Some help on this and I'll have a an MR ready.

Thanks
Comment 2 Bug Janitor Service 2023-01-29 17:25:41 UTC
A possibly relevant merge request was started @ https://invent.kde.org/utilities/ark/-/merge_requests/166
Comment 3 Fabian Arndt 2023-06-04 01:35:34 UTC
*** Bug 461447 has been marked as a duplicate of this bug. ***