Bug 505295 - Deleting a file over mtp produces a notification with a (failed) preview of the deleted file
Summary: Deleting a file over mtp produces a notification with a (failed) preview of t...
Status: RESOLVED DUPLICATE of bug 391591
Alias: None
Product: kio-extras
Classification: Frameworks and Libraries
Component: MTP (other bugs)
Version First Reported In: unspecified
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Unassigned bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-06-06 22:01 UTC by ratijas
Modified: 2025-06-18 05:23 UTC (History)
2 users (show)

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


Attachments
Notification - Dolphin - mtp deleting (88.37 KB, image/png)
2025-06-06 22:01 UTC, ratijas
Details

Note You need to log in before you can comment on or make changes to this bug.
Description ratijas 2025-06-06 22:01:52 UTC
Created attachment 182078 [details]
Notification - Dolphin - mtp deleting

SUMMARY

Use Dolphin app to delete a file from a device connected via mtp:/ protocol. It can't be moved to trash, so it will be immediately wiped. It produces a notification that says "Deleting" and the mtp:/ file path along with a thumbnail and buttons to Open With. The thumbnail has a default icon for the file type and a spinner (BusyIndicator in QML-speak) which for obvious reasons won't finish "loading". The Open With buttons obviously don't work either. 

STEPS TO REPRODUCE
1. Connect a phone
2. Open Dolphin, navigate to the phone over mtp:/ protocol
3. Delete any unimportant file

OBSERVED RESULT
A notification which tries to load a thumbnail for the now-nonexistent file, and the buttons to open it.

EXPECTED RESULT
Thumbnail and buttons are not needed, because the file they refer to is gone. Probably the path shouldn't be a clickable link either, because it can't work.

SOFTWARE/OS VERSIONS
Operating System: Arch Linux 
KDE Plasma Version: 6.3.5
KDE Frameworks Version: 6.14.0
Qt Version: 6.9.1
Kernel Version: 6.14.9-arch1-1 (64-bit)
Graphics Platform: X11
Comment 1 John Kizer 2025-06-18 05:23:17 UTC
Hi - this seems to fall within the scope of an existing issue here, so I'm merging these together for better tracking of the core issue. I was able to reproduce the issue by deleting a multiple GB file over sftp, so the general conditions described there seem to apply.

Thanks!

*** This bug has been marked as a duplicate of bug 391591 ***