Bug 466216 - Double line breaks when opening a remote CRLF file
Summary: Double line breaks when opening a remote CRLF file
Status: REPORTED
Alias: None
Product: kio-extras
Classification: Frameworks and Libraries
Component: FISH (other bugs)
Version First Reported In: 22.12.2
Platform: Compiled Sources Microsoft Windows
: NOR normal
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-02-21 21:34 UTC by Andrius
Modified: 2023-07-22 20:45 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Andrius 2023-02-21 21:34:44 UTC
SUMMARY
***
NOTE: If you are reporting a crash, please try to attach a backtrace with debug symbols.
See https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports
***


STEPS TO REPRODUCE
1.  Open a remote folder (SFTP) in dolphin
2.  Drag a file (in my case a python file) that has CR/LF (Windows Line breaks) into Kate

OBSERVED RESULT
Files display double line breaks (i.e.: empty lines after each line of the file)

EXPECTED RESULT
Text should display normally without empty lines through it.

SOFTWARE/OS VERSIONS
Windows 11 (22H2)
KDE Frameworks Version: 5.103.0

ADDITIONAL INFORMATION
Kate and Dolphin built from sources with Craft.
Seems to happen only with remote files, not with local files.