Shotwell "Send To Email" doesn't attach multiple photos

Bug #1002537 reported by Alex Moldovan
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
shotwell (Ubuntu)
Fix Released
Low
Unassigned
Quantal
Fix Released
Low
Unassigned
Raring
Fix Released
Low
Unassigned

Bug Description

Impact:
Trying to send multiple file, from shotwell, by email doesn't work every time

Test Case:
1) Open Shotwell
2) Select multiple more than one photo from your library
3) Right click on the selection and choose "Send To..."
4) At "Send To" window accept default settings and click OK.
5) Choose "Send as: Email" and click send.

Result:
Thunderbird opens but there' just one photo attached to the email, not all of them.

Expected result:
All photos should be attached to the email.

Regression potential:
Check that "send to" is adding the correct files

---

Workaround:
At the "Send To" dialog window use the "Scaling constraint" to change the size and then all photos will be attached to the email.

I can reproduce this every time. I have used small photos so that the size of the attachment won't be a problem. I'm not sure it's a regression but I don't remember having this issue in Oneiric. I will test with Evolution if necessary.

ProblemType: Bug
DistroRelease: Ubuntu 12.04
Package: shotwell 0.12.2-0ubuntu2
ProcVersionSignature: Ubuntu 3.2.0-24.38-generic 3.2.16
Uname: Linux 3.2.0-24-generic x86_64
ApportVersion: 2.0.1-0ubuntu7
Architecture: amd64
Date: Mon May 21 17:34:59 2012
ProcEnviron:
 LANGUAGE=en_CA:en
 TERM=xterm
 PATH=(custom, no user)
 LANG=en_CA.UTF-8
 SHELL=/bin/bash
SourcePackage: shotwell
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
Alex Moldovan (alexmoldovan) wrote :
Changed in shotwell (Ubuntu):
importance: Undecided → Low
Revision history for this message
Laura Khalil (loura) wrote :

Hi Alex,

I am not able to reproduce this issue. How large are the individual images you are trying to send? What is their format? If I understand, you are able to send them if you pack them in a zip file. Is that correct?

Revision history for this message
Alex Moldovan (alexmoldovan) wrote :

Hi Laura, the files are jpg, around 800kb in size. If I pack them in zip the issue persists. The only workaround is to transform them at the Send To dialog by scaling them. I can't reproduce it on a different machine. Could this be a file permission issue? I am sharing my database and photos with a different user and so the ownership of the photos and the shotwell database is:

-rw-r--r-- 1 alex otheruser 7974912 May 22 17:35 .shotwell/data/photo.db

instead of the default:

-rw-r--r-- 1 alex alex 7974912 May 22 17:35 .shotwell/data/photo.db

I can't reproduce this on my other computer where I have just one user setup.

Revision history for this message
Ed Comer (celem) wrote :

This is a definately shotwell bug. I have verified with the test script below. Simply selecting multiple photos will only result in one photo being mailed. To get around the bug, the only known workaround is to transform them at the SendTo dialog by scaling them. If they are already too small to scale, the bug will remain, thus scaling will have to occur to workaround the bug.

----------TEST-SCRIPT-----------
#!/bin/sh
# replace nautilus-sendto with the test script. nautilus-sendto is
# found in your executable path. Remember to save the original
# nautilus-sendto for restoration after tests.
#
LOGFILE=/tmp/nautilus-sendtolog.txt

echo Running nautilus-sendto test script
echo Read results at $LOGFILE

echo Inside nautilus-sendto >$LOGFILE
echo Number of arguments passed: $# >>$LOGFILE
echo Passed arguments are: >>$LOGFILE
echo $@ >>$LOGFILE
echo Current environment is: >>$LOGFILE
env >>$LOGFILE
echo Exiting nautilus-sendto >>$LOGFILE

Revision history for this message
Adam Dingle (adam-yorba) wrote :

Also reported upstream at

http://redmine.yorba.org/issues/5827

