When I'm scanning a batch of documents, I switch my Scan Source between Flatbed and ADF. Doing this undesirably resets the Scan Area Size from my selection (Letter) to the default (Custom, which seems to be the largest possible scan area for my device). The ideal behavior is to retain the Scan Area Size despite changes to other settings. This is a minor annoyance, and worst case I just re-scan a document after correcting the size setting. I reported 22.12.1 because it's what I'm running, but my memory is that all past versions of Skanpage also have this quirk.
Just to confirm, this still seems to be the behavior on version 23.08.1 - the DPI is also reset on my setup.
Which scanner devices are you using? It probably boils down to the SANE backend resetting the options to defaults values when switching the scan source.
(In reply to Alexander Stippich from comment #2) > Which scanner devices are you using? It probably boils down to the SANE > backend resetting the options to defaults values when switching the scan > source. For me personally, an HP OfficeJet using the hpaio device type. And that may very well be true, that Skanpage is interacting more directly with the SANE backend. FWIW simple-scan doesn't seem to reset in the same way, but might not be directly interacting with SANE while changing individual preferences in the same way as Skanpage?
Mine is a Brother MFC-L2700DW. Like John noted, this doesn't happen with Simple Scan, even 5+ years ago when Simple Scan wasn't as Canonical-polished as it is now. If the SANE backend is resetting this, I think it would make sense for Skanpage to attempt to preserve the setting, as a feature to the user.
A possibly relevant merge request was started @ https://invent.kde.org/libraries/ksanecore/-/merge_requests/27
Git commit efb128943e17d092aaeba86306efc6b507493c87 by Alexander Stippich. Committed on 04/02/2025 at 17:52. Pushed by astippich into branch 'master'. re-evaluate page size option when options are reloaded sizes may change with Flatbed and ADF scanners also remember previous sizes and try to re-apply Related: bug 498906, bug 460262 M +5 -1 src/interface_p.cpp M +4 -0 src/interface_p.h M +105 -72 src/options/pagesizeoption.cpp M +4 -0 src/options/pagesizeoption.h https://invent.kde.org/libraries/ksanecore/-/commit/efb128943e17d092aaeba86306efc6b507493c87
*** Bug 501877 has been marked as a duplicate of this bug. ***