D20424: [KUrlNavigator] Fix URL navigation when exiting archive with krarc and Dolphin
N. Higa
noreply at phabricator.kde.org
Fri Apr 12 03:33:06 BST 2019
nhiga added a comment.
With `krarc`, users can open 7z and RAR files as folder in Dolphin (with patches [1] [2]). This is also useful for Gwenview - if you have pictures in a 7z or RAR archive, then you can view them in Gwenview without decompressing the whole archive to another location. However, I'm not sure whether it's appropriate to add these Krusader-specific things to KIO.
[1] For Krusader, add `application/vnd.rar` to `archiveMimetype` in `krArc/krarc.protocol`
[2] For KIO, add `mime.inherits(QStringLiteral("application/vnd.rar"))` and `mime.inherits(QStringLiteral("application/x-7z-compressed"))` to `KUrlNavigator::Private::isCompressedPath` in `src/filewidgets/kurlnavigator.cpp`
REPOSITORY
R241 KIO
REVISION DETAIL
https://phabricator.kde.org/D20424
To: nhiga, kde-frameworks-devel, ngraham
Cc: bcooksley, aacid, ngraham, michaelh, bruns
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20190412/f75c5bd3/attachment.html>
More information about the Kde-frameworks-devel
mailing list