Bug 381052 - Path separator copied to clipboard should be original character
Summary: Path separator copied to clipboard should be original character
Status: RESOLVED FIXED
Alias: None
Product: kate
Classification: Applications
Component: application (show other bugs)
Version: 17.04.1
Platform: Microsoft Windows Microsoft Windows
: NOR normal
Target Milestone: ---
Assignee: KWrite Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-06-10 03:26 UTC by Yuki
Modified: 2017-07-25 07:47 UTC (History)
0 users

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 Yuki 2017-06-10 03:26:17 UTC
Kate supports a menu to copy file path into clipboard, but the characters of path separator are converted from back slash to front slash automatically on windows.
Kate should keep original characters of path separator during copy.
Comment 1 Christoph Feck 2017-06-10 10:16:38 UTC
Does the clipboard text include the file:// prefix?
Comment 2 Yuki 2017-06-10 15:46:51 UTC
File path text is converted like following

D:\Downloads\desktop.ini  --->   D:/Downloads/desktop.ini

Text in clipboard doesn't contain file:// prefix
Comment 3 Christoph Cullmann 2017-07-25 07:47:28 UTC
Git commit 209cc0388cc931383154320dac5d6054ada8f7d4 by Christoph Cullmann.
Committed on 25/07/2017 at 07:47.
Pushed by cullmann into branch 'master'.

prefer native file separators in output

M  +6    -1    addons/filetree/katefiletree.cpp

https://commits.kde.org/kate/209cc0388cc931383154320dac5d6054ada8f7d4