By default, Bugzilla does not search the list of RESOLVED bugs.You can force it to do so by putting the upper-case word ALL in front of your search query, e.g.: ALL tdelibs
We recommend searching for bugs this way, as you may discover that your bug has already been resolved and fixed in a later release.
| Summary: |
konqueror arkplugin Compress & Extract options |
| Product: |
TDE
|
Reporter: |
Brian James <bugs-tde> |
| Component: |
tdeaddons | Assignee: |
Michele Calgaro <michele.calgaro> |
| Status: |
RESOLVED
FIXED
|
|
|
| Severity: |
normal
|
CC: |
be4youcome, bugwatch, michele.calgaro
|
| Priority: |
P5
|
|
|
| Version: |
R14.0.0 [Trinity] | |
|
| Hardware: |
All | |
|
| OS: |
Linux | |
|
|
Compiler Version:
|
|
TDE Version String:
|
|
|
Application Version:
|
|
Application Name:
|
|
| Bug Depends on: |
|
|
|
| Bug Blocks: |
2696
|
|
|
In konqueror file-manager, right click on folder or file | Compress | Compress As Bugs ---- 1] i) Blank before *.tar.lzma option ii) Compress As *.tar.xz/*.tar.lzma options compress with file extensions .txz/.tlz iii) Compress As 'blank' compresses with file extension .tar.lzma 2] i) Compress As *.xz & *.lzma options are duplicated ii) Right click on any *.xz/*.tar.lzma/*.tlz file and the Compress option shows -> should be Extract option Reasons ------- 1] arkplugin.cpp has an entry for m_extractMimeTypes << "application/x-tbz2"; but application/x-tbz2 doesn't exist. The MimeType for dealing with *.tar.bz2 & *.tbz2 patterns is application/x-tbz 2] In arkplugin.cpp, under ArkMenu::extMimeTypes(), lzma and xz have m_archiveMimeTypes -> should be m_extractMimeTypes Solution -------- Apply patch: --- tdeaddons/konq-plugins/arkplugin/arkplugin.cpp 2014-04-03 09:33:15.000000000 +0000 +++ arkplugin-new.cpp 2014-05-01 21:31:52.000000000 +0000 @@ -304,10 +304,7 @@ if ( havegz ) m_archiveMimeTypes << "application/x-tgz"; if ( havebz2 ) - { m_archiveMimeTypes << "application/x-tbz"; - m_archiveMimeTypes << "application/x-tbz2"; - } if ( havelzop ) m_archiveMimeTypes << "application/x-tzo"; if ( havelzma ) @@ -379,14 +376,14 @@ if ( !TDEStandardDirs::findExe( "lzma" ).isNull() ) { havelzma = true; - m_archiveMimeTypes << "application/x-lzma"; + m_extractMimeTypes << "application/x-lzma"; } bool havexz = false; if ( !TDEStandardDirs::findExe( "xz" ).isNull() ) { havexz = true; - m_archiveMimeTypes << "application/x-xz"; + m_extractMimeTypes << "application/x-xz"; } if ( !TDEStandardDirs::findExe( "tar" ).isNull() ) @@ -395,14 +392,11 @@ if ( havegz ) m_extractMimeTypes << "application/x-tgz"; if ( havebz2 ) - { m_extractMimeTypes << "application/x-tbz"; - m_extractMimeTypes << "application/x-tbz2"; - } if ( havelzop ) m_extractMimeTypes << "application/x-tzo"; if ( havelzma ) - m_extractMimeTypes << "application/x-lzma"; + m_extractMimeTypes << "application/x-tlz"; if ( havexz ) m_extractMimeTypes << "application/x-txz"; }