Bug 448489

Summary: request: add "/" to copied path
Product: [Applications] krusader Reporter: j22gim
Component: generalAssignee: Krusader Bugs Distribution List <krusader-bugs-null>
Status: REPORTED ---    
Severity: wishlist 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 j22gim 2022-01-14 19:20:36 UTC
When copying the path from the path bar (right click on the path bar -> copy) I get the path without the ending "/". This means that every time I want to use it I have to paste from the clipboard and then manually write "/" 

Would it be possible that the copied path ends in "/"? I can't see this would make any harm and should be very easy to implement. And would save a lot of time in semi-automated tasks.

The behavior I describe (ie copy the path ending with "/") is the default in other two-panels navigators

STEPS TO REPRODUCE
1.  open krusader
2. go to any location in your hard disk
3. eg go to /media/mydisk/mydir1/mydir2/subdir/target
4. mouse over the path bar, right click->copy 

OBSERVED RESULT
your clipboard has "/media/mydisk/mydir1/mydir2/subdir/target"

EXPECTED RESULT
your clipboard has "/media/mydisk/mydir1/mydir2/subdir/target/"

Please note that in most settings I can imagine, the last "/" will not interfere in any task, while the lack of it will be a problem in certain situations.

ADDITIONAL INFORMATION
Krusader 2.7.2 "Peace of Mind"

Libraries
KDE Frameworks 5.68.0
Qt 5.12.8 (built against 5.12.8)
The xcb windowing system