Changed in shotwell (Ubuntu):
status: New → In Progress
Changed in shotwell (Ubuntu Quantal):
status: New → In Progress
importance: Undecided → Low
description: updated
Revision history for this message
Lucas Beeler (lucas-yorba) wrote :

This has been fixed upstream (see http://redmine.yorba.org/issues/5822). Shotwell versions 0.13.1 and later no longer exhibit this problem.

Changed in shotwell (Ubuntu Quantal):
status: In Progress → Fix Committed
Changed in shotwell (Ubuntu Raring):
status: In Progress → Fix Committed
Changed in shotwell (Ubuntu Quantal):
status: Fix Committed → In Progress
Revision history for this message
Sebastien Bacher (seb128) wrote :

Changing back to "In progress" since the SRU is waiting in the queue and the team reviewing set to "fix commited" only once uploads are accepted

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package shotwell - 0.13.1-0ubuntu2

---------------
shotwell (0.13.1-0ubuntu2) raring; urgency=low

  * Upload to raring

shotwell (0.13.1-0ubuntu1) quantal-proposed; urgency=low

  * New upstream version:
    - "does not check response from fb assumes it is html/xml" (lp: #1050793)
    - Fixes an issue where Shotwell would not include all selected photos
      during a Nautilus "Send To..." export operation (lp: #1002537)
    - Shotwell now properly inhibits the system screensaver when playing a
      slideshow (lp: #1034412)
  * debian/patches/06_uoa.patch: new version update
  * debian/patches/dont_set_hardcoded_libexec.patch: revert upstream change,
    changing the directory this way in a SRU is wrong
 -- Sebastien Bacher <email address hidden> Wed, 07 Nov 2012 17:29:21 +0100

Changed in shotwell (Ubuntu Raring):
status: Fix Committed → Fix Released
Revision history for this message
Chris Halse Rogers (raof) wrote : Please test proposed package

Hello Alex, or anyone else affected,

Accepted shotwell into quantal-proposed. The package will build now and be available at http://launchpad.net/ubuntu/+source/shotwell/0.13.1-0ubuntu1 in a few hours, and then in the -proposed repository.

Please help us by testing this new package. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to enable and use -proposed. Your feedback will aid us getting this update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested, and change the tag from verification-needed to verification-done. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed. In either case, details of your testing will help us make a better decision.

Further information regarding the verification process can be found at https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in advance!

Changed in shotwell (Ubuntu Quantal):
status: In Progress → Fix Committed
tags: added: verification-needed
Revision history for this message
Timo Jyrinki (timo-jyrinki) wrote :

Tested to be fixed in 0.13.1.

tags: added: verification-done
removed: verification-needed
Revision history for this message
Alex Moldovan (alexmoldovan) wrote :

Looks like it's fixed. :)

Revision history for this message
Colin Watson (cjwatson) wrote : Update Released

The verification of this Stable Release Update has completed successfully and the package has now been released to -updates. Subsequently, the Ubuntu Stable Release Updates Team is being unsubscribed and will not receive messages about this bug report. In the event that you encounter a regression using the package from -updates please report a new bug using ubuntu-bug and tag the bug report regression-update so we can easily find any regresssions.

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package shotwell - 0.13.1-0ubuntu1

---------------
shotwell (0.13.1-0ubuntu1) quantal-proposed; urgency=low

  * New upstream version:
    - "does not check response from fb assumes it is html/xml" (lp: #1050793)
    - Fixes an issue where Shotwell would not include all selected photos
      during a Nautilus "Send To..." export operation (lp: #1002537)
    - Shotwell now properly inhibits the system screensaver when playing a
      slideshow (lp: #1034412)
  * debian/patches/06_uoa.patch: new version update
  * debian/patches/dont_set_hardcoded_libexec.patch: revert upstream change,
    changing the directory this way in a SRU is wrong
 -- Sebastien Bacher <email address hidden> Wed, 31 Oct 2012 16:58:47 +0100

Changed in shotwell (Ubuntu Quantal):
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.