|
Bugzilla – Full Text Bug Listing |
| Summary: | kooka ignores some scanners | ||
|---|---|---|---|
| Product: | [openSUSE] openSUSE 11.1 | Reporter: | Johannes Meixner <jsmeix> |
| Component: | KDE3 | Assignee: | E-mail List <kde-maintainers> |
| Status: | RESOLVED UPSTREAM | QA Contact: | E-mail List <qa-bugs> |
| Severity: | Major | ||
| Priority: | P3 - Medium | CC: | jsmeix, martin |
| Version: | Factory | Keywords: | should_go_upstream |
| Target Milestone: | --- | ||
| Hardware: | i386 | ||
| OS: | Linux | ||
| URL: | https://bugs.kde.org/show_bug.cgi?id=139932 | ||
| Whiteboard: | |||
| Found By: | Development | Services Priority: | 1000 |
| Business Priority: | Blocker: | --- | |
| Marketing QA Status: | --- | IT Deployment: | --- |
|
Description
Johannes Meixner
2005-12-28 11:57:34 UTC
One more customer with the same problem: --------------------------------------------------------------------- Date: Mon, 22 May 2006 14:30:43 -0500 From: Jadic Family <jadic@sbcglobal.net> To: sane-devel@lists.alioth.debian.org Subject: [sane-devel] Epson Perfection 3170 Photo I just upgraded to SUSE Linux 10.1 from 9.3. The YAST setup went fine and the scanner works with the Iscan package/ epkowa driver. I have however trouble acessing the scanner with KDE applications like Kooka and Gwenview. They report that there is no scanner setup in SANE. (...?) Could anyone give me a hand here? PS: in SUSE 9.3 everything was working just fine... --------------------------------------------------------------------- I changed the product from Suse Linux 10.0 to Suse Linux 10.1 Johannes, do you have a scanner to reproduce that? Of course, see the initial comment: "I have an Epson Perfection 2480 Photo". I reproduced it with Suse Linux 10.0 but not yet with 10.1. Please wait a moment... Tried to reproduce again with my Epson Perfection 2480 Photo using Suse Linux 10.0 and the snapscan backend but this time it works. I don't remember under which exact circumstrances it didn't work when I made my initial comment. I set it to NEEDINFO to me - hopefully I can reproduce it with 10.1 Not only Kooka but also Gwenview does not recognise the scanner. It actually works with Iscan without a glitch. I will try scanimage and xsane and report back. Gwenview and Kooka both use the same code so it's not wondering that both do not work. It's a bug in libkscan. A scanner of a customer also had this problem (it's a Epson Perfection V350). So I took some time to investigate why this happens. While stepping through the lines of kooka/libkscan I noticed that sane_get_devices from libsane doesn't return any devices at all. So I copied the lines for detection from the constructor of KScanDevice to my new, empty main.cpp. I was a little surprised that my program was able to detected the scanner. Next Step: using libkscan directly from my main.cpp: also worked. Then: Looking at the CXXFLAGS: seemed to be very similar. I was confused. I also tried some different configure switches for kooka, for instance "--disable-final" - without success. One day later I tried "--disable-new-ldfalgs" (remembering that I also had problems with this switch a few month ago). Suddenly kooka was able to use the V350. So this bug is actually not a bug in libkscan, but it's a linker problem. Many thanks for the analysis! I am no expert regarding the linker. What I do not understand is why it failed only a few times for me. When it is somehow wrong linked, shouldn't it never work at all? I assume it is still present for our current product (openSUSE 11.1). I reassign it to the kdegraphics3-scan RPM package maintainers so that they can have a look whether or not the issue is really present for our current product. Found https://bugs.kde.org/show_bug.cgi?id=139932 which looks to be the same thing. Deleting ~/.kde/share/config/kookarc is a suggestion |