<table><tr><td style="">nhiga added a comment.
</td><a style="text-decoration: none; padding: 4px 8px; margin: 0 8px 8px; float: right; color: #464C5C; font-weight: bold; border-radius: 3px; background-color: #F7F7F9; background-image: linear-gradient(to bottom,#fff,#f1f0f1); display: inline-block; border: 1px solid rgba(71,87,120,.2);" href="https://phabricator.kde.org/D20424">View Revision</a></tr></table><br /><div><div><p>With <tt style="background: #ebebeb; font-size: 13px;">krarc</tt>, 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.</p>

<p>[1] For Krusader, add <tt style="background: #ebebeb; font-size: 13px;">application/vnd.rar</tt> to <tt style="background: #ebebeb; font-size: 13px;">archiveMimetype</tt> in <tt style="background: #ebebeb; font-size: 13px;">krArc/krarc.protocol</tt><br />
[2] For KIO, add <tt style="background: #ebebeb; font-size: 13px;">mime.inherits(QStringLiteral("application/vnd.rar"))</tt> and <tt style="background: #ebebeb; font-size: 13px;">mime.inherits(QStringLiteral("application/x-7z-compressed"))</tt> to <tt style="background: #ebebeb; font-size: 13px;">KUrlNavigator::Private::isCompressedPath</tt> in <tt style="background: #ebebeb; font-size: 13px;">src/filewidgets/kurlnavigator.cpp</tt></p></div></div><br /><div><strong>REPOSITORY</strong><div><div>R241 KIO</div></div></div><br /><div><strong>REVISION DETAIL</strong><div><a href="https://phabricator.kde.org/D20424">https://phabricator.kde.org/D20424</a></div></div><br /><div><strong>To: </strong>nhiga, kde-frameworks-devel, ngraham<br /><strong>Cc: </strong>bcooksley, aacid, ngraham, michaelh, bruns<br /></div>