https://bugs.kde.org/show_bug.cgi?id=448171

            Bug ID: 448171
           Summary: Send warning notification when device is unsafely
                    removed while async IO operations were still in
                    progress
           Product: frameworks-kio
           Version: git master
          Platform: Other
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: kio-bugs-n...@kde.org
          Reporter: n...@kde.org
                CC: kdelibs-b...@kde.org
  Target Milestone: ---

This is an alternative to fixing Bug 281270, which may not be fixable at the
KIO level.

When asynchronous file IO to removable devices is used, it's possible for the
user to unplug a removable device without clicking "unmount" in the UI. In this
case, any in progress background sync jobs will die and the files being
transferred will be corrupted and destroyed.

KIO should detect this condition and display a critical notification saying
something like:

> Possible data loss
> 
> The device was unplugged without unmounting it, which might have caused data 
> loss.
> Plug it back in and [move, copy] the files again, and manually unmount the 
> disk
> before unplugging it.

It should only do this when async IO is being used and there were actually any
in progress transfers when the device disappeared. In all other cases,
unplugging without umounting is harmless, so we shouldn't badger the user
unnecessarily.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to