Bug 454367 - While background data transfer to a device is in progress, Reboot/shutdown can be triggered but will be delayed at the TTY
Summary: While background data transfer to a device is in progress, Reboot/shutdown ca...
Status: CONFIRMED
Alias: None
Product: plasmashell
Classification: Plasma
Component: Disks & Devices widget (show other bugs)
Version: 5.27.80
Platform: Arch Linux Linux
: NOR normal
Target Milestone: 1.0
Assignee: Plasma Bugs List
URL:
Keywords: usability
Depends on:
Blocks:
 
Reported: 2022-05-24 21:37 UTC by Patrick Silva
Modified: 2024-07-09 19:16 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Patrick Silva 2022-05-24 21:37:06 UTC
STEPS TO REPRODUCE
1. connect a usb flash drive to usb port
2. copy a big file (I have used a 867 MiB video file in my test) to your flash drive
3. wait for 'Copying (Finished)' notification from Plasma
4. try to reboot or shutdown you computer

OBSERVED RESULT
my system goes to TYY, systemd says 'A stop job is running for Disk Manager (1min 30s countdown)'
and the reboot/shutdown is delayed

EXPECTED RESULT
I'm not sure. Maybe Plasma could prevent reboot/shutdown until the data transfer is completed giving us feedback
about it

SOFTWARE/OS VERSIONS
Operating System: Arch Linux
KDE Plasma Version: 5.24.90
KDE Frameworks Version: 5.94.0
Qt Version: 5.15.4
Graphics Platform: Wayland
Comment 1 Patrick Silva 2022-05-24 21:56:19 UTC
From the end user point of view, 'Copying (Finished)' notification indicates that the data transfer was completed.
Therefore, it's not clear why the reboot/shutdown is delayed after the provided steps.
Comment 2 Nate Graham 2022-05-25 15:46:00 UTC
> Maybe Plasma could prevent reboot/shutdown until the data transfer is completed, giving us feedback about it
Yeah, that's reasonable. This is something that should block shutdown and show feedback IMO.