Summary: | Please, put a confirmation dialog for canceling operations | ||
---|---|---|---|
Product: | [Applications] partitionmanager | Reporter: | whoisroot |
Component: | general | Assignee: | Andrius Štikonas <andrius> |
Status: | RESOLVED FIXED | ||
Severity: | crash | ||
Priority: | NOR | ||
Version: | 3.0 | ||
Target Milestone: | --- | ||
Platform: | Kubuntu | ||
OS: | Linux | ||
Latest Commit: | https://commits.kde.org/partitionmanager/feb2e374e496c65011e036f2a611fa7cc5b4e940 | Version Fixed In: | 3.1.2 |
Sentry Crash Report: |
Description
whoisroot
2017-09-04 11:38:47 UTC
Sorry for your data loss :(. I'll try to reproduce it myself on a USB stick... Do you remember what operation you were doing? Growing, shrinking or moving? I do get a crash when cancelling an operation, I even got it on non LUKS file system, so probably some regression. However, I wasn't able to completely lose data. I was moving the LUKS partition when the crash occurred. I tried to reproduce the the bug again by resizing and moving the EFI partition of the disk and cancelling the operation as soon as possible. It destroyed the partition table of the disk (no problem, the data was already lost anyway). I'm using the default installed version of partitionmanager on a live usb of Kubuntu 17.04. Cancellation works safely in the last kde4 based version 1.1.0 but doesn't work in 1.2.0. So it looks like KF5 porting bug :(. I'll try to bisect it further to see if I can determine which commit caused this. By the way, the dialog is actually shown in kde4 version. What happens here is that as soon as "Cancel" is clicked, KDE Partition Manager grays it out and waits until current operation is completed and then asks whether to cancel the remaining operations. The first bad commit is dcdffadc3ec2990b8c4dc4f3333f101dd2b50d7a: Port away from KDialog. This commit is fairly large but most likely the bug is in applyprogressdialog.cpp Git commit feb2e374e496c65011e036f2a611fa7cc5b4e940 by Andrius Štikonas. Committed on 05/09/2017 at 23:07. Pushed by stikonas into branch 'master'. Fix a crash when clicking cancel in ApplyProgressDialog. M +2 -2 src/gui/applyprogressdialog.cpp https://commits.kde.org/partitionmanager/feb2e374e496c65011e036f2a611fa7cc5b4e940 |