[dolphin] [Bug 452924] Dolphin not showing metadata for files on network shares, "Details" tab in File Properties missing

alex bugzilla_noreply at kde.org
Fri Nov 4 21:06:40 GMT 2022


https://bugs.kde.org/show_bug.cgi?id=452924

alex <alex at piconino.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |alex at piconino.de

--- Comment #22 from alex <alex at piconino.de> ---
Created attachment 153479
  --> https://bugs.kde.org/attachment.cgi?id=153479&action=edit
kio patch for nfs shares

This behavior comes from the package kio, file src/core/kfileitem.cpp:
...
bool KFileItemPrivate::isSlow() const
{
    if (m_slow == SlowUnknown) {
        const QString path = localPath();
        if (!path.isEmpty()) {
            const KFileSystemType::Type fsType =
KFileSystemType::fileSystemType(path);
            m_slow = (fsType == KFileSystemType::Nfs || fsType ==
KFileSystemType::Smb) ? Slow : Fast;
        } else {
            m_slow = Slow;
        }
    }
    return m_slow == Slow;
}
...

Line 829: m_slow = (fsType == KFileSystemType::Nfs || fsType ==
KFileSystemType::Smb) ? Slow : Fast;

This patch removes nfs from the condition.

Best regards
Alex

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the kfm-devel mailing list