[dolphin] [Bug 427644] New: Dolphin reads incomplete file list from samba network share

bugzilla_noreply at kde.org bugzilla_noreply at kde.org
Tue Oct 13 18:10:32 BST 2020


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

            Bug ID: 427644
           Summary: Dolphin reads incomplete file list from samba network
                    share
           Product: dolphin
           Version: 20.08.2
          Platform: Neon Packages
                OS: Linux
            Status: REPORTED
          Severity: grave
          Priority: NOR
         Component: general
          Assignee: dolphin-bugs-null at kde.org
          Reporter: piotr at gawrysiak.org
                CC: kfm-devel at kde.org
  Target Milestone: ---

Created attachment 132326
  --> https://bugs.kde.org/attachment.cgi?id=132326&action=edit
The properties dialog. The same directory, note the diffrerent size and number
of files.

SUMMARY

When accessing samba (cifs) network share with large number of big files (in
this particular case 3578 jpg files totaling 9GB of data) Dolphin shows only
partial directory contents, displaying random number of files (e.g. showing
first that the directory contains 3175 files, after refreshing the view showing
that it contains 3239 files etc.) *without notifying user that file listing
might be incomplete*. Similarly, computing the directory size with properties
dialog yields different values with every click on the "compute" button. 

Above behavior has been observed over relatively slow - and possibly unreliable
- network connection (wifi extender coupled to powerline adapter), which might
- or might not - be a factor here. Note however that in any case  no error
information was given by Dolphin.

THIS MIGHT RESULT IN DATA LOSS E.G. WHEN COPYING FILES!!!   


STEPS TO REPRODUCE
1. Open samba network share with large number of large files with Dolphin (i.e.
smb:// location)
2. Wait for Dolphin to complete loading file list, note number of files in the
directory
3. Repeat above procedure several times

OBSERVED RESULT
Number of files in the directory is different every time, some files present in
the network share are not shown in the directory by Dolphin!

EXPECTED RESULT
Dolphin should show all the files present in the network share (and of course
the number of files displayed should be the same with every refresh) or
alternatively user should be notified that the loading of the directory list
was interrupted (and thus the folder view is corrupted).

SOFTWARE/OS VERSIONS
Operating System: KDE neon 5.20
KDE Plasma Version: 5.20.0
KDE Frameworks Version: 5.75.0
Qt Version: 5.15.0
Kernel Version: 5.4.0-48-generic
OS Type: 64-bit
Processors: 4 × Intel® Core™ i5-2410M CPU @ 2.30GHz
Memory: 7.6 GiB of RAM
Graphics Processor: Mesa DRI Intel® HD Graphics 3000

ADDITIONAL INFORMATION
In this case the SMB server supports only 1.0 version of the protocol, so
appropriate definitions have been made in smb.conf. However mounting the share
in the shell via mount command (and accessing it - copying files via cp and
Midnight Commander) works correctly.

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


More information about the kfm-devel mailing list