Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/index.php/Reporting_Bug_Guidelines

Do NOT report bugs when a package is just outdated, or it is in Unsupported. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#46580 - [xsane] 0.999-1 Unable to select scan area in preview window -- fix / patch included

Attached to Project: Arch Linux
Opened by Robert (emmi3) - Tuesday, 06 October 2015, 08:50 GMT
Last edited by Doug Newgard (Scimmia) - Tuesday, 06 October 2015, 16:03 GMT
Task Type Bug Report
Category Packages: Extra
Status Assigned
Assigned To Tobias Powalowski (tpowa)
Architecture All
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 0%
Votes 2
Private No

Details

Description:

In the xsane preview window I can not select the scan area any more. When I click there is something selected, but I an not properly choose the area. I am pretty sure that it did work properly not so long ago. Sorry, cannot be more specific here since I haven't used xsane for a while.

A quick search turned up that this problem was already known and fixed 5 years ago in Ubuntu and Debian:
https://bugs.launchpad.net/ubuntu/+source/xsane/+bug/370818
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=311199
Fix here:
http://launchpadlibrarian.net/49011896/xsane_0.996-2ubuntu1.2.debdiff
From the Ubuntu bug report it seems that this problem has been reintroduced there as well. The Debian bug report includes a very good explaination of the patch.

A quick look at the sources shows that our sources are indeed missing the patch. I have removed the debian specific part from the above mentioned fix and built the package. Now it works as expected.

I'll attach it as xsane-0.996-preview.patch together with the modified PKGBUILD to include this patch.

Additional info:
* package version: xsane 0.999-1
* Ubuntu bug report: https://bugs.launchpad.net/ubuntu/+source/xsane/+bug/370818
* Debian bug report: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=311199
* Ubuntu fix: http://launchpadlibrarian.net/49011896/xsane_0.996-2ubuntu1.2.debdiff

Steps to reproduce:
* start xsane
* acquire a previev
* try to select scan area with the mouse (in my case X61s Thinkpad trackpoint)
This task depends upon

Comment by Bill (QuimaxW) - Friday, 06 November 2015, 17:04 GMT
I also had the same issues with the selection in the preview windows.

Using the aforementioned PKGBUILD and patch, I was able to rebuild the package and everything is working again as it should.
Comment by mariakatosvich (mariakatosvich) - Tuesday, 14 June 2016, 09:09 GMT
I am pretty sure that it did work properly not so long ago. I haven't used the same for a while.
Thanks.
http://qwikfix.co.uk/equifax-contact-number/
Comment by dllud (dllud) - Saturday, 02 November 2019, 18:13 GMT
This issue still remains. I've applied the xsane-0.996-preview.patch on top of the latest PKGBUILD. The resulting PKGBUILD goes attached.
The patch still applies and makes xsane's scan area selection work as expected.
Shouldn't this be merged into the official package?
   PKGBUILD (3.2 KiB)

Loading...