SUMMARY *** When dragging and dropping an existing location, esp. the home-folder (or other) entry to the trash-location, dolphin moves and / or deletes files, even the userspace, when its the home-folder. You could not expect from a new user to know, what power he has in its hands. locations should be like bookmarks, meaning if you drag a location to the trash, one would expect the location-'bookmark' is deleted, not the real files. *** STEPS TO REPRODUCE 1. produce a location '~' 2. drag this location to the trash-location 2.1. and / or rename it to 'XYZ' beforehand –– what could end up in a rename not only of the location-'bookmark' but the whole userspace-folder 3. have fun with a borked system OBSERVED RESULT severe problems with the system EXPECTED RESULT deletion / rename of the 'place'-placeholder / -reference only, not the referenced files SOFTWARE/OS VERSIONS Windows: / macOS: / Linux/KDE Plasma: (available in About System) KDE Plasma Version: 5.27.9 KDE Frameworks Version: 5.107.0 Qt Version: 5.15.10 ADDITIONAL INFORMATION /
Dolphin should probably prevent you from doing this in the first place.