Bug 463507 - Copy and paste file to desktop that cannot fit on the disk fails with no notification of failure
Summary: Copy and paste file to desktop that cannot fit on the disk fails with no noti...
Status: RESOLVED FIXED
Alias: None
Product: plasmashell
Classification: Plasma
Component: Folder (show other bugs)
Version: 5.26.4
Platform: Manjaro Linux
: NOR normal
Target Milestone: 1.0
Assignee: Plasma Bugs List
URL:
Keywords: usability
Depends on:
Blocks:
 
Reported: 2022-12-27 00:38 UTC by kroot001
Modified: 2023-08-04 14:10 UTC (History)
6 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
Notification when copying fails (42.93 KB, image/png)
2023-01-26 05:44 UTC, thenujan
Details

Note You need to log in before you can comment on or make changes to this bug.
Description kroot001 2022-12-27 00:38:48 UTC
SUMMARY

When copying and pasting a file from Dolphin to the desktop by right clicking on the desktop and selecting "Paste One File" does not produce a notification that the operation failed if the file is too large. This causes the user to be unaware that the operation was unsuccessful and the reason for the failure.

STEPS TO REPRODUCE
1. Copy a large file which exceeds the free space of the drive to the clipboard. This can be completed with either Ctrl+C or right clicking the file and select copy
2. Right click the desktop and select "Paste One File"

OBSERVED RESULT
The file is not copied and there is no notification that the paste operation failed. 

EXPECTED RESULT
A notification stating that there is not enough space on the disk to write the file. This notification is shown when pasting within Dolphin.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: 6.1.1 Kernel
KDE Plasma Version: 5.26.4
KDE Frameworks Version: 5.101.0
Qt Version: 5.15.7

ADDITIONAL INFORMATION
Comment 1 Nate Graham 2023-01-06 20:33:00 UTC
Oof.
Comment 2 thenujan 2023-01-26 05:44:59 UTC
Created attachment 155652 [details]
Notification when copying fails
Comment 3 thenujan 2023-01-26 06:42:27 UTC
Please ignore my attachment i falsely understood the bug. The notification appears when copying folders but the bug is about copying a big enough file
Comment 4 Nate Graham 2023-01-27 17:27:02 UTC
*** Bug 464840 has been marked as a duplicate of this bug. ***
Comment 5 Bug Janitor Service 2023-08-03 18:46:30 UTC
A possibly relevant merge request was started @ https://invent.kde.org/plasma/plasma-desktop/-/merge_requests/1646
Comment 6 Nate Graham 2023-08-04 13:34:13 UTC
Git commit 3a750b7ffff5537d06559ddd98eebb9fc14f35d3 by Nate Graham, on behalf of Thenujan Sandramohan.
Committed on 04/08/2023 at 15:34.
Pushed by ngraham into branch 'master'.

Show a notification when attempting to paste a folder/file to desktop failed

Example scenario disk full. Before this merge request, copying would fail silently.
Related: bug 464840
FIXED-IN: 6.0

M  +4    -1    containments/desktop/plugins/folder/foldermodel.cpp

https://invent.kde.org/plasma/plasma-desktop/-/commit/3a750b7ffff5537d06559ddd98eebb9fc14f35d3
Comment 7 Nate Graham 2023-08-04 14:06:56 UTC
Thenujan, is there anything else left to do here, or is this bug fully fixed by that commit?
Comment 8 thenujan 2023-08-04 14:10:04 UTC
(In reply to Nate Graham from comment #7)
> Thenujan, is there anything else left to do here, or is this bug fully fixed
> by that commit?

It is fully fixed.