https://bugs.kde.org/show_bug.cgi?id=297003
--- Comment #15 from Ahmad Samir <a.samir...@gmail.com> --- - Changing the contents of the new text file template based on the extension would make the code more complex - The experience would be a bit confusing, you create a "new file" and sometimes it has a " \n" and sometimes not - A file without an extension and 0 size has mimetype application/x-zerosize, and a blank icon The default template should cater to the typical use case, i.e. a user who wants to create a simple text file. Note that you can customize the behaviour: - Copy https://invent.kde.org/frameworks/kio/-/blob/master/src/new_file_templates/TextFile.desktop to the templates dir (by default it's ~/Templates) - create a dir ~/Templates/.source/, and inside it create a "Text File.txt" file, put whatever text you want there or make it blank ...etc. KNewFileMenu will pick that ~/Templates/TextFile.desktop over the one baked into KIO (as a QResource). -- You are receiving this mail because: You are watching all bug changes.