https://bugs.kde.org/show_bug.cgi?id=427436
Bug ID: 427436
Summary: "Number of Files" status in Krusader Synchronize
Folders counts parent directories
Product: krusader
Version: 2.7.2
Platform: Fedora RPMs
OS: Linux
Status: REPORTED
Severity: normal
Priority: NOR
Component: synchronize
Assignee: [email protected]
Reporter: [email protected]
CC: [email protected]
Target Milestone: ---
SUMMARY
Krusader's completely awesome Synchronize Folders shows "Number of files" to
indicate what how many will be synchronized. But this counts parent directories
as well as files. It would be more useful to count only the number of files
shown.
STEPS TO REPRODUCE
1. Compare two slightly dissimilar deep trees, e.g.
$ mkdir -p foo/this/that bar/this/that
$ echo Babar > bar/this/that/file.txt && sleep 10 && echo Foo foo >
foo/this/that/file.txt
2. Start Krusader, Tools > Synchronize...
2. Compare the two directories.
4. Click Synchronize
OBSERVED RESULT
The Synchronize Folders popup counts the directories in the path to dissimilar
files in its "Number of files: 3" status. In my contrived example, it displays
"Number of files: 3" because it counts this/ and this/that/ as well as the one
different file. And when I Synchronize, the second popup shows "Copy 1 file",
not "3 files".
EXPECTED RESULT
"Number of files" should only include different files.
I guess if it was useful the status could show "Number of files: 1 in 1
directory", but I still think you wouldn't want to count the grandparent
directories in the path.
SOFTWARE/OS VERSIONS
Linux/KDE Plasma:
KDE Plasma Version: 5.18.5
KDE Frameworks Version: 5.73.0
Qt Version: 5.14.2 for xcb.
ADDITIONAL INFORMATION
This isn't just cosmetic. I know from git how many files I modified, so every
time I synchronize modified files with Krusader and its "Number of files: NNN"
doesn't match, I have to [Feed to listbox] and filter out directories to make
sure krusader is updating the same number of files that I changed in git.
--
You are receiving this mail because:
You are watching all bug changes.