Bug 63195

Summary: Konqueror : Open ALL archived/compressed formats in Konqueror
Product: [Frameworks and Libraries] kio Reporter: Sebastien <slaout>
Component: generalAssignee: David Faure <faure>
Status: RESOLVED FIXED    
Severity: wishlist    
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: unspecified   
OS: Linux   
Latest Commit: Version Fixed In:

Description Sebastien 2003-08-24 14:58:12 UTC
Version:            (using KDE KDE 3.1)

- Currently, depending of the format, one archived/compressed file will be opened directly in Konqueror (as a regular folder) and another will be opened in Ark.
It can disturb users if two compressed files are not opened in the same application (these are two COMPRESSED files : don't care of the format).
There is a tar:// protocol and a zip:// protocol.
So, file.zip and file.tar.bz2 will be opened in konqueror, but file.bz2 will be opened in Ark !
Perhapse we need a bz2:// protocol, or bzip:// one... But we need a protocol (Ark must only be used for modify archives... or we can do it directly in Konqueror (more intuitive and friendly : no distingtion between file/folder and compressed folder/file) and remove useless Ark program).
- For single compressed file (for example I have cours.ps.gz : this archive contain only one file and is opened with Ark).
This cours.ps.gz has an icon of '.ps MIME type' (and a little compression flag in its icon) but it is opened with Ark.
Could be good in this case to directly open the compressed file (cours.ps in this example) because we altought everybody must do that mannualy : can be automatized (and it's a good abstraction : it's a .ps file, compresed or not we want to visualize it).
So, a gzip:// protocol ? Again : will be simplier for users (advanced or not ! ) and this is the futur (euh... 'my vision' of the futur :-D ).
Comment 1 Patrik Grip-Jansson 2004-06-23 01:18:19 UTC
A rar:// protocol would be very nice.
Comment 2 Helge Hielscher 2004-10-31 16:56:15 UTC
Krusader can do this: http://krusader.sourceforge.net/handbook/konfig-archives.html
Comment 3 David Faure 2008-06-02 19:26:16 UTC
SVN commit 815853 by dfaure:

Unbreak kio_filter so that it's somewhat usable again, on top of local files (like kio_archive).
E.g. bzip2:/home/dfaure/input.bz2 works.
CCBUG: 63195


 M  +2 -1      bzip.protocol  
 M  +2 -1      bzip2.protocol  
 M  +66 -38    filter.cc  
 M  +5 -2      filter.h  
 M  +2 -1      gzip.protocol  


WebSVN link: http://websvn.kde.org/?view=rev&revision=815853
Comment 4 David Faure 2008-06-02 20:13:11 UTC
SVN commit 815866 by dfaure:

Move protocolForArchiveMimetype call from openView to openUrl so that clicking on a foo.bz2 file doesn't error out,
it still has to find out the mimetype of the underlying file in order to use the right viewer.
BUG: 63195
(144 votes, not bad)


 M  +26 -23    konqmainwindow.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=815866