Bug 439952

Summary: Opening an empty folder inside Dolphin's trash shows "Trash is Empty"
Product: [Applications] dolphin Reporter: Abdul Rauf <abdulraufmujahid>
Component: generalAssignee: Dolphin Bug Assignee <dolphin-bugs-null>
Status: RESOLVED FIXED    
Severity: normal CC: jordan.bucklin, kfm-devel, nate
Priority: NOR    
Version: 21.04.3   
Target Milestone: ---   
Platform: Manjaro   
OS: Linux   
Latest Commit: Version Fixed In: 21.08
Attachments: screenshot of issue

Description Abdul Rauf 2021-07-16 19:14:09 UTC
Created attachment 140119 [details]
screenshot of issue

SUMMARY
Opening an empty folder inside Dolphin's trash shows "Trash is Empty". it should show "Folder is empty"


STEPS TO REPRODUCE
1. Delete an empty folder
2. Open the trash in Dolphin

OBSERVED RESULT
it says "Trash is Empty" while it evidently is not.

EXPECTED RESULT
it should show "Folder is empty"

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Manjaro
(available in About System)
KDE Plasma Version: 5.22.3
KDE Frameworks Version: 5.84.0
Qt Version: 5.15.2

ADDITIONAL INFORMATION
This bug also existed in Nautilus https://gitlab.gnome.org/GNOME/nautilus/-/issues/1367 
I fixed this in https://gitlab.gnome.org/GNOME/nautilus/-/merge_requests/520
I am looking forward to fix this with the help of kde community :)
Comment 1 Jordan 2021-07-17 03:08:01 UTC
Git commit 3fe971e17467e30ba59ca42a53931a273fd7e78b by Jordan Bucklin.
Committed on 17/07/2021 at 02:39.
Pushed by ngraham into branch 'release/21.08'.

Fix placeholder label text within an empty folder in Trash

An empty folder within the Trash bin previously had the placeholder
label "Trash is empty". This label should only appear in top-most
Trash/ url, and "Folder is empty" otherwise.

M  +1    -1    src/views/dolphinview.cpp

https://invent.kde.org/system/dolphin/commit/3fe971e17467e30ba59ca42a53931a273fd7e78b