Bug 492048

Summary: Incorrect statement when folder is no longer available
Product: [Applications] dolphin Reporter: EpicTux123 <EpicTux123>
Component: generalAssignee: Dolphin Bug Assignee <dolphin-bugs-null>
Status: REPORTED ---    
Severity: normal CC: kfm-devel
Priority: NOR    
Version: 24.05.2   
Target Milestone: ---   
Platform: Fedora RPMs   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description EpicTux123 2024-08-22 18:42:58 UTC
ISSUE
If on Dolphin I'm in a folder that is deleted, Dolphin will say:

Current location changed, '/path/to/folder' is no longer accessible.

However, it only says the folder that is one level up.

Example:

On a terminal, do:

mkdir ~/Desktop/test

Then, acccess the "~/Desktop/test" folder via Dolphin.
Go back to the terminal, and type "rm -r ~/Desktop/test".

Dolphin states:
Current location changed, '/home/user/Desktop' is no longer accessible.

But it should state:
Current location changed, '/home/user/Desktop/test' is no longer accessible.

It is missing the folder name that is now no longer accessible (in this case, it's "test").

Small suggestion too: change the comma to a semi-colon.

VERSIONS
Fedora Linux 40
KDE Plasma 6.1.4
KDE Frameworks 6.5.0
Qt 6.7.2
X11