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 ).
A rar:// protocol would be very nice.
Krusader can do this: http://krusader.sourceforge.net/handbook/konfig-archives.html
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.
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
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.
(144 votes, not bad)
M +26 -23 konqmainwindow.cpp
WebSVN link: http://websvn.kde.org/?view=rev&revision=815866