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

            Bug ID: 424875
           Summary: Dolphin ignoring fstab "x-gvfs-name" since update
           Product: frameworks-solid
           Version: 5.72.0
          Platform: Archlinux Packages
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: lu...@kde.org
          Reporter: david.riv...@gmail.com
                CC: kdelibs-b...@kde.org
  Target Milestone: ---

Created attachment 130541
  --> https://bugs.kde.org/attachment.cgi?id=130541&action=edit
Screenshot to illustrate the issue

Hello,

I didn't notice exactly when it happened but Dolphin does not display anymore
the "x-gvfs-name" from fstab since a recent update.
See attachment screenshot.

After some research, I think this is handled by solid.

I found the code of file "src/solid/devices/backends/fstab/fstabdevice.cpp" on
github
https://github.com/KDE/solid/commit/cdbfb3e799c72742163ecf6a6bdf073aeed874c3

It was modified 2 months ago and the part managing GVFS was modified :

    for  (const QString &option : gvfsOptions) {
        if (option.startsWith(QLatin1String("x-gvfs-name="))) {
            QStringRef encoded = option.midRef(12);
    -       m_description = QUrl::fromPercentEncoding(encoded.toLatin1());
    +       m_displayName = QUrl::fromPercentEncoding(encoded.toLatin1());
        } else if (option.startsWith(QLatin1String("x-gvfs-icon="))) {
            QStringRef encoded = option.midRef(12);
            m_iconName = QUrl::fromPercentEncoding(encoded.toLatin1());
        }
    }

Can you please fix the issue, it's really not nice for NFS share in Dolphin.

Regards,

David

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Archlinux
KDE Plasma Version: 5.19.4
KDE Frameworks Version: 5.72.0
Qt Version: 5.15.0

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to