D23490: [KUrlNavigator] Add MIME types supported by krarc to isCompressedPath

N. Higa noreply at phabricator.kde.org
Tue Aug 27 14:11:53 BST 2019


nhiga created this revision.
nhiga added a reviewer: kde-frameworks-devel.
nhiga added a project: Frameworks.
nhiga requested review of this revision.

REVISION SUMMARY
  With D23476 <https://phabricator.kde.org/D23476>, this patch should let users who have Krusader installed to view files inside a 7z or RAR archive in KDE applications (such as Gwenview) without decompressing the whole archive to another location. They will also be able to navigate the archive using Dolphin.

TEST PLAN
  1. Apply D23476 <https://phabricator.kde.org/D23476> (and add `application/vnd.rar` to `archiveMimetype` in `krArc/krarc.protocol` if it does not work) to Krusader.
  2. Apply this patch to KIO.
  3. Enable "Open archives as folder" in Dolphin, then open a 7z/RAR file. It should be using the `krarc` protocol.
  4. Browse (Navigate) and look around the archive. Click on the breadcrumb in the location area for a parent folder which is outside the archive to make sure Bug 386448 does not occur.
  5. Open Gwenview and view a 7z/RAR archive with photos. Browse and view an image inside the archive.
  6. To be safe, uninstall Krusader and see if there is any bug if `krarc` is unavailable.

REPOSITORY
  R241 KIO

REVISION DETAIL
  https://phabricator.kde.org/D23490

AFFECTED FILES
  src/filewidgets/kurlnavigator.cpp

To: nhiga, kde-frameworks-devel
Cc: LeGast00n, GB_2, michaelh, ngraham, bruns
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20190827/17f1060c/attachment.html>


More information about the Kde-frameworks-devel mailing list