Bug 257561 - Default application not launching to open .jpg attachment
Summary: Default application not launching to open .jpg attachment
Status: RESOLVED UNMAINTAINED
Alias: None
Product: KMail Mobile
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Unlisted Binaries Linux
: NOR normal
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-11-22 00:26 UTC by Sabine Faure
Modified: 2016-09-29 07:54 UTC (History)
4 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 Sabine Faure 2010-11-22 00:26:36 UTC
Version:           unspecified
OS:                Linux

If the user clicks on the attachment icon/name from the Message viewer the default application to open a photo does not launch.

Reproducible: Always

Steps to Reproduce:
- Launch Kmail-mobile
- Click on 'Write new Email'
- Enter a subject, a recipient (your imap inbox) and a few words in the text editor
- Open the 'paper clip' tab
- Click on 'add attachment'
- Select a .jpg from the N900
- The name of the selected .jpg is added into the tab
- Close the tab and click on 'Send'
- Click on your Imap Inbox
- Click on the email you've just sent
- Click on the icon/name of the .jpg
- An 'Open Attachment? - Kmail Mobile' pop dialogue appears 
- In it click on the 'Open with 'imag_ap_images' button

Actual Results:  
The pop up dialogue disappears but the application does not launch at all.

Expected Results:  
The user cannot view a .jpg using the default application proposed by the 
N900.

N900, 4:4.6~20101119.1198723-1maemo1.1198084
Comment 1 Tobias Koenig 2010-12-30 11:25:40 UTC
Hej Sabine,

can you let David check please if this is caused by a broken Exec statement in the image viewers' .desktop file again? We had a similar issue with opening HTML files with the browser application.

Ciao,
Tobias
Comment 2 Bjoern Ricks 2011-01-14 15:46:21 UTC
It's not a problem on wince -> removed komo3 keyword
Comment 3 David Faure 2011-01-14 23:17:05 UTC
No, different problem. /usr/bin/image-viewer seems broken on maemo. It doesn't show anything.

/usr/bin/image-viewer returns immediately.
/usr/bin/image-viewer /tmp/nenuphar.jpg also returns immediately.
And nothing is shown.
Exit code 0.
strace says weird stuff about dbus, not sure what this binary is really doing; seems like it's writing to the "/tmp/.maemo-launcher" socket.
Anyway, this is a maemo bug. Either image-viewer isn't working, or it's not supposed to be run this way (and then associating it with image mimetypes in its .desktop file is wrong). Please report upstream.
Comment 4 Sabine Faure 2011-01-14 23:19:25 UTC
Package version:
ii  imageviewer     3.4.10.1+0m5            An image viewer
Comment 5 Lamarque V. Souza 2011-12-05 12:07:39 UTC
This seems fixed in the devel image I am testing (2011-11-30-19-05-basyskom-plasma-active-devel-meego-usb-live.iso). Kmail-mobile launches active-imageviewer when clicking on the "Open with 'Image'" button. Can you confirm it is fixed?