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

Ahmad Samir <a.samir...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |a.samir...@gmail.com

--- Comment #12 from Ahmad Samir <a.samir...@gmail.com> ---
The original commit that introduced that change[1] mentions the file mimetype,
which is still true; what's happening here is that QMimeDatabase can identify
mimetypes based on the file extension, so a .txt file gets a proper icon. But
if you remove the file extension, you'd end up with a file with a blank icon. 

Also:
$ file 'Text File.txt'
Text File.txt: ASCII text

Removing the space and new line from the file:
$ file 'Text File.txt'
Text File.txt: empty

so making the file empty would mess with the mimetype of the file. 

[1]
https://invent.kde.org/unmaintained/kde-baseapps/-/commit/d04a9df14daa636cc75666529e3fb01a93f2f508

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

Reply via email to