Bug 439952 - Opening an empty folder inside Dolphin's trash shows "Trash is Empty"
Summary: Opening an empty folder inside Dolphin's trash shows "Trash is Empty"
Status: RESOLVED FIXED
Alias: None
Product: dolphin
Classification: Applications
Component: general (show other bugs)
Version: 21.04.3
Platform: Manjaro Linux
: NOR normal
Target Milestone: ---
Assignee: Dolphin Bug Assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-07-16 19:14 UTC by Abdul Rauf
Modified: 2021-07-17 03:09 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In: 21.08


Attachments
screenshot of issue (47.72 KB, image/png)
2021-07-16 19:14 UTC, Abdul Rauf
Details

Note You need to log in before you can comment on or make changes to this bug.
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