[dolphin] [Bug 477296] New: Dolphin moves user to grandparent of deleted directory instead of parent
Chris Warren
bugzilla_noreply at kde.org
Mon Nov 20 19:20:16 GMT 2023
https://bugs.kde.org/show_bug.cgi?id=477296
Bug ID: 477296
Summary: Dolphin moves user to grandparent of deleted directory
instead of parent
Classification: Applications
Product: dolphin
Version: 24.01.75
Platform: Arch Linux
OS: Linux
Status: REPORTED
Severity: normal
Priority: NOR
Component: bars: location
Assignee: dolphin-bugs-null at kde.org
Reporter: chrisw82 at protonmail.com
CC: kfm-devel at kde.org
Target Milestone: ---
SUMMARY
If a Dolphin window is in a directory that is deleted, Dolphin moves the user
to the grandparent directory of that deleted directory rather than the parent.
STEPS TO REPRODUCE
1. In Dolphin, go to directory X
2. In another process (such as konsole), delete directory X
3. Observe how Dolphin moves the user when Dolphin notices the directory is
deleted
OBSERVED RESULT
When a Dolphin window is in a directory that is deleted, Dolphin automatically
moves the user to the grandparent of the deleted directory instead of the
parent
For example, I created a directory called testdir in $HOME
Under testdir, I created directory test1
Under test1, I created directory test2
If I navigate to test2 in Dolphin then delete test2 in another process, Dolphin
reports:
Current location changed, '$HOME/testdir/dir1' is no longer accessible.
Then I am moved to $HOME/testdir. Yet I see dir1 in $HOME/testdir and I can
access $HOME/testdir/test1.
Similarly, if I deleted $HOME/testdir/test1 ($HOME/testdir still exists),
Dolphin would redirect me to $HOME instead of $HOME/testdir.
EXPECTED RESULT
Dolphin should drop me in the location nearest to the directory that was
deleted.
In the above example where $HOME/testdir/test1/test2 was deleted, it should
drop me in $HOME/testdir/test1 instead of testdir since $HOME/testdir/test1
still exists.
SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Observed in both KDE Neon Unstable and ArchLinux (both from
repos and built from kdesrc-build)
(available in About System)
KDE Plasma Version: 5.81.80
KDE Frameworks Version: 5.245.0
Qt Version: 6.6.0
--
You are receiving this mail because:
You are on the CC list for the bug.
More information about the kfm-devel
mailing list