Bug 226590 - Cant launch kaffeine from Email to watch received video clip
Summary: Cant launch kaffeine from Email to watch received video clip
Status: RESOLVED UPSTREAM
Alias: None
Product: kmail
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: openSUSE Linux
: NOR normal
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-02-12 19:57 UTC by Axel Braun
Modified: 2010-02-28 17:29 UTC (History)
1 user (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 Axel Braun 2010-02-12 19:57:34 UTC
Version:            (using KDE 4.4.0)
OS:                Linux
Installed from:    openSUSE RPMs

I think this bus is already since KDE 4.3 (at least):
In a received EMail, click on the embedded video (.avi, .wmv or similar).
KMail asks to open with kaffeine, click yes, kaffeine is briefly startet but noes not launch. If you save the file it is possible to watch (means: In general kaffeine works).
Can it be that the temporary link (of the movie) to start kaffeine with is not working correctly?
Comment 1 Martin Koller 2010-02-27 13:46:05 UTC
When you start kmail from a konsole, do you get any helpful information (error message) when starting kaffeine ?
Comment 2 Axel Braun 2010-02-27 15:20:34 UTC
From the console it starts perfectly:

axel@z60m:~> kaffeine
kaffeine(31052)/kdecore (KSycoca): Trying to open ksycoca from  "/home/axel/.kde4/cache-z60m/ksycoca4"
kaffeine(31052)/kio (bookmarks) KBookmarkManager::KBookmarkManager: starting KDirWatch for  "/home/axel/.local/share//user-places.xbel"
kaffeine(31052)/kio (KDirListerCache) KDirListerCache::listDir: Listing directory: KUrl("trash:/")
kaffeine(31052)/kio (KDirListerCache) KDirListerCache::listDir: Entry currently being listed: KUrl("trash:/") by (KDirLister(0x8874d50) )
kaffeine(31052)/kio (Slave) KIO::Slave::createSlave: createSlave "trash" for KUrl("trash:/")
kaffeine(31052)/kio (KIOConnection) KIO::ConnectionServer::listenForRemote: Listening on  "local:/home/axel/.kde4/socket-z60m/kaffeineh31052.slave-socket"
kaffeine(31052)/kio (Slave) KIO::Slave::createSlave: createSlave "file" for KUrl("file:///home/axel/Documents")
kaffeine(31052)/kio (KIOConnection) KIO::ConnectionServer::listenForRemote: Listening on  "local:/home/axel/.kde4/socket-z60m/kaffeineP31052.slave-socket"
axel@z60m:~> kaffeine(31052)/kio (KDirListerCache) KDirListerCache::listDir: Listing directory: KUrl("file:///home/axel/Documents")
kaffeine(31052)/kio (KDirListerCache) KDirListerCache::slotResult: finished listing KUrl("trash:/")
kaffeine(31052)/kio (KDirListerCache) KDirListerCache::slotResult: finished listing KUrl("file:///home/axel/Documents")
kaffeine(31052)/kio (KDirListerCache) KDirListerCache::forgetDirs: KDirLister(0x881a1f0)  item moved into cache:  KUrl("file:///home/axel/Documents")
kaffeine(31052)/kio (KDirListerCache) KDirListerCache::forgetDirs: Not adding a watch on  KUrl("file:///home/axel/Documents")  because it  is manually mounted
kaffeine(31052)/kio (KDirListerCache) KDirListerCache::forgetDirs: KDirLister(0x8874d50)  item moved into cache:  KUrl("trash:/")
Comment 3 Martin Koller 2010-02-27 15:25:17 UTC
It seems I was not clear enough.
Please start _kmail_ from the console, and while you click on the attachment, which will lead to a kaffeine start in the background, please check if there is some output shown in the konsole coming from kaffeine started by kmail.
Comment 4 Axel Braun 2010-02-27 16:22:56 UTC
kmail does not offer any output, it immediately returns to the command promt after start.
Any parameter I need to use (sorry to ask, I'm not a programmer)
Comment 5 Martin Koller 2010-02-28 16:39:59 UTC
So even when you try to start kaffeine via clicking on the movie attachment and kaffeine not starting, you get no output on the konsole ?
If so, is there anything inside ~/.xsession-errors which is related to this problem ?
You can run "kdebugdialog" and activate "7010 kio (KRun)" and try if that prints more information then on the konsole when starting kaffeine from kmail.
Comment 6 Martin Koller 2010-02-28 17:29:05 UTC
I think I found the problem. It's a bug in the .desktop file from the kaffeine installation.
I created a bug report against kaffeine (and a solution hint):
https://bugs.kde.org/show_bug.cgi?id=228912