https://bugs.kde.org/show_bug.cgi?id=412613

            Bug ID: 412613
           Summary: Line ending not correctly saved after pasting content
           Product: kate
           Version: unspecified
          Platform: Other
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: part
          Assignee: kwrite-bugs-n...@kde.org
          Reporter: a...@piggz.co.uk
  Target Milestone: ---

Created attachment 123018
  --> https://bugs.kde.org/attachment.cgi?id=123018&action=edit
Screenshot of vi showing char

SUMMARY
When working with a file using unix line endings, if I paste in text from a
browser, the line ending in the pasted text may be windows.  When saving the
file the file, this is not corrected, it is also not visible to the user.

STEPS TO REPRODUCE
1. Work on a .spec file
2. When building package on OBS, get a failure due to unpackaged files
3. Paste the unpackaged file list in to the .spec and clean up paths
4. Save .spec and trigger a new build
5. Become frustrated when OBS complains about missing file, but when you look
for it in the .spec it is there, but with a ^M char after it

OBSERVED RESULT
File contains rogue ^M chars

EXPECTED RESULT
File either has no ^M char, or, kate displays the rogue characters to the user
to manually remove

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Opensuse tumbleweed
(available in About System)
KDE Frameworks Version: 5.61.0
Qt Version: 5.13.1

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to