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: RESOLVED WORKSFORME    
Severity: normal CC: justin, kfm-devel
Priority: NOR    
Version First Reported In: 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
Comment 1 Justin Zobel 2025-02-08 00:49:15 UTC
I am unable to replicate this issue on Dolphin 24.12.1.

Can you please re-check and confirm if this issue is still occurring? If it is, please change the status back to REPORTED.

As for the semicolon suggestion, please create a separate bug report and mark the priority wishlist, thank you.
Comment 2 EpicTux123 2025-02-08 18:26:54 UTC
I'm also unable to replicate the issue on Dolphin 24.12.1. Seems it was fixed then. Thanks!

I will open another issue regarding the semi-colon.