Version: 3.1.0 (using KDE 3.1.9) Compiler: gcc version 2.95.4 20020320 [FreeBSD] OS: FreeBSD (i386) release 4.7-STABLE It would be nice if JuK didn't follow symlinks in monitored directories, or could resolve them and not show entries in the collection list that are effectively duplicates of the same actual file. For example, I have a whole lot of directories in the form /net/music/<artist> and several in the form /net/music/<genre> and in some of the <genre> directories, I have a symlink to some of the artists. In JuK, any files that are under the symlinks show up twice in the Collection list, it seems to me it would be cleaner if they didn't.
Subject: Re: Have Juk resolve symlinks or optionally not follow them Thank you for your bug report. The feature that you requested has been implemented in the latest development (CVS) version of KDE. The feature request will be closed.
Lauri says that this is happening again.
CVS commit by mpyne: Fix bug 55529 again by using the handy resolveSymLinks() function in every place where the FileHandle's path can be set, and when comparing with the Cache. CCMAIL:55529-done@bugs.kde.org M +4 -4 filehandle.cpp 1.13 --- kdemultimedia/juk/filehandle.cpp #1.12:1.13 @@ -108,5 +108,5 @@ FileHandle::FileHandle(const QString &pa d = new FileHandlePrivate; d->fileInfo = QFileInfo(path); - d->absFilePath = path; + d->absFilePath = resolveSymLinks(path); read(s); Cache::instance()->insert(*this); @@ -131,5 +131,5 @@ void FileHandle::setFile(const QString & setup(QFileInfo(path), path); else { - d->absFilePath = path; + d->absFilePath = resolveSymLinks(path); d->fileInfo.setFile(path); } @@ -241,5 +241,5 @@ void FileHandle::setup(const QFileInfo & QString fileName = path.isNull() ? info.absFilePath() : path; - FileHandle cached = Cache::instance()->value(fileName); + FileHandle cached = Cache::instance()->value(resolveSymLinks(fileName)); if(cached != null()) { @@ -250,5 +250,5 @@ void FileHandle::setup(const QFileInfo & d = new FileHandlePrivate; d->fileInfo = info; - d->absFilePath = fileName; + d->absFilePath = resolveSymLinks(fileName); d->modificationTime = info.lastModified(); Cache::instance()->insert(*this);