[dolphin] [Bug 484793] New: File type/associations not being correctly detected on locally mounted samba shares

DT bugzilla_noreply at kde.org
Sun Mar 31 03:26:18 BST 2024


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

            Bug ID: 484793
           Summary: File type/associations not being correctly detected on
                    locally mounted samba shares
    Classification: Applications
           Product: dolphin
           Version: 24.02.1
          Platform: Arch Linux
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: dolphin-bugs-null at kde.org
          Reporter: dustintownsend25 at protonmail.com
                CC: kfm-devel at kde.org
  Target Milestone: ---

Created attachment 167969
  --> https://bugs.kde.org/attachment.cgi?id=167969&action=edit
Image of sample directory demonstrating file types not being displayed
correctly

SUMMARY
When accessing files via a locally mounted samba share, files lacking a
filename extension are not having their filetypes correctly detected and
displayed. 

For instance, a plain text file named "test" is displayed as "Type: Unknown,
Content: Plain text document" with a "?" icon.
In contrast, a plain text file named "test.txt" is displayed as "Type: Plain
text document"  with the correct icon. 
This holds true for other file types. It is also problematic when attempting to
access, say, a plaintext file with a ".conf' extension.

When attempting to open a file lacking a filename extension, "Okteta" is being
defaulted to as the default application. When using the "open with" dialogue
and selecting another application (along with ticking the "Remember application
association for all files of this type" box), such as Kwrite for text files,
the application association is not being saved, and Okteta remains the default
application.

STEPS TO REPRODUCE
1. Mount a remote samba share locally with the following command:
mount -t cifs -o "uid=1000,gid=1000,file_mode=0644,dir_mode=0755,vers=3.0"
//remotehost/share ~/localdir
2. Access directory via Dolphin
3. Attempt to access a file lacking a filename extension
4. Attempt to set an application association for a file lacking a filename
extension

OBSERVED RESULT
The file's type is not being correctly displayed within Dolphin, and attempts
to set application associations are not being registered.

EXPECTED RESULT
The file's type should be displayed irrespective of the filename extension, and
applications associations should be registering correctly.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Arch Linux - 6.8.2-zen2-1-zen (64-bit)
KDE Plasma Version: 6.0.3
KDE Frameworks Version: 6.0.0
Qt Version: 6.6.2

ADDITIONAL INFORMATION
This bug was not present for me in Plasma 5.27--it occurred upon upgrading to
Plasma 6.

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


More information about the kfm-devel mailing list