Delete only deletes content of a page, not the page itself

Bug #1442596 reported by Jörg Frings-Fürst on 2015-04-10
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Simple Scan
Fix Released
Medium
Unassigned
3.14
Fix Released
Medium
Unassigned
3.16
Fix Released
Medium
Unassigned
simple-scan (Debian)
Fix Released
Unknown
simple-scan (Ubuntu)
Medium
Unassigned
Utopic
Medium
Unassigned
Vivid
Medium
Unassigned

Bug Description

[Impact]
Attempting to delete a page in a two page document replaces deleted page with a blank page leaving two pages.

[Test Case]
1. Open Simple Scan
2. Scan two pages
3. Delete a page

Expected result:
Selected page is deleted and one page remains.

Observed result:
Selected page is replaced with a blank page and two pages remain.

[Regression Potential]
Low. The change in revision 701 caused the blank page adding logic to run after the page was removed not before it. This meant it had an off-by-one error when checking if a blank page should be added.

Changed in simple-scan (Debian):
status: Unknown → Confirmed
Robert Ancell (robert-ancell) wrote :

Confirmed this occurs since 3.14 so there must have been a regression after 3.12.

no longer affects: simple-scan/trunk
no longer affects: simple-scan/3.17
no longer affects: simple-scan/3.12
Changed in simple-scan (Ubuntu Utopic):
status: New → Triaged
Changed in simple-scan (Ubuntu Vivid):
status: New → Triaged
importance: Undecided → Medium
Changed in simple-scan (Ubuntu Utopic):
importance: Undecided → Medium
Changed in simple-scan:
importance: Undecided → Medium
status: New → Triaged
Robert Ancell (robert-ancell) wrote :

Looks like revision 701 (page reordering) broke this.

Changed in simple-scan:
status: Triaged → Fix Committed
description: updated
Changed in simple-scan:
milestone: none → 3.17.1
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package simple-scan - 3.16.1.1-0ubuntu1

---------------
simple-scan (3.16.1.1-0ubuntu1) vivid; urgency=medium

  * New upstream release:
    - Fix logic for adding blank page on page removal. (LP: #1442596)
 -- Robert Ancell <email address hidden> Tue, 14 Apr 2015 12:00:15 +1200

Changed in simple-scan (Ubuntu Vivid):
status: Triaged → Fix Released
Changed in simple-scan (Debian):
status: Confirmed → Fix Released

Hello Jörg, or anyone else affected,

Accepted simple-scan into utopic-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/simple-scan/3.14.3-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 simple-scan (Ubuntu Utopic):
status: Triaged → Fix Committed
tags: added: verification-needed
Jörg Frings-Fürst (jff-de) wrote :

Hi Timo,

at Debian build and testing are ok.

Version 3.16.1.1-1 are uploaded to unstable.

Thanks for your work.

CU
Jörg

tags: added: verification-done
removed: verification-needed
Changed in simple-scan:
status: Fix Committed → Fix Released
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package simple-scan - 3.14.3-0ubuntu1

---------------
simple-scan (3.14.3-0ubuntu1) utopic; urgency=medium

  * New upstream release:
    [ 3.14.3 ]
    - Fix logic for adding blank page on page removal. (LP: #1442596)
    - Fix save button being inactive on pages restored after a crash.
      (LP: #1435794)
    - Fix error where document was discarded if warning dialog was closed.
      (LP: #1386738)
    [ 3.14.2 ]
    - Store density information in bitmap formats (JPEG, PNG, TIFF). Requires
      gdk-pixbuf 2.32 (LP: #484616)
 -- Robert Ancell <email address hidden> Tue, 14 Apr 2015 12:03:37 +1200

Changed in simple-scan (Ubuntu Utopic):
status: Fix Committed → Fix Released

The verification of the Stable Release Update for simple-scan 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 regressions.

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers

Remote bug watches

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