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

Kai Uwe Broulik <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
          Component|general                     |general
                 CC|                            |[email protected],
                   |                            |[email protected]
            Product|dolphin                     |frameworks-kio
            Version|18.04.1                     |git master
     Ever confirmed|0                           |1
             Status|UNCONFIRMED                 |CONFIRMED
           Assignee|[email protected]   |[email protected]

--- Comment #2 from Kai Uwe Broulik <[email protected]> ---
Very interesting find.

KUrlNavigator is built so that it will seamlessly switch between browsing
"real" folders and archives, when a URL is set, it checks for mime types and
then has some special handling for ZIP and TAR archives. The interesting bit is
that

QMimeDatabase mimeTypeForUrl("zip:///home/kaiuwe/Downloads/test2.zip")
correctly returns application/zip whereas the same file just renamed
zip:///home/kaiuwe/Downloads/test2 returns application/octet-stream and then it
exits out into a folder.

(I don't know where exactly the mime type resolution happens as "zip" is not a
local URL so it will probably ask KIO and then probably the archive KIO gets
confused? I'm not very knowledgable about KIO internals)

Re-assigning to KIO.

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

Reply via email to