[kde] [Bug 473575] New: Avoid sleep while flushing cache to removable drive
Francisco González
bugzilla_noreply at kde.org
Sun Aug 20 20:44:37 BST 2023
https://bugs.kde.org/show_bug.cgi?id=473575
Bug ID: 473575
Summary: Avoid sleep while flushing cache to removable drive
Classification: I don't know
Product: kde
Version: unspecified
Platform: Archlinux
OS: Linux
Status: REPORTED
Severity: major
Priority: NOR
Component: general
Assignee: unassigned-bugs at kde.org
Reporter: fgonzalez.neso at gmail.com
Target Milestone: ---
Today I was copying an ISO image to a Ventoy-enabled USB drive (exfat).
It seems that the file transfer was cached by default, so the file transfer
dialog was closed after the file was cached.
After clicking the secure-remove button, Plasma showed me the message to not
unplug the device until the flush was done.
After 10 minutes (by setting) my computer went to sleep, and after resuming the
flush message was still showing. It would mean that the flush might not finish
prior to sleep.
It would be nice to have a feature to disable sleep while a cached file
transfer is still being done since file corruption might happen.
STEPS TO REPRODUCE
1. Transfer a file to a device with write cache enabled.
2. Wait for the computer to sleep (make sure to set an appropriate time
threshold so the sleep can occur while the flush is still going).
3. Resume the computer and check the flush dialog and/or file corruption.
OBSERVED RESULT
The computer goes to sleep but after resuming, the cache flush is still
ongoing.
EXPECTED RESULT
The computer goes to sleep only after the cache flush has ended.
SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Arch Linux, 6.4.11-arch2-1
(available in About System)
KDE Plasma Version: 5.27.7
KDE Frameworks Version: 5.109.0
Qt Version: 5.15.10
Running on Wayland
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the Unassigned-bugs
mailing list