Bug 329920 - Dolphin fails to automatically update directory contents (inotify) if the path has a cross-device symlink
Summary: Dolphin fails to automatically update directory contents (inotify) if the pat...
Status: RESOLVED FIXED
Alias: None
Product: kio
Classification: Unmaintained
Component: general (show other bugs)
Version: 4.11.5
Platform: Kubuntu Linux
: NOR normal
Target Milestone: ---
Assignee: David Faure
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-01-13 19:01 UTC by Michael Marley
Modified: 2018-05-03 20:39 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Michael Marley 2014-01-13 19:01:13 UTC
Dolphin in KDE 4.11.5 doesn't automatically update the directory contents if files are created, deleted, or renamed if the path to the directory includes a cross-device symlink.

In my specific case, I have a symlink in home directory, /home/michael/Music, that points to /media/sdb1/Music, which is on another device.  There is an (empty) file in /media/sdb1/Music called "test".  If I launch Dolphin and double-click on the /home/michael/Music symlink to open that directory and then proceed to delete or rename the "test" file, the change does not show up automatically in Dolphin.  If instead of using the symlink I navigate directly to the /media/sdb1/Music directory, then the change to the "test" file does show up automatically.  Additionally, if while in the directory with the symlink in the path, I press the F5 key, this causes the automatic updates to start working correctly, and any further changes are shown without having to press F5 again.

Reproducible: Always
Comment 1 Michael Marley 2014-01-13 19:02:00 UTC
Just to clarify, if the symlink is to another directory on the same device, the bug does not occur.
Comment 2 Frank Reininghaus 2014-01-14 11:34:06 UTC
Thanks for the bug report. I cannot test it at the moment, but in any case, we get notified about any changes in directories by the class KDirLister from the KIO library, which in turn listens to signals emitted by KDirWatch. So I assume that the problem is either in one of these classes, or even further down in the stack.
Comment 3 Nate Graham 2018-05-03 20:39:34 UTC
Works for me in KDE Frameworks 5.45.