After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 782151 - Simple-scan sends only first page to the mail program.
Simple-scan sends only first page to the mail program.
Status: RESOLVED FIXED
Product: simple-scan
Classification: Other
Component: general
git master
Other Linux
: Normal normal
: ---
Assigned To: Simple Scan maintainer(s)
Simple Scan maintainer(s)
Depends on:
Blocks:
 
 
Reported: 2017-05-04 05:55 UTC by aleduf
Modified: 2017-06-13 21:16 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Skip unnecessary error handler (1005 bytes, text/plain)
2017-05-04 05:55 UTC, aleduf
  Details
Refactor emailing documents (3.90 KB, patch)
2017-05-20 03:41 UTC, Soliloque
none Details | Review
Updated patch (3.95 KB, patch)
2017-05-22 03:34 UTC, Soliloque
none Details | Review

Description aleduf 2017-05-04 05:55:43 UTC
Created attachment 351024 [details]
Skip unnecessary error handler

When porting to vala, the handler of file saving errors remained.

How to reproduce the bug:
Scan two or more photos.
Document - Email.
Only the first page is sent to the mail program.
Comment 1 Soliloque 2017-05-20 03:41:21 UTC
Created attachment 352198 [details] [review]
Refactor emailing documents

This patch solve this bug and make AppWindow.email_document save using Book.save everytime in preparation of making saves asynchronous. Files attached to email also got nicer filenames.
Comment 2 Soliloque 2017-05-22 03:34:06 UTC
Created attachment 352329 [details] [review]
Updated patch
Comment 3 Soliloque 2017-06-13 19:48:21 UTC
Patch commited. Please close.