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

            Bug ID: 441854
           Summary: Saved files are corrupted
           Product: kdevelop
           Version: 5.6.2
          Platform: Other
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: kdevelop-bugs-n...@kde.org
          Reporter: ian_orms...@waters.com
  Target Milestone: ---

SUMMARY
When some text files are saved files are corrupted.  Three non printable octets
are being inserted at the staer of the file.

STEPS TO REPRODUCE
1. add a file to a project e.g. test_in.awk
2. add source to the ouside of kdevelop e.g. echo "BEGIN {}" > test_in.awk
3 check the contents of the file: hexdump -C test_in.awk
00000000  42 45 47 49 4e 20 7b 7d  0a                       |BEGIN {}.|
4. open the file in kdevelop
5. delete the space between Gegin and {, then re-type it.
6. save the file
5. check the contents of the file again: hexdump -C test_in.awk
00000000  ef bb bf 42 45 47 49 4e  20 7b 7d 0a              |...BEGIN {}.|

OBSERVED RESULT
three octets are inserted at the begining of the file

EXPECTED RESULT
the two file dumps should be identical

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Fedora 43
(available in About System)
KDE Plasma Version:5.22.4-1.fc34
KDE Frameworks Version: 5.85.0
Qt Version: 5.15.2

ADDITIONAL INFORMATION
The problem seems to affect any test file of many different extantions e.g.
.h.in, .bash ...

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

Reply via email to