Bug 425947

Summary: Synchronise Folders includes additional item when [..] is not the selected one in target/destination
Product: [Applications] krusader Reporter: Paul <paolo-facebook>
Component: synchronizeAssignee: Krusader Bugs Distribution List <krusader-bugs-null>
Status: REPORTED ---    
Severity: normal CC: krusader-bugs-null
Priority: NOR    
Version First Reported In: 2.7.2   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Paul 2020-08-29 14:53:18 UTC
SUMMARY
Using Synchronise Folders on "similar" source/destinations where there are a subset of subfolders selected on one side, it only works correctly if "nothing" is selected (or actually currently positioned, doesn't matter if selected) on the destination side. If the "cursor" is not on an "empty" line - that is - not (usually) on the [..] entry but on anything else, that entry will be included in the comparison.

STEPS TO REPRODUCE
1. Select some subfolders/entries in the source
2. (Mistakenly) leave an entry focused (other than ..) in the destination which is not part of the "source" selection (happens more often than you think)
3. Choose to Synchronise Folders

OBSERVED RESULT
The "additional" (not selected but focussed) entry from the destination is included in the sync.

EXPECTED RESULT
The "additional" (not selected but focussed) entry from the destination should not be included in the sync.

SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma: Kubuntu 20.04 (5.4.0-42)
(available in About System)
KDE Plasma Version: 5.18.5
KDE Frameworks Version: 5.68.0
Qt Version: 5.12.8

ADDITIONAL INFORMATION