Bug 448489 - request: add "/" to copied path
Summary: request: add "/" to copied path
Status: REPORTED
Alias: None
Product: krusader
Classification: Applications
Component: general (show other bugs)
Version: 2.7.2
Platform: Other Linux
: NOR wishlist
Target Milestone: ---
Assignee: Krusader Bugs Distribution List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-01-14 19:20 UTC by j22gim
Modified: 2022-01-14 19:20 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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