Bug 172699 - Dolphin cannot call ark by the "Compress To..." menu
Summary: Dolphin cannot call ark by the "Compress To..." menu
Status: RESOLVED WORKSFORME
Alias: None
Product: dolphin
Classification: Applications
Component: general (show other bugs)
Version: 16.12.2
Platform: Unlisted Binaries Linux
: NOR normal
Target Milestone: ---
Assignee: Peter Penz
URL:
Keywords: triaged
: 177532 (view as bug list)
Depends on:
Blocks:
 
Reported: 2008-10-13 07:54 UTC by Shannon Fang
Modified: 2008-12-20 18:32 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Shannon Fang 2008-10-13 07:54:02 UTC
Version:           1.1 (using KDE 4.1.2)
Compiler:          dont know Arch pre-compiled kdemod distribution
OS:                Linux
Installed from:    Unspecified Linux

"Compress to..." sub-menu of Dolphin does not work.

I select a (one or more does not matter) file, right-click, choose Compress, then “Compress to...” nothing happens. But if I choose "Gziped tar archive" submenu, it works. However, it does not give me a chance to set archive file name, or compression type.

Below is log message if I start Dolphin from a console:

dolphin(25142)/kdecore (trader) KMimeTypeTrader::query: query for mimeType  "text/x-patch" ,  "Application"  : returning  2  offers            
dolphin(25142) KDesktopFileActions::executeService: "addTo" first url's path= "/home/xrfang/wine/freetype.patch" exec= "ark --add-to --autodestination --dialog %F"                                                                             
dolphin(25142)/kio (KDirListerCache) KDirListerCache::slotFilesChanged: only half implemented                                                                   
dolphin(25142)/kio (KDirListerCache) KDirListerCache::slotFilesChanged: KUrl("file:///home/xrfang/wine/freetype.patch")                                         
dolphin(25142)/kio (KDirModel) KDirModelPrivate::_k_slotRefreshItems: slotRefreshItems: dataChanged( "[index for /home/xrfang/wine/freetype.patch]"  -  "[index for /home/xrfang/wine/freetype.patch]"                                          
dolphin(25142)/kio (KDirListerCache) KDirListerCache::slotFilesChanged: KUrl("file:///home/xrfang/wine/PKGBUILD")
dolphin(25142)/kio (KDirModel) KDirModelPrivate::_k_slotRefreshItems: slotRefreshItems: dataChanged( "[index for /home/xrfang/wine/PKGBUILD]"  -  "[index for /home/xrfang/wine/PKGBUILD]"
ark(25208)/ark (kdeutils) AddToArchive::startAdding:
ark(25208)/ark (kdeutils) Kerfuffle::factory:
ark(25208)/kdecore (KSycoca) KSycocaPrivate::openDatabase: Trying to open ksycoca from  "/var/tmp/kdecache-xrfang/ksycoca4"
ark(25208)/kdecore (trader) KMimeTypeTrader::query: query for mimeType  "application/octet-stream" ,  "Kerfuffle/Plugin"  : returning  0  offers
ark(25208)/ark (kdeutils) Kerfuffle::factory: Trying to find the mimetype by looking at file content
ark(25208)/ark (kdeutils) Kerfuffle::factory: "application/octet-stream" 0
ark(25208)/kdecore (trader) KMimeTypeTrader::query: query for mimeType  "application/octet-stream" ,  "Kerfuffle/Plugin"  : returning  0  offers
ark(25208)/ark (kdeutils) Kerfuffle::factory: Couldn't find a library capable of handling  "--autodestination"
ark(25208)/ark (kdeutils) AddToArchive::startAdding: "Set filename to --autodestination"
Comment 1 FiNeX 2008-11-14 14:27:14 UTC
On current trunk it opens ark, but after the archive is not done. :-(
Comment 2 Dario Andres 2008-12-20 15:42:52 UTC
Here using:

Qt: 4.4.3                 
KDE: 4.1.85 (KDE 4.1.85 (KDE 4.2 Beta2))
kdelibs svn rev. 899135 / kdebase svn rev. 899135
kdeutils svn rev. 899332
on ArchLinux x86_64 - Kernel 2.6.27.8

I think this is fixed. Using the "Compress to ..." option opens the Ark dialog to choose the file name, location and format. After accepting the dialog the file is created with the selected files inside it (at least for .tar.gz & .tar.bz2 files, I didn't tested with others formats)

Can anyone else confirm this ?
Comment 3 Dario Andres 2008-12-20 16:07:48 UTC
*** Bug 177532 has been marked as a duplicate of this bug. ***
Comment 4 FiNeX 2008-12-20 17:53:34 UTC
I confirm it. It works for me too. Please reopen someone can reproduce using a more recent KDE version (tested on trunk)