Bug 512836

Summary: xdg - While typing in file dialog and pressing delete - a message spawns with text "you did not select a file to trash"
Product: [Plasma] xdg-desktop-portal-kde Reporter: hexile461
Component: generalAssignee: Plasma Bugs List <plasma-bugs-null>
Status: REPORTED ---    
Severity: normal CC: aleixpol, kdedev
Priority: NOR    
Version First Reported In: 6.5.3   
Target Milestone: ---   
Platform: EndeavourOS   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description hexile461 2025-12-01 14:39:13 UTC
SUMMARY
While typing in a  "filename" text field in a file dialog and pressing delete - a message spawns with text "you did not select a file to trash" which means the delete key is unusable for editing a filename

STEPS TO REPRODUCE
See above

OBSERVED RESULT
Pressing delete while editing text shouldn't spawn this popup.

EXPECTED RESULT
If the text field has focus, the delete key should delete text infront of the text cursor.

SOFTWARE/OS VERSIONS
Operating System: EndeavourOS 
KDE Plasma Version: 6.5.3
KDE Frameworks Version: 6.20.0
Qt Version: 6.10.0
Kernel Version: 6.17.8-arch1-1 (64-bit)
Graphics Platform: Wayland


ADDITIONAL INFORMATION
Possibly related: https://bugs.kde.org/show_bug.cgi?id=507305 (though the MR it links to seems irrelevant)