SUMMARY I have a cannon Lide 220 scanner, until the 21.08 update skanlite worked like a charm but after this latest update today on arch linux skanlite is unstable. The preview resolution is set to 4800 not matter what I choose in the setting it resets to 4800 and scan process starts obviously very slowly. I even tried to manually correct the resolution value in the skanliterc but at the application shutdown the value always reverts to 4800 sane 1.0.32-3 libksane 21.08.0-1 Please let me know if you need any more details. Operating System: Arch Linux KDE Plasma Version: 5.22.4 KDE Frameworks Version: 5.84.0 Qt Version: 5.15.2 Kernel Version: 5.13.9-arch1-1 (64-bit) Graphics Platform: X11 Processors: 8 × Intel® Core™ i7-4790K CPU @ 4.00GHz Memory: 31.3 GiB of RAM Graphics Processor: NVIDIA GeForce GTX 750 Ti/PCIe/SSE2
Sorry about that, I'm the one to blame. Could you please post a screenshot of the resolution option in Skanlite with its expanded dropdown list?
Created attachment 140703 [details] Screenshot showing preview resolution Sure here I am attaching both preview resolution dropdown and the scan resolution dropdown. Be aware the UI language is in Hindi. If you want it in english please let me know.
Created attachment 140704 [details] Screenshot showing Scan resolution
Created attachment 140705 [details] screen capture showing the issue
Thanks, I think I know what's going on. Would you be able to test a patch for libksane? I'm away this weekend, but will post a fix next week then.
Sure, please also add the instruction on how to apply the patch, I will test it and report back.
A possibly relevant merge request was started @ https://invent.kde.org/graphics/libksane/-/merge_requests/42
Could you checkout the branch in the linked merge request and install libksane on your system?
The fix works I commented on the MR too. Thanks for the fix
Git commit f227f44e67c5385167c0371de885dad8ee5592bf by Alexander Stippich. Committed on 17/08/2021 at 17:53. Pushed by sars into branch 'master'. try every possible resolution value for preview and use the one with the minimum distance to the set preview resolution M +15 -7 src/ksanewidget_p.cpp https://invent.kde.org/graphics/libksane/commit/f227f44e67c5385167c0371de885dad8ee5592bf
Git commit ccb0c77e3226c09a4a00fff412dc55476daf5269 by Alexander Stippich. Committed on 19/08/2021 at 17:05. Pushed by astippich into branch 'release/21.08'. try every possible resolution value for preview and use the one with the minimum distance to the set preview resolution M +15 -7 src/ksanewidget_p.cpp https://invent.kde.org/graphics/libksane/commit/ccb0c77e3226c09a4a00fff412dc55476daf5269