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

MILAS Robin <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |REOPENED
     Ever confirmed|0                           |1
         Resolution|NOT A BUG                   |---

--- Comment #7 from MILAS Robin <[email protected]> ---
(In reply to aristsakas from comment #6)
> Gamecube iso file previews are not not supported by KDE. I think it doesn't
> belong to KDE bugzilla. 
> Thank you

Before even closing the ticket read the title.
The "Gamecube iso file previews" is only used to reproduce the bug so your
comment just seem at of place.
The issue is/was than the "MIME type of some local file is never determined
except when sorted by types" as the title of the bug specifies.
Meaning the type of the file changes when you refresh the folder based on the
filter type ! And as the preview is based on the MIME type it happen to make
the issue more visual. But the bug still exist without the GCN Previewer, and
also happen to change which icon is used to display the file.
This is caused by the fact that if the type column is not selected, the
mimetype only using it's name, but when the type column is selected and then
the folder is refreshed it happens to detect the mimetype base on name and file
content.
This cause to generate two distinct MIME type for the same file
"application/x-gamecube-rom" and "application/vnd.efi.iso" which their
following mime file contain the following :

/usr/share/mime/application/x-gamecube-rom
```
...
   <generic-icon name="application-x-executable"/>
    <alias type="application/x-gamecube-iso-image"/>
    <glob pattern="*.iso"/>
...
```
/usr/share/mime/application/vnd.efi.iso
```
...
  <generic-icon name="media-optical"/>
  <alias type="application/x-cd-image"/>
  <alias type="application/x-iso9660-image"/>
  <glob pattern="*.iso" weight="80"/>
  <glob pattern="*.iso9660"/>
...
```

As you can see the generic-icon are different which will trigger a different
icon based on the detected filetype.

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

Reply via email to