https://bugs.kde.org/show_bug.cgi?id=446019
Bug ID: 446019
Summary: New text file created with 2 chars
Product: dolphin
Version: 21.08.3
Platform: Archlinux Packages
OS: Linux
Status: REPORTED
Severity: normal
Priority: NOR
Component: general
Assignee: [email protected]
Reporter: [email protected]
CC: [email protected]
Target Milestone: ---
SUMMARY
***
When creating a new TEXT file two characters are appended: a blank (0x20) and a
carriage return (0x0A).
It should be empty.
***
STEPS TO REPRODUCE
1. Start dolphin
2. From context menu select "Create new" --> "Text file"
3. Confirm a file name (default is "Text File.txt")
OBSERVED RESULT
The new file is shown in the window to be 2 bytes long.
$ od -t x1 -c Text\ File.txt
0000000 20 0a
\n
0000002
EXPECTED RESULT
The new file should be 0 (zero) bytes long as the user hasn't requested any
content.
SOFTWARE/OS VERSIONS
Windows:
macOS:
Linux/KDE Plasma: 5.23.3-1
(available in About System)
KDE Plasma Version: 5.23.3-1
KDE Frameworks Version: 5.88.0
Qt Version: 5.15.2
ADDITIONAL INFORMATION
--
You are receiving this mail because:
You are watching all bug changes.