Bug 362542

Summary: Does not inhibit suspend when a file transfer is in progress
Product: [Frameworks and Libraries] frameworks-kio Reporter: adr.fantini
Component: generalAssignee: David Faure <faure>
Status: CONFIRMED ---    
Severity: normal CC: ahmed.com, bugseforuns, hoobeboo, kde, kdebugs, kdelibs-bugs, nate
Priority: HI Keywords: usability
Version: unspecified   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed In:

Description adr.fantini 2016-05-01 12:11:41 UTC
Powerdevil should inhibit any suspend / hibernate action when a file transfer (at least a Dolphin file transfer) is in progress.

Reproducible: Always
Comment 1 Kai Uwe Broulik 2016-05-01 12:35:16 UTC
It's the application's job (or in this case KIO) to request that from PowerDevil, re-assigning to KIO.
Comment 2 David Faure 2016-05-02 06:57:24 UTC
But how? KIO can't depend on powerdevil (which is in workspace).
Comment 3 Kai Uwe Broulik 2016-05-02 07:02:51 UTC
It just needs to send a DBus message to PowerDevil (and as a fallback to the FDO interface). Also, if... this [1] lands there'll be a Tier 1(?) solution for that.

[1] https://git.reviewboard.kde.org/r/126650/
Comment 4 Patrick Silva 2019-03-01 20:10:11 UTC
The problem persists. Computer sleeps while dolphin copies data to another internal partition. When computer resumes, copy process continues from the point where it stopped.

SOFTWARE/OS VERSIONS
Operating System: Arch Linux 
KDE Plasma Version: 5.15.2
KDE Frameworks Version: 5.55.0
Qt Version: 5.12.1
Comment 5 Nate Graham 2023-12-21 21:30:30 UTC
*** Bug 478785 has been marked as a duplicate of this bug. ***
Comment 6 Prajna Sariputra 2024-01-25 16:33:46 UTC
*** Bug 466704 has been marked as a duplicate of this bug. ***