So, I attempted to do something — admittedly — a bit strange with gscan2pdf
, and the result wasn't what I expected. I'm filing it as a feature request, because maybe my expectations aren't the same as what most other users' would be. I'll leave it to you to decide whether the current behavior (in this instance) is a bug.
The situation:
gscan2pdf
for ADF scanning, Double-sided document, Facing sides, All sheets.gscan2pdf
auto-reconfigured for scanning Reverse sides, 4 sheets.gscan2pdf
would scan in the 3 sheets as pages 6, 4, and 2, filling in the lowest-numbered page gaps so that the end result is a continuous set of pages numbered 1-7.
gscan2pdf
scanned the 3 sheets as pages 8, 6, and 4, leaving me with no page numbered 2 and all of the back sides out of order in the final set. (Which was easy enough to correct, of course.)
So the question, in my mind, is whether anyone would really ever WANT the "actually happened" behavior, and/or whether there's any real-world situation where the current behavior is useful/expected? If not (I can't think of any), would it be reasonable for the application to instead match the "what I expected" behavior, on the assumption that it's almost certainly what any user who performs those same steps actually wants?
(Just brainstorming here...)
One possible alternative would be if the Reverse scanning mode, instead of setting a "# Pages" option, instead had a setting for "First page number". That would automatically populate to 8 instead of 4 (in the scenario above). Framing it that way would make the consequences of adjusting the value upwards or downwards unambiguously clear and obvious.
Because if you think about it, the indication that scanning is finished in the Reverse mode is really the same as in the Facing mode: The ADF runs out of pages. So in actuality, gscan2pdf
doesn't need to know the number of pages to be scanned, even in Reverse mode. It only needs to know where to start numbering them from.
In the Scan window, on the "Page options" tab, there is a checkbox "Extended page numbering", which should allow you to select the start page number. Does this achieve what you want?
You know, I knew that was there, and then I apparently forgot it was there.
So, while Extended page numbering is absolutely a useful workaround for this, I'm still wondering if it might make sense to link "#:" and "Start" in both directions, so that manually decrementing "#:" automatically adjusts "Start" the same way that manually decrementing "Start" automatically adjusts "#:"?
The user can still use Extended page numbering to set the starting page to 8, in the (IMHO unlikely) event that they actually want to scan 3 pages numbered 8, 6, and 4. But the (again, IMHO) more-common 6, 4, 2 case wouldn't require the Extended configs.
Partly because Adwaita's dark theme really makes certain controls, especially switches, blend in to the window background much more than they do in light mode.
The difference between these two is pretty severe, really.
But that's a GNOME problem, not a gscan2pdf problem.